chunk-12e238a6.b30484cd.js.map 38 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/Home.vue?c34a","webpack:///./node_modules/_@babel_runtime@7.13.10@@babel/runtime/helpers/esm/defineProperty.js","webpack:///./src/views/Home.vue?eca6","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?aa82","webpack:///./src/views/Home.vue","webpack:///./src/assets/logo.png"],"names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","staticStyle","_s","info","realname","slot","nativeOn","$event","dialogVisible","role","getUserInfo","_e","on","logout","$route","path","split","_l","$router","options","item","index","show","isLeaf","class","icon","name","ref","form","rules","model","callback","$$v","$set","expression","changePwd","dialogVisible1","form1","changeUserInfo","staticRenderFns","data","collegeList","branchList","journalList","methods","param","password","repassword","$message","error","$refs","validate","valid","res","code","getDate","now","$api","then","localStorage","clear","getData","getJournalList","getBranchList","getCollegeList","getAccountInfo","setItem","id","created","component","module","exports"],"mappings":"kHAAA,W,6DCAe,SAASA,EAAgBC,EAAKC,EAAKC,GAYhD,OAXID,KAAOD,EACTG,OAAOC,eAAeJ,EAAKC,EAAK,CAC9BC,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZP,EAAIC,GAAOC,EAGNF,EAZT,mC,yCCAA,IAAIQ,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,eAAe,CAACA,EAAG,YAAY,CAACA,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,OAAOC,MAAM,CAAC,IAAM,EAAQ,QAAsB,IAAM,MAAMH,EAAG,MAAM,CAACE,YAAY,aAAa,CAACN,EAAIQ,GAAG,qBAAqBJ,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,IAAI,CAACJ,EAAIQ,GAAG,UAAUJ,EAAG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ACA,UACA,2DACA,oBACA,uBAGA,qDACA,oBACA,wBAIIhB,eAhCJ,WAgCA,WACA,aACM7C,KAAKyD,MAAM,SAASC,UAAS,SAAnC,GACYC,IACZ,UACA,6CACA,gBACA,2BACA,qBAEA,oCAIA,uCACA,gBACA,2BACA,qBAEA,yCAOIG,QA1DJ,WA2DM9D,KAAK+D,KACX,oEAEI3C,OA9DJ,WA8DA,WACMpB,KAAKgE,KAAK5C,SAAS6C,MAAK,SAA9B,GAEQC,aAAaC,QACb,EAAR,6BAGIC,QArEJ,WAqEA,WACMpE,KAAKgE,KAAKK,eAAe,IAAIJ,MAAK,SAAxC,GACQ,EAAR,2BAEMjE,KAAKgE,KAAKM,cAAc,IAAIL,MAAK,SAAvC,GACQ,EAAR,0BAEMjE,KAAKgE,KAAKO,eAAe,IAAIN,MAAK,SAAxC,GACQ,EAAR,2BAEMjE,KAAKgE,KAAKQ,iBAAiBP,MAAK,SAAtC,GACaL,EAAIC,OACP,EAAV,iBACUK,aAAaO,QAAQ,MAAOb,EAAIb,KAAKA,KAAK2B,IAC1C,EAAV,4BAMEC,QArHF,WAsHI3E,KAAKoE,YC1bya,I,wBCQ9aQ,EAAY,eACd,EACA9E,EACAgD,GACA,EACA,KACA,KACA,MAIa,aAAA8B,E,8BCnBfC,EAAOC,QAAU,IAA0B","file":"js/chunk-12e238a6.b30484cd.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!./Home.vue?vue&type=style&index=0&lang=scss&\"","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-container',[_c('el-header',[_c('div',{staticClass:\"header\"},[_c('img',{staticClass:\"logo\",attrs:{\"src\":require(\"../assets/logo.png\"),\"alt\":\"\"}}),_c('div',{staticClass:\"siteTitle\"},[_vm._v(\"中国科学院四封审读工作平台\")])]),_c('div',{staticClass:\"nav\"},[_c('a',[_vm._v(\"审读管理\")]),_c('div',{staticClass:\"setting\",staticStyle:{\"cursor\":\"pointer\"}},[_c('i',{staticClass:\"el-icon-message-solid\"}),_c('el-dropdown',[_c('span',{staticClass:\"el-dropdown-link\"},[_vm._v(\"\\n \"+_vm._s(_vm.info.realname)),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{nativeOn:{\"click\":function($event){_vm.dialogVisible = true}}},[_vm._v(\"修改密码\")]),(_vm.role == 1 || _vm.role == 2 || _vm.role == 3)?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.getUserInfo(_vm.info)}}},[_vm._v(\"修改个人信息\")]):_vm._e()],1)],1),_c('span',{staticClass:\"logout\",on:{\"click\":_vm.logout}},[_vm._v(\"退出登陆\")])],1)])]),_c('el-container',{staticClass:\"main\"},[_c('el-aside',{staticClass:\"left-aside\",attrs:{\"width\":\"210px\"}},[_c('el-menu',{staticClass:\"left-menue\",attrs:{\"background-color\":\"#ffffff\",\"text-color\":\"#666666\",\"unique-opened\":false,\"default-active\":'/' + _vm.$route.path.split('/')[1],\"router\":\"\",\"active-text-color\":\"#3895FE\"}},[_vm._l((_vm.$router.options.routes),function(item,index){return [(item.show && item.isLeaf && item.role == _vm.info.role)?_c('el-menu-item',{key:index,attrs:{\"index\":item.path}},[_c('i',{class:item.icon}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(_vm._s(item.name))])]):_vm._e()]})],2)],1),_c('el-container',[_c('el-main',[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)],1)],1),_c('el-dialog',{staticClass:\"fu-dialog\",attrs:{\"title\":\"修改密码\",\"close-on-click-modal\":false,\"visible\":_vm.dialogVisible,\"width\":\"500px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{ref:\"form\",attrs:{\"size\":\"small\",\"inline\":false,\"label-width\":\"80px\",\"model\":_vm.form,\"rules\":_vm.rules,\"center\":\"\"}},[_c('el-form-item',{attrs:{\"label\":\"新密码\",\"prop\":\"password\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入密码\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"确认密码\",\"prop\":\"repassword\"}},[_c('el-input',{attrs:{\"placeholder\":\"请再次输入密码\"},model:{value:(_vm.form.repassword),callback:function ($$v) {_vm.$set(_vm.form, \"repassword\", $$v)},expression:\"form.repassword\"}})],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.changePwd}},[_vm._v(\"确 定\")])],1)],1),(_vm.role == 1)?_c('el-dialog',{staticClass:\"fu-dialog\",attrs:{\"title\":\"修改账号信息\",\"close-on-click-modal\":false,\"visible\":_vm.dialogVisible1,\"width\":\"800px\"},on:{\"update:visible\":function($event){_vm.dialogVisible1=$event}}},[_c('el-form',{ref:\"form1\",staticClass:\"preview\",attrs:{\"inline\":true,\"label-width\":\"120px\",\"model\":_vm.form1,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"label\":\"账号\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入账号\",\"show-word-limit\":\"\",\"disabled\":\"\"},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\":\"journal\"}},[_c('el-select',{attrs:{\"disabled\":\"\"},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),_c('el-form-item',{attrs:{\"label\":\"主管单位\"}},[_c('el-select',{attrs:{\"filterable\":\"\"},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),_c('el-form-item',{attrs:{\"label\":\"主办单位\"}},[_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),_c('el-form-item',{attrs:{\"label\":\"负责人\",\"prop\":\"realname\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入负责人\",\"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\":\"负责人手机号\",\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入负责人\",\"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\":\"负责人邮箱\",\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入负责人\",\"show-word-limit\":\"\"},model:{value:(_vm.form1.email),callback:function ($$v) {_vm.$set(_vm.form1, \"email\", $$v)},expression:\"form1.email\"}})],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.dialogVisible1 = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.changeUserInfo}},[_vm._v(\"确 定\")])],1)],1):_c('el-dialog',{staticClass:\"fu-dialog\",attrs:{\"title\":\"修改账号信息\",\"close-on-click-modal\":false,\"visible\":_vm.dialogVisible1},on:{\"update:visible\":function($event){_vm.dialogVisible1=$event}}},[_c('el-form',{ref:\"form1\",staticClass:\"preview\",attrs:{\"size\":\"small\",\"inline\":true,\"label-width\":\"80px\",\"model\":_vm.form1,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"label\":\"账号\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入账号\",\"disabled\":\"\"},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\":\"realname\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入姓名\"},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),_c('el-form-item',{attrs:{\"label\":\"职称\",\"prop\":\"title\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入职称\"},model:{value:(_vm.form1.title),callback:function ($$v) {_vm.$set(_vm.form1, \"title\", $$v)},expression:\"form1.title\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机号\",\"prop\":\"phone\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入手机号\"},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\":\"请输入邮箱\"},model:{value:(_vm.form1.email),callback:function ($$v) {_vm.$set(_vm.form1, \"email\", $$v)},expression:\"form1.email\"}})],1),_c('el-form-item',{attrs:{\"label\":\"单位\",\"prop\":\"college\"}},[_c('el-select',{attrs:{\"filterable\":\"\"},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),_c('el-form-item',{attrs:{\"label\":\"所属期刊\",\"prop\":\"journal\"}},[_c('el-select',{attrs:{\"filterable\":\"\"},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),_c('el-form-item',{attrs:{\"label\":\"职务\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入职务\"},model:{value:(_vm.form1.job),callback:function ($$v) {_vm.$set(_vm.form1, \"job\", $$v)},expression:\"form1.job\"}})],1),_c('el-form-item',{attrs:{\"label\":\"地址\"}},[_c('el-input',{staticStyle:{\"width\":\"514px\"},attrs:{\"placeholder\":\"请输入地址\"},model:{value:(_vm.form1.address),callback:function ($$v) {_vm.$set(_vm.form1, \"address\", $$v)},expression:\"form1.address\"}})],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.dialogVisible1 = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.changeUserInfo}},[_vm._v(\"确 定\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n@import \"../style/home.scss\";\r\n.siteTitle {\r\n width: 300px;\r\n margin: 0 auto;\r\n}\r\n.preview{\r\n\t// width:800px;\r\n .el-select{\r\n width: 202px;\r\n }\r\n .el-input{\r\n width:202px;\r\n }\r\n /deep/.el-form--inline .el-form-item__content{\r\n width: 202px!important;\r\n }\r\n }\r\n</style>\r\n\r\n<template>\r\n <el-container>\r\n <el-header>\r\n <div class=\"header\">\r\n <img class=\"logo\" src=\"../assets/logo.png\" alt=\"\">\r\n <div class=\"siteTitle\">中国科学院四封审读工作平台</div>\r\n </div>\r\n <div class=\"nav\">\r\n <a>审读管理</a>\r\n <div class=\"setting\" style=\"cursor:pointer;\">\r\n <i class=\"el-icon-message-solid\"></i>\r\n <el-dropdown>\r\n <span class=\"el-dropdown-link\">\r\n {{ info.realname\r\n }}<i class=\"el-icon-arrow-down el-icon--right\"></i>\r\n </span>\r\n <el-dropdown-menu slot=\"dropdown\">\r\n <el-dropdown-item @click.native=\"dialogVisible = true\"\r\n >修改密码</el-dropdown-item\r\n >\r\n <el-dropdown-item\r\n @click.native=\"getUserInfo(info)\"\r\n v-if=\"role == 1 || role == 2 || role == 3\"\r\n >修改个人信息</el-dropdown-item\r\n >\r\n </el-dropdown-menu>\r\n </el-dropdown>\r\n <span class=\"logout\" @click=\"logout\">退出登陆</span>\r\n </div>\r\n </div>\r\n </el-header>\r\n <el-container class=\"main\">\r\n <!-- 左侧菜单 -->\r\n <el-aside class=\"left-aside\" width=\"210px\">\r\n <el-menu\r\n background-color=\"#ffffff\"\r\n text-color=\"#666666\"\r\n :unique-opened=\"false\"\r\n :default-active=\"'/' + $route.path.split('/')[1]\"\r\n router\r\n class=\"left-menue\"\r\n active-text-color=\"#3895FE\"\r\n >\r\n <template v-for=\"(item, index) in $router.options.routes\">\r\n <el-menu-item\r\n v-if=\"item.show && item.isLeaf && item.role == info.role\"\r\n :index=\"item.path\"\r\n :key=\"index\"\r\n >\r\n <i :class=\"item.icon\"></i>\r\n <span slot=\"title\">{{ item.name }}</span>\r\n </el-menu-item>\r\n <!-- <el-submenu v-if='item.show&&!item.isLeaf' :index=\"'index_'+index\" :key='index'>\r\n\t\t\t\t\t\t\t\t<template slot=\"title\" >\r\n\t\t\t\t\t\t\t\t<i :class=\"item.icon\"></i>\r\n\t\t\t\t\t\t\t\t<span>{{item.name}}</span>\r\n\t\t\t\t\t\t\t\t</template>\r\n\t\t\t\t\t\t\t\t<el-menu-item-group>\r\n\t\t\t\t\t\t\t\t\t<el-menu-item class=\"child\" v-for=\"(child,idx) in item.children\" :key=\"index+'_'+idx\" :index=\"child.path\" v-show='!child.hide'>\r\n\t\t\t\t\t\t\t\t\t{{child.name}}\r\n\t\t\t\t\t\t\t\t\t</el-menu-item>\r\n\t\t\t\t\t\t\t\t</el-menu-item-group>\r\n\t\t\t\t\t\t\t</el-submenu> -->\r\n </template>\r\n </el-menu>\r\n </el-aside>\r\n <!-- 右侧内容 -->\r\n <el-container>\r\n <el-main>\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </el-main>\r\n <!-- <el-footer>Footer</el-footer> -->\r\n </el-container>\r\n </el-container>\r\n <!-- 修改密码 -->\r\n <el-dialog\r\n class=\"fu-dialog\"\r\n title=\"修改密码\"\r\n :close-on-click-modal=\"false\"\r\n :visible.sync=\"dialogVisible\"\r\n width=\"500px\"\r\n >\r\n <el-form\r\n size=\"small\"\r\n :inline=\"false\"\r\n label-width=\"80px\"\r\n :model=\"form\"\r\n ref=\"form\"\r\n :rules=\"rules\"\r\n center\r\n >\r\n <el-form-item label=\"新密码\" prop=\"password\">\r\n <el-input v-model=\"form.password\" placeholder=\"请输入密码\">\r\n <!-- <i\r\n\t\t\t\t\t\t\tclass=\"el-icon-edit el-input__icon\"\r\n\t\t\t\t\t\t\tslot=\"suffix\">\r\n\t\t\t\t\t\t</i> -->\r\n </el-input>\r\n </el-form-item>\r\n <el-form-item label=\"确认密码\" prop=\"repassword\">\r\n <el-input\r\n v-model=\"form.repassword\"\r\n placeholder=\"请再次输入密码\"\r\n ></el-input>\r\n </el-form-item>\r\n </el-form>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button\r\n size=\"small\"\r\n type=\"primary\"\r\n plain\r\n @click=\"dialogVisible = false\"\r\n >取 消</el-button\r\n >\r\n <el-button size=\"small\" type=\"primary\" @click=\"changePwd\"\r\n >确 定</el-button\r\n >\r\n </span>\r\n </el-dialog>\r\n <!-- 修改期刊账号信息 -->\r\n <el-dialog\r\n class=\"fu-dialog\"\r\n title=\"修改账号信息\"\r\n :close-on-click-modal=\"false\"\r\n :visible.sync=\"dialogVisible1\"\r\n\t width=\"800px\"\r\n v-if=\"role == 1\"\r\n >\r\n <el-form\r\n\t \tclass=\"preview\"\r\n :inline=\"true\"\r\n label-width=\"120px\"\r\n :model=\"form1\"\r\n ref=\"form1\"\r\n :rules=\"rules\"\r\n >\r\n <el-form-item label=\"账号\" prop=\"name\">\r\n <el-input\r\n v-model=\"form1.name\"\r\n placeholder=\"请输入账号\"\r\n show-word-limit\r\n disabled\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"期刊名称\" prop=\"journal\">\r\n <el-select v-model=\"form1.journal\" disabled>\r\n <el-option\r\n v-for=\"(item, index) in journalList\"\r\n :key=\"index\"\r\n :label=\"item.name\"\r\n :value=\"item.name\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"主管单位\">\r\n <el-select v-model=\"form1.unit\" filterable>\r\n <el-option\r\n v-for=\"(item, index) in branchList\"\r\n :key=\"index\"\r\n :label=\"item.name\"\r\n :value=\"item.name\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"主办单位\">\r\n <el-select v-model=\"form1.college\">\r\n <el-option\r\n v-for=\"(item, index) in collegeList\"\r\n :key=\"index\"\r\n :label=\"item.name\"\r\n :value=\"item.name\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"负责人\" prop=\"realname\">\r\n <el-input\r\n v-model=\"form1.realname\"\r\n placeholder=\"请输入负责人\"\r\n show-word-limit\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"负责人手机号\" label-width=\"120px\">\r\n <el-input\r\n v-model=\"form1.phone\"\r\n placeholder=\"请输入负责人\"\r\n show-word-limit\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"负责人邮箱\" label-width=\"120px\">\r\n <el-input\r\n v-model=\"form1.email\"\r\n placeholder=\"请输入负责人\"\r\n show-word-limit\r\n ></el-input>\r\n </el-form-item>\r\n </el-form>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button\r\n size=\"small\"\r\n type=\"primary\"\r\n plain\r\n @click=\"dialogVisible1 = false\"\r\n >取 消</el-button\r\n >\r\n <el-button size=\"small\" type=\"primary\" @click=\"changeUserInfo\"\r\n >确 定</el-button\r\n >\r\n </span>\r\n </el-dialog>\r\n <!-- 修改专家账号信息 -->\r\n <el-dialog\r\n class=\"fu-dialog\"\r\n title=\"修改账号信息\"\r\n :close-on-click-modal=\"false\"\r\n :visible.sync=\"dialogVisible1\"\r\n v-else\r\n >\r\n <el-form\r\n size=\"small\"\r\n class=\"preview\"\r\n :inline=\"true\"\r\n label-width=\"80px\"\r\n :model=\"form1\"\r\n ref=\"form1\"\r\n :rules=\"rules\"\r\n >\r\n\t \t<el-form-item label=\"账号\" prop=\"name\">\r\n <el-input\r\n v-model=\"form1.name\"\r\n placeholder=\"请输入账号\"\r\n disabled\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"姓名\" prop=\"realname\">\r\n <el-input\r\n v-model=\"form1.realname\"\r\n placeholder=\"请输入姓名\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"性别\" prop=\"sex\">\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-form-item label=\"职称\" prop=\"title\">\r\n <el-input v-model=\"form1.title\" placeholder=\"请输入职称\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"手机号\" prop=\"phone\">\r\n <el-input v-model=\"form1.phone\" placeholder=\"请输入手机号\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"邮箱\" prop=\"email\">\r\n <el-input v-model=\"form1.email\" placeholder=\"请输入邮箱\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"单位\" prop=\"college\">\r\n <el-select v-model=\"form1.college\" filterable>\r\n <el-option\r\n v-for=\"(item, index) in collegeList\"\r\n :key=\"index\"\r\n :label=\"item.name\"\r\n :value=\"item.name\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"所属期刊\" prop=\"journal\">\r\n <el-select v-model=\"form1.journal\" filterable>\r\n <el-option\r\n v-for=\"(item, index) in journalList\"\r\n :key=\"index\"\r\n :label=\"item.name\"\r\n :value=\"item.name\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"职务\">\r\n <el-input v-model=\"form1.job\" placeholder=\"请输入职务\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"地址\">\r\n <el-input\r\n style=\"width: 514px\"\r\n placeholder=\"请输入地址\"\r\n v-model=\"form1.address\"\r\n ></el-input>\r\n </el-form-item>\r\n </el-form>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button\r\n size=\"small\"\r\n type=\"primary\"\r\n plain\r\n @click=\"dialogVisible1 = false\"\r\n >取 消</el-button\r\n >\r\n <el-button size=\"small\" type=\"primary\" @click=\"changeUserInfo\"\r\n >确 定</el-button\r\n >\r\n </span>\r\n </el-dialog>\r\n </el-container>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"home\",\r\n data() {\r\n return {\r\n role: \"0\",\r\n collegeList: [],\r\n branchList: [],\r\n journalList: [],\r\n info: {},\r\n role: 1,\r\n dialogVisible: false,\r\n dialogVisible1: false,\r\n dialogVisible2: false,\r\n form: {},\r\n form1: {},\r\n form2: {},\r\n rules: {\r\n password: [{ required: true, message: \"请输入密码\", trigger: \"blur\" }],\r\n repassword: [\r\n { required: true, message: \"请再次输入密码\", trigger: \"blur\" },\r\n ],\r\n name: [{ required: true, message: \"请输入账号\", trigger: \"blur\" }],\r\n journal: [{ required: true, message: \"请选择期刊\", trigger: \"change\" }],\r\n phone: [{ required: true, message: \"请输入手机号\", trigger: \"blur\" }],\r\n email: [{ required: true, message: \"请输入邮箱\", trigger: \"blur\" }],\r\n },\r\n };\r\n },\r\n methods: {\r\n changePwd() {\r\n let param = this.form;\r\n if (param.password != param.repassword) {\r\n this.$message.error(\"两次输入的密码不一致!\");\r\n }\r\n this.$refs[\"form\"].validate((valid) => {\r\n if (valid) {\r\n this.$api.changePassword(param).then((res) => {\r\n if (res.data.code == 0) {\r\n this.$message.success(\"修改密码成功\");\r\n this.dialogVisible = false;\r\n } else {\r\n this.$message.error(res.data.message);\r\n }\r\n });\r\n }\r\n });\r\n },\r\n\tgetUserInfo(info){\r\n\t\tif(info.role==1){\r\n\t\t\tthis.$api.getJournalUsersInfo({id:info.id}).then(res=>{\r\n\t\t\t\tthis.form1 = res.data.data\r\n\t\t\t\tthis.dialogVisible1 = true\r\n\t\t\t})\r\n\t\t}else{\r\n\t\t\tthis.$api.getExpertInfo({id:info.id}).then(res=>{\r\n\t\t\t\tthis.form1 = res.data.data\r\n\t\t\t\tthis.dialogVisible1 = true\r\n\t\t\t})\r\n\t\t}\r\n\t},\r\n changeUserInfo() {\r\n let param = this.form1;\r\n this.$refs[\"form1\"].validate((valid) => {\r\n if (valid) {\r\n\t\t\tif(this.role==1){\r\n\t\t\t\tthis.$api.editJournalUsers(param).then((res) => {\r\n\t\t\t\t\tif (res.data.code == 0) {\r\n\t\t\t\t\tthis.$message.success(\"修改成功\");\r\n\t\t\t\t\tthis.dialogVisible1 = false;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\tthis.$message.error(res.data.message);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}else{\r\n\t\t\t\tthis.$api.editExpert(param).then((res) => {\r\n\t\t\t\t\tif (res.data.code == 0) {\r\n\t\t\t\t\tthis.$message.success(\"修改成功\");\r\n\t\t\t\t\tthis.dialogVisible1 = false;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\tthis.$message.error(res.data.message);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n }\r\n });\r\n },\r\n getDate() {\r\n this.now =\r\n new Date().toLocaleDateString() + \" \" + new Date().toLocaleTimeString();\r\n },\r\n logout() {\r\n this.$api.logout().then((res) => {\r\n // this.$router.push({path:'/login'})\r\n localStorage.clear()\r\n this.$router.push({ path: \"/\" });\r\n });\r\n },\r\n getData() {\r\n this.$api.getJournalList({}).then((res) => {\r\n this.journalList = 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.getAccountInfo().then((res) => {\r\n if (!res.code) {\r\n this.info = res.data.data;\r\n localStorage.setItem(\"uid\", res.data.data.id);\r\n this.role = res.data.data.role;\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!./Home.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!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=c46ff98e&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.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","module.exports = __webpack_public_path__ + \"img/logo.56ae0f9e.png\";"],"sourceRoot":""}