1 |
- {"version":3,"sources":["webpack:///./src/components/Page.vue?61f7","webpack:///./src/components/Page.vue?5a44","webpack:///src/components/Page.vue","webpack:///./src/components/Page.vue?7e0d","webpack:///./src/components/Page.vue","webpack:///./src/views/journal/JournalUsers.vue?4c5d","webpack:///src/views/journal/JournalUsers.vue","webpack:///./src/views/journal/JournalUsers.vue?4643","webpack:///./src/views/journal/JournalUsers.vue","webpack:///./src/views/journal/JournalUsers.vue?8eed"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","page_size","current","total","on","getData","handleSizeChange","staticRenderFns","component","_m","staticClass","nativeOn","$event","type","indexOf","_k","keyCode","key","search","model","value","form","callback","$$v","$set","expression","slot","_l","item","index","name","_v","staticStyle","open","add","directives","rawName","list","scopedSlots","_u","fn","scope","edit","row","del","id","ref","page","gopage","dialogTitle","dialogVisible","form1","rules","save","imageChange","components","Page","fuEditor","data","collegeList","branchList","subjectList","journalList","activeStatus","loading","dialogVisible1","dialogTitle1","file","receiver_id","content","methods","handleClick","console","log","tab","event","push","upload","document","getElementById","files","FormData","append","$api","uploadFile","then","res","code","fileList","size","$refs","pageButton","parm","getSubjectList","getBranchList","getCollegeList","getJournalUsersList","$confirm","message","getJournalList","getJournalUsersInfo","receiver_ids","JSON","parse","validate","valid","fileurl","stringify","created"],"mappings":"kHAAA,W,kCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACE,MAAM,CAAC,WAAa,GAAG,YAAYN,EAAIO,UAAUP,EAAIO,UAAU,GAAG,eAAeP,EAAIQ,QAAQ,aAAa,CAAC,GAAG,GAAI,GAAI,GAAI,GAAG,GAAG,GAAG,GAAG,GAAG,KAAK,OAAS,gCAAgC,MAAQR,EAAIS,OAAOC,GAAG,CAAC,iBAAiBV,EAAIW,QAAQ,cAAcX,EAAIY,qBAC7WC,EAAkB,GCwBtB,GACE,KAD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SAyDA,cACMjD,KAAKsG,SAAS,QAAS,KAAM,CAC3BpF,KAAM,YACd,iBACQ,EAAR,+CACU,EAAV,UACYqF,QAAS,OACTrF,KAAM,YAER,EAAV,iBAII6B,KAtEJ,SAsEA,cACM/C,KAAKwF,KAAKgB,eAAe,IAAId,MAAK,SAAxC,GACQ,EAAR,2BAEM1F,KAAKwF,KAAKiB,oBAAoB,CAApC,wCACQ,EAAR,kBACQ,EAAR,6BACQ,EAAR,mBACQ,IAAR,sBACmC,iBAAhBC,IACTA,EAAeC,KAAKC,MAAMF,IAE5B,EAAR,oBACQ,EAAR,qBAGIhD,KAtFJ,WAsFA,WACM1D,KAAK+F,MAAM,SAASc,UAAS,SAAnC,GACQ,GAAIC,EAAO,CACT,IAAV,UACA,aACUb,EAAKc,QAAUJ,KAAKK,UAAU,EAAxC,UACUf,EAAKxB,YAAckC,KAAKK,UAAUf,EAAKxB,aACnCvB,EACF,EAAZ,2CACmC,GAAjByC,EAAI5B,KAAK6B,KACX,EAAhB,UACkB1E,KAAM,UACNqF,QAAS,UAGX,EAAhB,wBAEc,EAAd,UACc,EAAd,oBAGY,EAAZ,0CACmC,GAAjBZ,EAAI5B,KAAK6B,KACX,EAAhB,UACkB1E,KAAM,UACNqF,QAAS,UAGX,EAAhB,wBAEc,EAAd,UACc,EAAd,0BAOEU,QA/JF,WAgKIjH,KAAKU,YCxbgc,I,wBCQrcG,EAAY,eACd,EACAf,EACAc,GACA,EACA,KACA,WACA,MAIa,aAAAC,E,2CCnBf","file":"js/chunk-16f30b79.023558be.js","sourcesContent":["export * from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-pagination',{attrs:{\"background\":\"\",\"page-size\":_vm.page_size?_vm.page_size:20,\"current-page\":_vm.current,\"page-sizes\":[10,20, 30, 40, 50,60,70,80,90,100],\"layout\":\"total,sizes,prev, pager, next\",\"total\":_vm.total},on:{\"current-change\":_vm.getData,\"size-change\":_vm.handleSizeChange}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n @import '../style/style.scss';\r\n .el-pagination{\r\n li,button{\r\n border: 1px solid #CACACA !important;\r\n background-color: #fff !important;\r\n }\r\n .active{\r\n border:none !important;\r\n background: #3895FE !important;\r\n }\r\n }\r\n</style>\r\n<template>\r\n <el-pagination\r\n @current-change=\"getData\"\r\n background :page-size='page_size?page_size:20'\r\n @size-change=\"handleSizeChange\"\r\n :current-page=\"current\"\r\n :page-sizes=\"[10,20, 30, 40, 50,60,70,80,90,100]\"\r\n layout=\"total,sizes,prev, pager, next\"\r\n :total=\"total\">\r\n </el-pagination>\r\n</template>\r\n<script>\r\nexport default {\r\n data(){\r\n return{\r\n page:1\r\n }\r\n },\r\n props: {\r\n total:'',\r\n page_size:'',\r\n current:''\r\n },\r\n methods:{\r\n getData(type){\r\n // if(type == 1){\r\n // this.data.pageNumber=this.data.pageNumber-1\r\n // }else if(type == 2){\r\n // this.data.pageNumber=this.data.pageNumber+1\r\n // }\r\n this.page=type\r\n this.$emit('pageChange')\r\n },\r\n handleSizeChange(val){\r\n this.$emit('pageChange',val)\r\n }\r\n },\r\n created(){\r\n }\r\n}\r\n</script>","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Page.vue?vue&type=template&id=df237d3a&\"\nimport script from \"./Page.vue?vue&type=script&lang=js&\"\nexport * from \"./Page.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Page.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_vm._m(0),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"filter\"},[_c('el-form',{attrs:{\"size\":\"small\",\"label-width\":\"70px\",\"inline\":true,\"label-position\":\"left\"}},[_c('el-form-item',{attrs:{\"label\":\"\"}},[_c('el-input',{staticClass:\"input-with-select\",attrs:{\"clearable\":\"\",\"placeholder\":\"请输入标题\"},on:{\"clear\":_vm.getData},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.search($event)}},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}},[_c('el-select',{attrs:{\"slot\":\"prepend\",\"placeholder\":\"请选择\"},slot:\"prepend\",model:{value:(_vm.form.type),callback:function ($$v) {_vm.$set(_vm.form, \"type\", $$v)},expression:\"form.type\"}},[_c('el-option',{attrs:{\"label\":\"姓名\",\"value\":\"realname\"}}),_c('el-option',{attrs:{\"label\":\"账号\",\"value\":\"name\"}}),_c('el-option',{attrs:{\"label\":\"电话\",\"value\":\"phone\"}})],1)],1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"placeholder\":\"专业领域\"},model:{value:(_vm.form.sex),callback:function ($$v) {_vm.$set(_vm.form, \"sex\", $$v)},expression:\"form.sex\"}},_vm._l((_vm.subjectList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.name,\"value\":item.name}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"placeholder\":\"所属单位\"},model:{value:(_vm.form.unit),callback:function ($$v) {_vm.$set(_vm.form, \"unit\", $$v)},expression:\"form.unit\"}},_vm._l((_vm.branchList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.name,\"value\":item.name}})}),1)],1),_c('el-form-item',[_c('el-select',{attrs:{\"placeholder\":\"所属院所\"},model:{value:(_vm.form.college),callback:function ($$v) {_vm.$set(_vm.form, \"college\", $$v)},expression:\"form.college\"}},_vm._l((_vm.collegeList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.name,\"value\":item.name}})}),1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.search}},[_vm._v(\"搜索\")])],1),_c('el-form-item',{staticStyle:{\"float\":\"right\"}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.open=true}}},[_vm._v(\"批量导入\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.add}},[_vm._v(\"新增账号\")])],1)],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"table\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.list,\"height\":\"50vh\",\"border\":\"\",\"default-expand-all\":\"\",\"row-key\":\"id\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"账号\"}}),_c('el-table-column',{attrs:{\"prop\":\"journal\",\"label\":\"期刊名称\"}}),_c('el-table-column',{attrs:{\"prop\":\"unit\",\"label\":\"主管单位\"}}),_c('el-table-column',{attrs:{\"prop\":\"college\",\"label\":\"主办单位\"}}),_c('el-table-column',{attrs:{\"prop\":\"realname\",\"label\":\"负责人\"}}),_c('el-table-column',{attrs:{\"prop\":\"phone\",\"label\":\"负责人手机\"}}),_c('el-table-column',{attrs:{\"prop\":\"email\",\"label\":\"负责人邮箱\"}}),_c('el-table-column',{attrs:{\"prop\":\"ctime\",\"label\":\"添加时间\"}}),_c('el-table-column',{attrs:{\"prop\":\"zip\",\"width\":\"150\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{staticClass:\"edit\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.edit(scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"del\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.del(scope.row.id)}}},[_vm._v(\"删除\")])]}}])})],1),_c('Page',{ref:\"pageButton\",attrs:{\"current\":_vm.form.page,\"page_size\":_vm.form.page_size,\"total\":_vm.total},on:{\"pageChange\":_vm.gopage}})],1),_c('el-dialog',{staticClass:\"fu-dialog\",attrs:{\"title\":_vm.dialogTitle,\"close-on-click-modal\":false,\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{ref:\"form1\",staticClass:\"preview\",attrs:{\"size\":\"small\",\"inline\":false,\"label-width\":\"80px\",\"model\":_vm.form1,\"rules\":_vm.rules}},[_c('el-row',[_c('el-col',{attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"姓名\",\"prop\":\"realname\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入姓名\",\"maxlength\":\"50\",\"show-word-limit\":\"\"},model:{value:(_vm.form1.realname),callback:function ($$v) {_vm.$set(_vm.form1, \"realname\", $$v)},expression:\"form1.realname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"性别\",\"prop\":\"sex\"}},[_c('el-select',{model:{value:(_vm.form1.sex),callback:function ($$v) {_vm.$set(_vm.form1, \"sex\", $$v)},expression:\"form1.sex\"}},[_c('el-option',{attrs:{\"label\":\"男\",\"value\":\"男\"}}),_c('el-option',{attrs:{\"label\":\"女\",\"value\":\"女\"}})],1)],1)],1),_c('el-col',{attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"账号\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入账号\",\"maxlength\":\"50\",\"show-word-limit\":\"\"},model:{value:(_vm.form1.name),callback:function ($$v) {_vm.$set(_vm.form1, \"name\", $$v)},expression:\"form1.name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"密码\",\"prop\":\"password\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"请输入密码\",\"maxlength\":\"50\",\"show-word-limit\":\"\"},model:{value:(_vm.form1.password),callback:function ($$v) {_vm.$set(_vm.form1, \"password\", $$v)},expression:\"form1.password\"}})],1)],1),_c('el-col',{attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"手机号\",\"prop\":\"phone\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入手机号\",\"maxlength\":\"50\",\"show-word-limit\":\"\"},model:{value:(_vm.form1.phone),callback:function ($$v) {_vm.$set(_vm.form1, \"phone\", $$v)},expression:\"form1.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"邮箱\",\"prop\":\"email\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入标题\",\"maxlength\":\"50\",\"show-word-limit\":\"\"},model:{value:(_vm.form1.email),callback:function ($$v) {_vm.$set(_vm.form1, \"email\", $$v)},expression:\"form1.email\"}})],1)],1),_c('el-col',{attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"专业领域\",\"prop\":\"subject\"}},[_c('el-select',{model:{value:(_vm.form1.subject),callback:function ($$v) {_vm.$set(_vm.form1, \"subject\", $$v)},expression:\"form1.subject\"}},_vm._l((_vm.subjectList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.name,\"value\":item.name}})}),1)],1),_c('el-form-item',{attrs:{\"label\":\"所属单位\",\"prop\":\"unit\"}},[_c('el-select',{model:{value:(_vm.form1.unit),callback:function ($$v) {_vm.$set(_vm.form1, \"unit\", $$v)},expression:\"form1.unit\"}},_vm._l((_vm.branchList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.name,\"value\":item.name}})}),1)],1)],1),_c('el-col',{attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"所属院所\",\"prop\":\"college\"}},[_c('el-select',{model:{value:(_vm.form1.college),callback:function ($$v) {_vm.$set(_vm.form1, \"college\", $$v)},expression:\"form1.college\"}},_vm._l((_vm.collegeList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.name,\"value\":item.name}})}),1)],1)],1),_c('el-col',{attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"所属期刊\",\"prop\":\"journal\"}},[_c('el-select',{model:{value:(_vm.form1.journal),callback:function ($$v) {_vm.$set(_vm.form1, \"journal\", $$v)},expression:\"form1.journal\"}},_vm._l((_vm.journalList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.name,\"value\":item.name}})}),1)],1)],1)],1)],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){_vm.dialogVisible=false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"确 定\")])],1)],1),_c('el-dialog',{attrs:{\"title\":\"批量导入\",\"width\":\"500px\",\"close-on-click-modal\":false,\"visible\":_vm.open},on:{\"update:visible\":function($event){_vm.open=$event}}},[_c('el-upload',{staticClass:\"upload-demo\",staticStyle:{\"text-align\":\"center\"},attrs:{\"drag\":\"\",\"on-success\":_vm.imageChange,\"action\":\"/api/admin/uploadfile\"}},[_c('i',{staticClass:\"el-icon-upload\"}),_c('div',{staticClass:\"el-upload__text\"},[_vm._v(\"将文件拖到此处,或\"),_c('em',[_vm._v(\"点击上传\")])])]),_c('div',{staticClass:\"el-upload__tip\",staticStyle:{\"text-align\":\"left\",\"padding-left\":\"45px\"}},[_c('a',{attrs:{\"href\":\"\"}},[_vm._v(\"点击下载模板\")])]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){_vm.open=false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"确 定\")])],1)],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',[_vm._v(\"专家账号>\")]),_vm._v(\"编辑部账号\")])}]\n\nexport { render, staticRenderFns }","<style lang=\"scss\" scoped>\r\n.preview {\r\n .el-form-item {\r\n margin-bottom: 15px;\r\n }\r\n label,\r\n p {\r\n line-height: 25px !important;\r\n }\r\n}\r\n.el-cascader {\r\n width: 100%;\r\n}\r\na {\r\n text-decoration: none;\r\n color: #409eff;\r\n cursor: pointer;\r\n}\r\n// 右边\r\n.item-main {\r\n // margin:34px;\r\n // height:600px;\r\n // background: #FFFFFF;\r\n border: 1px solid #dddddd;\r\n box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.13);\r\n border-radius: 20px;\r\n .el-form.over_y {\r\n max-height: calc(100vh - 340px);\r\n }\r\n /deep/.el-form-item__label {\r\n float: none;\r\n }\r\n}\r\n// label样式\r\n.edit_label {\r\n /deep/.el-input__inner {\r\n background: #f5faff;\r\n border: 0px;\r\n padding: 0px;\r\n }\r\n}\r\n/deep/.opicon {\r\n font-weight: bold;\r\n padding: 5px;\r\n color: #3895fe;\r\n}\r\n.tpl_title {\r\n font-size: 18px;\r\n margin: 20px 0;\r\n}\r\n.tpl_form {\r\n margin: 20px;\r\n border: 1px solid #ccc;\r\n border-radius: 20px;\r\n /deep/.el-form-item {\r\n background: none;\r\n }\r\n /deep/.el-form-item__content {\r\n width: 100%;\r\n }\r\n}\r\n.survey_logo {\r\n position: relative;\r\n top: 15px;\r\n left: 20px;\r\n}\r\n.result_dialog .el-dialog {\r\n width: 40%;\r\n margin-top: 20vh !important;\r\n}\r\n.result-item {\r\n height: 35px;\r\n .label {\r\n font-weight: 600;\r\n }\r\n}\r\n/deep/.w-e-text {\r\n min-height: 500px;\r\n}\r\n.w-e-text-container {\r\n height: 500px;\r\n}\r\n.fu-dialog {\r\n .el-dialog {\r\n width: 60%;\r\n }\r\n}\r\n/deep/.el-input-group__prepend{\r\n width: 75px;\r\n}\r\n</style>\r\n<template>\r\n <section>\r\n <p><span>专家账号></span>编辑部账号</p>\r\n <div class=\"content\">\r\n <div class=\"filter\">\r\n <el-form\r\n size=\"small\"\r\n label-width=\"70px\"\r\n :inline=\"true\"\r\n label-position=\"left\"\r\n >\r\n <el-form-item label=\"\">\r\n <el-input\r\n clearable\r\n placeholder=\"请输入标题\"\r\n v-model=\"form.name\"\r\n @clear=\"getData\"\r\n @keyup.enter.native=\"search\"\r\n class=\"input-with-select\"\r\n >\r\n <el-select v-model=\"form.type\" slot=\"prepend\" placeholder=\"请选择\">\r\n <el-option label=\"姓名\" value=\"realname\"></el-option>\r\n <el-option label=\"账号\" value=\"name\"></el-option>\r\n <el-option label=\"电话\" value=\"phone\"></el-option>\r\n </el-select>\r\n </el-input>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-select v-model=\"form.sex\" placeholder=\"专业领域\">\r\n <el-option v-for=\"(item,index) in subjectList\" :key=\"index\" :label=\"item.name\" :value=\"item.name\"></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-select v-model=\"form.unit\" placeholder=\"所属单位\">\r\n <el-option v-for=\"(item,index) in branchList\" :key=\"index\" :label=\"item.name\" :value=\"item.name\"></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-select v-model=\"form.college\" placeholder=\"所属院所\">\r\n <el-option v-for=\"(item,index) in collegeList\" :key=\"index\" :label=\"item.name\" :value=\"item.name\"></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"search\">搜索</el-button>\r\n </el-form-item>\r\n <el-form-item style=\"float: right\">\r\n <el-button @click=\"open=true\" type=\"primary\">批量导入</el-button>\r\n <el-button @click=\"add\" type=\"primary\">新增账号</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n <el-table\r\n class=\"table\"\r\n :data=\"list\"\r\n height=\"50vh\"\r\n border\r\n v-loading=\"loading\"\r\n default-expand-all\r\n row-key=\"id\"\r\n style=\"width: 100%\"\r\n >\r\n <el-table-column prop=\"name\" label=\"账号\"> </el-table-column>\r\n <el-table-column prop=\"journal\" label=\"期刊名称\"> </el-table-column>\r\n <el-table-column prop=\"unit\" label=\"主管单位\"> </el-table-column>\r\n <el-table-column prop=\"college\" label=\"主办单位\"> </el-table-column>\r\n <el-table-column prop=\"realname\" label=\"负责人\"> </el-table-column>\r\n <el-table-column prop=\"phone\" label=\"负责人手机\"> </el-table-column>\r\n <el-table-column prop=\"email\" label=\"负责人邮箱\"> </el-table-column>\r\n <el-table-column prop=\"ctime\" label=\"添加时间\"></el-table-column>\r\n <el-table-column prop=\"zip\" width=\"150\" label=\"操作\">\r\n <template slot-scope=\"scope\">\r\n <el-button class=\"edit\" type=\"text\" @click=\"edit(scope.row)\"\r\n >编辑</el-button\r\n >\r\n <el-button class=\"del\" @click=\"del(scope.row.id)\" type=\"text\"\r\n >删除</el-button\r\n >\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <Page\r\n ref=\"pageButton\"\r\n :current=\"form.page\"\r\n :page_size=\"form.page_size\"\r\n :total=\"total\"\r\n @pageChange=\"gopage\"\r\n />\r\n </div>\r\n <!-- 新增/编辑专家账号 -->\r\n <el-dialog\r\n class='fu-dialog'\r\n :title=\"dialogTitle\"\r\n :close-on-click-modal=\"false\"\r\n :visible.sync=\"dialogVisible\"\r\n >\r\n <el-form\r\n size=\"small\"\r\n class=\"preview\"\r\n :inline=\"false\"\r\n label-width=\"80px\"\r\n :model=\"form1\"\r\n ref=\"form1\"\r\n :rules=\"rules\"\r\n >\r\n <el-row>\r\n <el-col :span=\"12\">\r\n <el-form-item label=\"姓名\" prop=\"realname\">\r\n <el-input v-model=\"form1.realname\" placeholder=\"请输入姓名\" maxlength=\"50\" show-word-limit></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"性别\" prop=\"sex\">\r\n <!-- <el-input v-model=\"form1.sex\" placeholder=\"请选择性别\" maxlength=\"50\" show-word-limit></el-input> -->\r\n <el-select v-model=\"form1.sex\">\r\n <el-option label=\"男\" value=\"男\"></el-option>\r\n <el-option label=\"女\" value=\"女\"></el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"12\">\r\n <el-form-item label=\"账号\" prop=\"name\">\r\n <el-input v-model=\"form1.name\" placeholder=\"请输入账号\" maxlength=\"50\" show-word-limit></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"密码\" prop=\"password\">\r\n <el-input type=\"password\" v-model=\"form1.password\" placeholder=\"请输入密码\" maxlength=\"50\" show-word-limit></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"12\">\r\n <el-form-item label=\"手机号\" prop=\"phone\">\r\n <el-input v-model=\"form1.phone\" placeholder=\"请输入手机号\" maxlength=\"50\" show-word-limit></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"邮箱\" prop=\"email\">\r\n <el-input v-model=\"form1.email\" placeholder=\"请输入标题\" maxlength=\"50\" show-word-limit></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"12\">\r\n <el-form-item label=\"专业领域\" prop=\"subject\">\r\n <el-select v-model=\"form1.subject\">\r\n <el-option v-for=\"(item,index) in subjectList\" :key=\"index\" :label=\"item.name\" :value=\"item.name\"></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"所属单位\" prop=\"unit\">\r\n <el-select v-model=\"form1.unit\">\r\n <el-option v-for=\"(item,index) in branchList\" :key=\"index\" :label=\"item.name\" :value=\"item.name\"></el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"12\">\r\n <el-form-item label=\"所属院所\" prop=\"college\">\r\n <el-select v-model=\"form1.college\">\r\n <el-option v-for=\"(item,index) in collegeList\" :key=\"index\" :label=\"item.name\" :value=\"item.name\"></el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"12\">\r\n <el-form-item label=\"所属期刊\" prop=\"journal\">\r\n <el-select v-model=\"form1.journal\">\r\n <el-option v-for=\"(item,index) in journalList\" :key=\"index\" :label=\"item.name\" :value=\"item.name\"></el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n </el-form>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button size=\"small\" type=\"primary\" plain @click=\"dialogVisible=false\">取 消</el-button>\r\n <el-button size=\"small\" type=\"primary\" @click=\"save\">确 定</el-button>\r\n </span>\r\n </el-dialog>\r\n <el-dialog\r\n title=\"批量导入\" width=\"500px\"\r\n :close-on-click-modal=\"false\"\r\n :visible.sync=\"open\">\r\n <el-upload style=\"text-align:center\"\r\n class=\"upload-demo\"\r\n drag\r\n :on-success=\"imageChange\"\r\n action=\"/api/admin/uploadfile\" >\r\n <i class=\"el-icon-upload\"></i>\r\n <div class=\"el-upload__text\">将文件拖到此处,或<em>点击上传</em></div>\r\n </el-upload>\r\n <div class=\"el-upload__tip\" style=\"text-align:left;padding-left:45px;\"><a href=\"\">点击下载模板</a></div>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button size=\"small\" type=\"primary\" plain @click=\"open=false\">取 消</el-button>\r\n <el-button size=\"small\" type=\"primary\" @click=\"save\">确 定</el-button>\r\n </span>\r\n </el-dialog>\r\n </section>\r\n</template>\r\n<script>\r\nimport Page from \"../../components/Page\";\r\nimport fuEditor from \"../../components/fuEditor\";\r\nexport default {\r\n components: {\r\n Page,\r\n fuEditor,\r\n },\r\n data() {\r\n return {\r\n collegeList:[],\r\n branchList:[],\r\n subjectList:[],\r\n journalList:[],\r\n type:\"realname\",\r\n activeStatus:\"1\",\r\n form: { name: \"\",type:\"realname\",page: 1, page_size: 20 },\r\n form1:{},\r\n total: 1,\r\n list: [],\r\n loading: false,\r\n dialogVisible: false,\r\n dialogVisible1: false,\r\n dialogTitle: \"\",\r\n dialogTitle1: \"\",\r\n open:false,\r\n file:[],\r\n rules: {\r\n name: [{ required: true, message: \"请输入标题\", trigger: \"blur\" }],\r\n receiver_id: [\r\n { required: true, message: \"请选择接收人\", trigger: \"change\" },\r\n ],\r\n content: [\r\n { required: true, message: \"请输入消息内容\", trigger: \"change\" },\r\n ],\r\n },\r\n };\r\n },\r\n methods: {\r\n handleClick(tab, event) {\r\n console.log(tab, event);\r\n },\r\n imageChange(file){\r\n console.log(file)\r\n this.file.push(file.data)\r\n },\r\n upload(type) {\r\n var file = document.getElementById(type).files;\r\n var data = new FormData();\r\n data.append(\"file\", file[0]);\r\n this.$api.uploadFile(data).then((res) => {\r\n if (res.data.code == 0) {\r\n this.$set(this.form1, type, res.data.data.url);\r\n this.$set(this.form1, \"filename\", res.data.data.name);\r\n this.$message({ message: \"上传成功!\", type: \"success\" });\r\n } else {\r\n this.$message.error(res.data.message);\r\n }\r\n });\r\n },\r\n search() {\r\n let parm = this.form;\r\n this.getData();\r\n },\r\n add() {\r\n this.form1 = {};\r\n this.fileList = [];\r\n this.dialogVisible = true;\r\n this.dialogTitle = \"新增专家账号\";\r\n },\r\n gopage(size) {\r\n if (size) {\r\n this.form.page_size = size;\r\n }\r\n this.form.page = this.$refs.pageButton.page;\r\n this.getData();\r\n },\r\n getData() {\r\n var parm = this.form;\r\n this.loading = true;\r\n this.$api.getSubjectList({}).then((res)=>{\r\n this.subjectList = res.data.data;\r\n })\r\n this.$api.getBranchList({}).then((res)=>{\r\n this.branchList = res.data.data;\r\n })\r\n this.$api.getCollegeList({}).then((res)=>{\r\n this.collegeList = res.data.data;\r\n })\r\n this.$api.getJournalUsersList(parm).then((res)=>{\r\n this.list = res.data.data.list;\r\n this.total = res.data.data.total;\r\n this.loading = false;\r\n })\r\n },\r\n del(id) {\r\n this.$confirm(\"确定删除吗\", \"提示\", {\r\n type: \"warning\",\r\n }).then(() => {\r\n this.$api.delJournalUsers({ id: id }).then((res) => {\r\n this.$message({\r\n message: \"删除成功\",\r\n type: \"success\",\r\n });\r\n this.getData();\r\n });\r\n });\r\n },\r\n edit(row) {\r\n this.$api.getJournalList({}).then((res)=>{\r\n this.journalList = res.data.data;\r\n })\r\n this.$api.getJournalUsersInfo({ id: row.id, type: \"edit\" }).then((res) => {\r\n this.form1 = res.data.data;\r\n this.fileList = res.data.data.fileurl;\r\n this.dialogTitle = \"编辑账号\";\r\n let receiver_ids = this.form1.receiver_id;\r\n if (typeof receiver_ids == \"string\") {\r\n receiver_ids = JSON.parse(receiver_ids);\r\n }\r\n this.form1.receiver_id = receiver_ids;\r\n this.dialogVisible = true;\r\n });\r\n },\r\n save() {\r\n this.$refs[\"form1\"].validate((valid) => {\r\n if (valid) {\r\n let parm = this.form1;\r\n let id = this.form1.id;\r\n parm.fileurl = JSON.stringify(this.fileList);\r\n parm.receiver_id = JSON.stringify(parm.receiver_id);\r\n if (id) {\r\n this.$api.editJournalUsers(parm).then((res) => {\r\n if (res.data.code == 0) {\r\n this.$message({\r\n type: \"success\",\r\n message: \"保存成功!\",\r\n });\r\n } else {\r\n this.$message.error(\"保存失败!\");\r\n }\r\n this.getData();\r\n this.dialogVisible = false;\r\n });\r\n } else {\r\n this.$api.addJournalUsers(parm).then((res) => {\r\n if (res.data.code == 0) {\r\n this.$message({\r\n type: \"success\",\r\n message: \"保存成功!\",\r\n });\r\n } else {\r\n this.$message.error(\"保存失败!\");\r\n }\r\n this.getData();\r\n this.dialogVisible = false;\r\n });\r\n }\r\n }\r\n });\r\n },\r\n },\r\n created() {\r\n this.getData();\r\n },\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./JournalUsers.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./JournalUsers.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./JournalUsers.vue?vue&type=template&id=ec2326d8&scoped=true&\"\nimport script from \"./JournalUsers.vue?vue&type=script&lang=js&\"\nexport * from \"./JournalUsers.vue?vue&type=script&lang=js&\"\nimport style0 from \"./JournalUsers.vue?vue&type=style&index=0&id=ec2326d8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ec2326d8\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./JournalUsers.vue?vue&type=style&index=0&id=ec2326d8&lang=scss&scoped=true&\""],"sourceRoot":""}
|