chunk-2a002b6c.ed3c995d.js 6.7 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2a002b6c"],{1019:function(t,e,a){"use strict";a("42b6")},"129d":function(t,e,a){"use strict";a("a210")},"42b6":function(t,e,a){},"5d5f":function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("p",[t._v("中科院全刊")]),a("div",{staticClass:"content"},[a("div",{staticClass:"filter"},[a("el-form",{attrs:{size:"small","label-width":"70px",inline:!0,"label-position":"left"}},[a("el-form-item",{attrs:{label:""}},[a("el-input",{attrs:{clearable:"",placeholder:"请输入信息标题"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"}},[t._v("搜索")])],1),a("el-form-item",{staticStyle:{float:"right"}},[a("el-button",{attrs:{type:"primary"},on:{click:t.add}},[t._v("添加期刊")])],1)],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.list,height:"50vh",border:"","default-expand-all":"","row-key":"id"}},[a("el-table-column",{attrs:{prop:"img",label:"期刊封面"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("img",{attrs:{src:t.row.img,alt:"",height:"80",width:"60"}})]}}])}),a("el-table-column",{attrs:{prop:"name",width:"180",label:"期刊名称"}}),a("el-table-column",{attrs:{prop:"wxcode",label:"微信号"}}),a("el-table-column",{attrs:{prop:"subject_name",label:"主办单位"}}),a("el-table-column",{attrs:{prop:"desc",width:"300",label:"简介"}}),a("el-table-column",{attrs:{prop:"name",label:"中文名称"}}),a("el-table-column",{attrs:{prop:"ename",label:"外文名称"}}),a("el-table-column",{attrs:{prop:"languages",label:"语种"}}),a("el-table-column",{attrs:{prop:"editor",label:"主编"}}),a("el-table-column",{attrs:{prop:"corganizers",label:"主管单位"}}),a("el-table-column",{attrs:{prop:"publishingUnit",label:"办刊单位"}}),a("el-table-column",{attrs:{prop:"publishingTime",label:"创刊时间"}}),a("el-table-column",{attrs:{prop:"domestic",label:"国内刊号"}}),a("el-table-column",{attrs:{prop:"issn",label:"国际刊号"}}),a("el-table-column",{attrs:{prop:"website",label:"期刊官网"}}),a("el-table-column",{attrs:{prop:"editorialAddress",label:"编辑部地址"}}),a("el-table-column",{attrs:{prop:"zip",width:"150",label:"操作",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(e){t.dialogVisible=!0}}},[t._v("查看")]),a("el-button",{staticClass:"edit",attrs:{type:"text"},on:{click:function(a){return t.edit(e.row)}}},[t._v("编辑")]),a("el-button",{staticClass:"del",attrs:{type:"text"},on:{click:t.del}},[t._v("删除")])]}}])})],1),a("Page",{ref:"pageButton",attrs:{current:t.form.page,page_size:t.form.page_size,total:t.total},on:{pageChange:t.gopage}})],1),a("el-dialog",{attrs:{title:"发送通知消息","close-on-click-modal":!1,visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-form",{staticClass:"preview",attrs:{size:"small",inline:!1,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"标题"}},[t.edit?a("p",[t._v("关于集中使用期刊公众号的通知")]):a("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),a("el-form-item",{attrs:{label:"消息内容"}},[t.edit?a("p",[t._v("\n 关于集中使用期刊公众号的通知关于集中使用期刊公众号的通知\n 关于集中使用期刊公众号的通知关于集中使用期刊公众号的通知\n 关于集中使用期刊公众号的通知关于集中使用期刊公众号的通知\n ")]):a("el-input",{attrs:{type:"textarea"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),a("el-form-item",{attrs:{label:"文件"}},[t.edit?a("p",[a("el-link",{attrs:{type:"primary"}},[t._v("关于集中使用期刊公众号的通知.docx")]),a("br"),a("el-link",{attrs:{type:"primary"}},[t._v("关于集中使用期刊公众号的通知.docx")])],1):a("el-button",{staticClass:"upload_btn",attrs:{plain:"",type:"primary"}},[t._v("选择文件 "),a("input",{attrs:{type:"file"}})])],1),a("el-form-item",{attrs:{label:"接收人"}},[a("el-input",{staticClass:"input-with-select",attrs:{placeholder:"请输入内容"},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},slot:"append"})],1),a("el-tree",{attrs:{data:t.data,"show-checkbox":"","node-key":"id","default-expand-all":"",props:t.defaultProps}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){t.dialogVisible=!1}}},[t._v("确 定")])],1)],1)],1)},i=[],n=a("9973"),o={components:{Page:n["a"]},data:function(){return{form:{name:"",page:1,page_size:20},total:1,list:[{name:"2333"}],loading:!1,input:""}},methods:{gopage:function(t){t&&(this.form.page_size=t),this.form.page=this.$refs.pageButton.page,this.getData()},edit:function(t){this.$router.push({path:"/journal/journal/add",query:{id:t.id}})},add:function(){this.$router.push({path:"/journal/journal/add"})},detail:function(t){this.$router.push({path:"/company/detail",query:{id:t,page:this.form.page,page_size:this.form.page_size}})},getData:function(){var t=this,e=this.form;this.loading=!0,this.$api.getJournalList(e).then((function(e){t.list=e.data.data.list,t.total=e.data.data.total,t.loading=!1}))},del:function(t){var e=this;this.$confirm("确定删除吗","提示",{type:"warning"}).then((function(){e.$api.deleteEnterprise({id:t}).then((function(t){e.$message({message:"删除成功",type:"success"}),e.getData()}))}))}},created:function(){this.getData()}},s=o,r=(a("1019"),a("5d22")),p=Object(r["a"])(s,l,i,!1,null,null,null);e["default"]=p.exports},9973:function(t,e,a){"use strict";var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-pagination",{attrs:{background:"","page-size":t.page_size?t.page_size:20,"current-page":t.current,"page-sizes":[10,20,30,40,50,60,70,80,90,100],layout:"total,sizes,prev, pager, next",total:t.total},on:{"current-change":t.getData,"size-change":t.handleSizeChange}})},i=[],n={data:function(){return{page:1}},props:{total:"",page_size:"",current:""},methods:{getData:function(t){this.page=t,this.$emit("pageChange")},handleSizeChange:function(t){this.$emit("pageChange",t)}},created:function(){}},o=n,s=(a("129d"),a("5d22")),r=Object(s["a"])(o,l,i,!1,null,null,null);e["a"]=r.exports},a210:function(t,e,a){}}]);
  2. //# sourceMappingURL=chunk-2a002b6c.ed3c995d.js.map