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?32e6","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?aa82","webpack:///./src/views/Home.vue"],"names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","info","realname","attrs","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","staticStyle","staticRenderFns","data","collegeList","branchList","journalList","methods","param","password","repassword","$message","error","$refs","validate","valid","res","code","getDate","now","$api","then","getData","getJournalList","getBranchList","getCollegeList","getAccountInfo","localStorage","setItem","id","created","component"],"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,WAAWF,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,IAAI,CAACJ,EAAIO,GAAG,UAAUH,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,IAAI,CAACE,YAAY,0BAA0BF,EAAG,cAAc,CAACA,EAAG,OAAO,CAACE,YAAY,oBAAoB,CAACN,EAAIO,GAAG,mBAAmBP,EAAIQ,GAAGR,EAAIS,KAAKC,WAAWN,EAAG,IAAI,CAACE,YAAY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K7C,SAAS8C,MAAK,SAA9B,GAEQ,EAAR,6BAGIC,QApEJ,WAoEA,WACMlE,KAAKgE,KAAKG,eAAe,IAAIF,MAAK,SAAxC,GACQ,EAAR,2BAEMjE,KAAKgE,KAAKI,cAAc,IAAIH,MAAK,SAAvC,GACQ,EAAR,0BAEMjE,KAAKgE,KAAKK,eAAe,IAAIJ,MAAK,SAAxC,GACQ,EAAR,2BAEMjE,KAAKgE,KAAKM,iBAAiBL,MAAK,SAAtC,GACaL,EAAIC,OACP,EAAV,iBACUU,aAAaC,QAAQ,MAAOZ,EAAIb,KAAKA,KAAK0B,IAC1C,EAAV,4BAMEC,QApHF,WAqHI1E,KAAKkE,YCzbya,I,wBCQ9aS,EAAY,eACd,EACA7E,EACAgD,GACA,EACA,KACA,KACA,MAIa,aAAA6B,E","file":"js/chunk-304c8116.12d64b3d.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('div',{staticClass:\"nav\"},[_c('a',[_vm._v(\"审读管理\")]),_c('div',{staticClass:\"setting\"},[_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',{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\">\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\">\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 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=0c3d4c23&\"\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"],"sourceRoot":""}
|