1 |
- {"version":3,"sources":["webpack:///./src/views/Login.vue?89a2","webpack:///./src/views/Login.vue?efe2","webpack:///src/views/Login.vue","webpack:///./src/views/Login.vue?bf5f","webpack:///./src/views/Login.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","type","_v","staticStyle","attrs","model","value","logindata","callback","$$v","$set","expression","directives","name","rawName","domProps","on","$event","target","composing","code","getCode","login","indexOf","_k","keyCode","key","_e","_m","ref","juserForm","rules","_l","item","index","regist","euserForm","_s","copyrightdate","staticRenderFns","data","tp","username","password","imgcode_id","imgcode","utype","form","Date","getFullYear","realname","journal","phone","email","journalList","branchList","collegeList","methods","keyupEnter","document","onkeydown","e","console","log","parms","$api","then","res","localStorage","setItem","role","window","location","hash","getData","getSubjectList","getJournalList","getBranchList","getCollegeList","$refs","validate","created","component"],"mappings":"2IAAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,SAAS,CAAc,GAAZN,EAAIO,KAAWH,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,KAAK,CAACJ,EAAIQ,GAAG,mBAAmBJ,EAAG,OAAO,CAACA,EAAG,iBAAiB,CAACK,YAAY,CAAC,MAAQ,SAASC,MAAM,CAAC,KAAO,UAAUC,MAAM,CAACC,MAAOZ,EAAIa,UAAe,MAAEC,SAAS,SAAUC,GAAMf,EAAIgB,KAAKhB,EAAIa,UAAW,QAASE,IAAME,WAAW,oBAAoB,CAACb,EAAG,kBAAkB,CAACM,MAAM,CAAC,MAAQ,IAAI,CAACV,EAAIQ,GAAG,SAASJ,EAAG,kBAAkB,CAACM,MAAM,CAAC,MAAQ,IAAI,CAACV,EAAIQ,GAAG,UAAUJ,EAAG,kBAAkB,CAACM,MAAM,CAAC,MAAQ,IAAI,CAACV,EAAIQ,GAAG,WAAW,GAAGJ,EAAG,MAAM,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AAK,SAAxC,GACQ,EAAR,4BAGI7C,QApDJ,WAoDA,WACM1B,KAAKsE,KAAK5C,UAAU6C,MAAK,SAA/B,GACQ,EAAR,yBACQ,EAAR,gDAGI/B,OA1DJ,SA0DA,cACM,GAAN,MACQ,IAAR,iBACQxC,KAAKoF,MAAM,aAAaC,UAAS,SAAzC,GACA,GACY,EAAZ,6CACc,EAAd,0BACc,EAAd,kBAKQrF,KAAKoF,MAAM,aAAaC,UAAS,SAAzC,GACU,IAAV,cACA,GACY,EAAZ,4CACc,EAAd,0BACc,EAAd,eAOEC,QAjHF,WAkHItF,KAAK0B,UACL1B,KAAK+E,YCtc0a,I,wBCQ/aQ,EAAY,eACd,EACAzF,EACA8C,GACA,EACA,KACA,KACA,MAIa,aAAA2C,E","file":"js/chunk-45d58480.ce902030.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!./Login.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('div',{staticClass:\"login\"},[(_vm.type == 1)?_c('div',{staticClass:\"login-div\"},[_c('h1',[_vm._v(\"中国科学院四封审读工作平台\")]),_c('form',[_c('el-radio-group',{staticStyle:{\"width\":\"370px\"},attrs:{\"size\":\"medium\"},model:{value:(_vm.logindata.utype),callback:function ($$v) {_vm.$set(_vm.logindata, \"utype\", $$v)},expression:\"logindata.utype\"}},[_c('el-radio-button',{attrs:{\"label\":0}},[_vm._v(\"管理员\")]),_c('el-radio-button',{attrs:{\"label\":1}},[_vm._v(\"期刊帐号\")]),_c('el-radio-button',{attrs:{\"label\":2}},[_vm._v(\"专家帐号\")])],1),_c('div',{staticClass:\"input_div\",staticStyle:{\"margin-top\":\"10px\"}},[_c('label',[_vm._v(\"账号\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.logindata.username),expression:\"logindata.username\"}],attrs:{\"type\":\"text\",\"placeholder\":\"请输入\"},domProps:{\"value\":(_vm.logindata.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.logindata, \"username\", $event.target.value)}}})]),_c('div',{staticClass:\"input_div\"},[_c('label',[_vm._v(\"密 码\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.logindata.password),expression:\"logindata.password\"}],attrs:{\"type\":\"password\",\"placeholder\":\"请输入密码\"},domProps:{\"value\":(_vm.logindata.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.logindata, \"password\", $event.target.value)}}})]),_c('div',{staticClass:\"input_div code\"},[_c('img',{attrs:{\"src\":_vm.code,\"alt\":\"\"},on:{\"click\":_vm.getCode}}),_c('label',[_vm._v(\"图形码\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.logindata.imgcode),expression:\"logindata.imgcode\"}],attrs:{\"type\":\"text\",\"placeholder\":\"请输入验证码\"},domProps:{\"value\":(_vm.logindata.imgcode)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.logindata, \"imgcode\", $event.target.value)}}})]),_c('span',{staticStyle:{\"cursor\":\"pointer\",\"color\":\"#666\"},on:{\"click\":function($event){_vm.type = 2}}},[_vm._v(\"注册帐号\")]),_c('el-button',{staticClass:\"login-btn\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.login,\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.login($event)}}},[_vm._v(\"登 录\")])],1)]):_vm._e(),(_vm.type == 2)?_c('div',{staticClass:\"login-div\",staticStyle:{\"padding\":\"30px\",\"height\":\"430px\"}},[_c('span',{on:{\"click\":function($event){_vm.type = 1}}},[_c('i',{staticClass:\"el-icon-back\"}),_vm._v(\" 返回\")]),_c('h1',[_vm._v(\"新用户注册\")]),_c('ul',{staticClass:\"sign\"},[_c('li',{on:{\"click\":function($event){_vm.type = 3}}},[_vm._m(0),_c('p',[_vm._v(\"帐号注册\")])]),_c('li',{on:{\"click\":function($event){_vm.type = 4}}},[_vm._m(1),_c('p',[_vm._v(\"帐号注册\")])])])]):_vm._e(),(_vm.type == 3)?_c('div',{staticClass:\"login-div sign_div\",staticStyle:{\"padding\":\"30px\",\"height\":\"560px\"}},[_c('span',{on:{\"click\":function($event){_vm.type = 2}}},[_c('i',{staticClass:\"el-icon-back\"}),_vm._v(\" 返回上一级\")]),_c('h1',[_vm._v(\"填写帐号信息\")]),_c('p',[_vm._v(\"\\n 填写注意事项:为便于审读工作的进行,一个刊物只能绑定申请一个账号,请选择期刊名称时,仔细核对是否选择的是本刊,否则将影响后续的审读工作开展\\n \")]),_c('el-form',{ref:\"juserForm\",staticClass:\"regJournalUser\",attrs:{\"inline\":true,\"label-width\":\"100px\",\"model\":_vm.juserForm,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"label\":\"帐号\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入帐号\"},model:{value:(_vm.juserForm.name),callback:function ($$v) {_vm.$set(_vm.juserForm, \"name\", $$v)},expression:\"juserForm.name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"密码\",\"prop\":\"password\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入密码\"},model:{value:(_vm.juserForm.password),callback:function ($$v) {_vm.$set(_vm.juserForm, \"password\", $$v)},expression:\"juserForm.password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"期刊名称\",\"prop\":\"journal\"}},[_c('el-select',{attrs:{\"filterable\":\"\"},model:{value:(_vm.juserForm.journal),callback:function ($$v) {_vm.$set(_vm.juserForm, \"journal\", $$v)},expression:\"juserForm.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.juserForm.unit),callback:function ($$v) {_vm.$set(_vm.juserForm, \"unit\", $$v)},expression:\"juserForm.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',{attrs:{\"filterable\":\"\"},model:{value:(_vm.juserForm.college),callback:function ($$v) {_vm.$set(_vm.juserForm, \"college\", $$v)},expression:\"juserForm.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\":\"负责人\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入姓名\"},model:{value:(_vm.juserForm.realname),callback:function ($$v) {_vm.$set(_vm.juserForm, \"realname\", $$v)},expression:\"juserForm.realname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"负责人手机号\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入手机号\"},model:{value:(_vm.juserForm.phone),callback:function ($$v) {_vm.$set(_vm.juserForm, \"phone\", $$v)},expression:\"juserForm.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"负责人邮箱\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入邮箱\"},model:{value:(_vm.juserForm.email),callback:function ($$v) {_vm.$set(_vm.juserForm, \"email\", $$v)},expression:\"juserForm.email\"}})],1)],1),_c('el-button',{staticClass:\"login-btn\",attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.regist(1)}}},[_vm._v(\"确定\")])],1):_vm._e(),(_vm.type == 4)?_c('div',{staticClass:\"login-div sign_div\",staticStyle:{\"padding\":\"30px\",\"height\":\"700px\"}},[_c('span',{on:{\"click\":function($event){_vm.type = 2}}},[_c('i',{staticClass:\"el-icon-back\"}),_vm._v(\" 返回上一级\")]),_c('h1',[_vm._v(\"填写帐号信息\")]),_c('p',[_vm._v(\"\\n 填写注意事项:为便于管理员审核账号信息和通过审核,请填写真实有效的身份信息,如有特殊情况,请联系管理员\\n \")]),_c('el-form',{ref:\"euserForm\",staticClass:\"regJournalUser\",attrs:{\"inline\":true,\"label-width\":\"100px\",\"model\":_vm.euserForm,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"label\":\"帐号\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入帐号\"},model:{value:(_vm.euserForm.name),callback:function ($$v) {_vm.$set(_vm.euserForm, \"name\", $$v)},expression:\"euserForm.name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"密码\",\"prop\":\"password\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入密码\"},model:{value:(_vm.euserForm.password),callback:function ($$v) {_vm.$set(_vm.euserForm, \"password\", $$v)},expression:\"euserForm.password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"姓名\",\"prop\":\"realname\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入姓名\"},model:{value:(_vm.euserForm.realname),callback:function ($$v) {_vm.$set(_vm.euserForm, \"realname\", $$v)},expression:\"euserForm.realname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"性别\"}},[_c('el-select',{staticStyle:{\"width\":\"202px\"},attrs:{\"clearable\":\"\",\"placeholder\":\"请选择\"},model:{value:(_vm.euserForm.sex),callback:function ($$v) {_vm.$set(_vm.euserForm, \"sex\", $$v)},expression:\"euserForm.sex\"}},[_c('el-option',{attrs:{\"label\":\"男\",\"value\":\"男\"}}),_c('el-option',{attrs:{\"label\":\"女\",\"value\":\"女\"}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"单位\"}},[_c('el-select',{attrs:{\"filterable\":\"\"},model:{value:(_vm.euserForm.college),callback:function ($$v) {_vm.$set(_vm.euserForm, \"college\", $$v)},expression:\"euserForm.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\":\"期刊编辑部\"}},[_c('el-select',{attrs:{\"filterable\":\"\"},model:{value:(_vm.euserForm.journal),callback:function ($$v) {_vm.$set(_vm.euserForm, \"journal\", $$v)},expression:\"euserForm.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.euserForm.title),callback:function ($$v) {_vm.$set(_vm.euserForm, \"title\", $$v)},expression:\"euserForm.title\"}})],1),_c('el-form-item',{attrs:{\"label\":\"职务\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入职务\"},model:{value:(_vm.euserForm.job),callback:function ($$v) {_vm.$set(_vm.euserForm, \"job\", $$v)},expression:\"euserForm.job\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机号码\",\"prop\":\"phone\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入手机号码\"},model:{value:(_vm.euserForm.phone),callback:function ($$v) {_vm.$set(_vm.euserForm, \"phone\", $$v)},expression:\"euserForm.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"邮箱\",\"prop\":\"email\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入邮箱\"},model:{value:(_vm.euserForm.email),callback:function ($$v) {_vm.$set(_vm.euserForm, \"email\", $$v)},expression:\"euserForm.email\"}})],1),_c('el-form-item',{attrs:{\"label\":\"地址\"}},[_c('el-input',{staticStyle:{\"width\":\"514px\"},attrs:{\"placeholder\":\"请输入地址\"},model:{value:(_vm.euserForm.address),callback:function ($$v) {_vm.$set(_vm.euserForm, \"address\", $$v)},expression:\"euserForm.address\"}})],1)],1),_c('el-button',{staticClass:\"login-btn\",attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.regist(2)}}},[_vm._v(\"确定\")])],1):_vm._e(),(_vm.type == 5)?_c('div',{staticClass:\"login-div\",staticStyle:{\"height\":\"300px\"}},[_c('span',{staticStyle:{\"float\":\"right\",\"color\":\"blue\"},on:{\"click\":function($event){_vm.type = 1}}},[_vm._v(\"关闭\")]),_c('h1',[_vm._v(\"提示信息\")]),_c('p',[_vm._v(\"\\n 您的账号申请已提交,请耐性等候审核结果,审核通过后,将会给您填写的手机号发送一条通知短信,请注意查收!\\n \")])]):_vm._e(),_c('p',{staticClass:\"footer\"},[_vm._v(\"Copyright © \"+_vm._s(_vm.copyrightdate)+\" 中国科学院 版权所有\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"background\":\"#f8ae45\"}},[_c('i',{staticClass:\"el-icon-reading\"}),_c('p',[_vm._v(\"期刊编辑部\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"background\":\"#3662cd\"}},[_c('i',{staticClass:\"el-icon-user\"}),_c('p',[_vm._v(\"审读专家\")])])}]\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n@import \"../style/_base.scss\";\r\n.login {\r\n height: 100vh;\r\n min-height: 450px;\r\n background: #1f315d;\r\n overflow: auto;\r\n position: relative;\r\n span {\r\n cursor: pointer;\r\n }\r\n .login-div {\r\n width: 520px;\r\n height: 500px;\r\n background: #ffffff;\r\n box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.24);\r\n border-radius: 8px;\r\n position: absolute;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n margin: auto;\r\n padding: 48px 75px;\r\n h1 {\r\n text-align: center;\r\n margin-bottom: 40px;\r\n font-size: 24px;\r\n }\r\n .input_div {\r\n position: relative;\r\n margin-bottom: 12px;\r\n input {\r\n padding-left: 80px;\r\n outline: none;\r\n background: rgba(242, 245, 247, 1);\r\n border-radius: 8px;\r\n border: 1px solid rgba(238, 238, 238, 1);\r\n display: block;\r\n height: 54px;\r\n width: 100%;\r\n font-size: 16px;\r\n }\r\n label {\r\n color: #222;\r\n font-size: 16px;\r\n position: absolute;\r\n left: 16px;\r\n top: 16px;\r\n z-index: 99;\r\n }\r\n }\r\n .code {\r\n input {\r\n width: 250px;\r\n }\r\n img {\r\n width: 108px;\r\n height: 54px;\r\n float: right;\r\n background-origin: 1px solid red;\r\n }\r\n }\r\n\r\n .login-btn {\r\n background: #066fe6;\r\n width: 100%;\r\n height: 54px;\r\n margin-top: 36px;\r\n font-size: 18px;\r\n color: #fff;\r\n font-weight: 600;\r\n border: none;\r\n border-radius: 8px;\r\n }\r\n }\r\n .el-radio-button {\r\n width: 33%;\r\n span {\r\n width: 100%;\r\n }\r\n }\r\n .footer {\r\n position: fixed;\r\n width: 100%;\r\n bottom: 10px;\r\n left: 0;\r\n z-index: 9;\r\n text-align: center;\r\n color: #fff;\r\n font-size: 14px;\r\n }\r\n .sign {\r\n text-align: center;\r\n li {\r\n display: inline-block;\r\n width: 48%;\r\n color: #666;\r\n cursor: pointer;\r\n div {\r\n width: 180px;\r\n border-radius: 4px;\r\n height: 180px;\r\n color: #fff;\r\n padding-top: 50px;\r\n margin: 20px auto 10px;\r\n i {\r\n font-size: 50px;\r\n }\r\n }\r\n }\r\n }\r\n .sign_div {\r\n // height: auto;\r\n // max-height: none;\r\n width: 700px;\r\n p {\r\n color: #999;\r\n line-height: 25px;\r\n margin-bottom: 10px;\r\n }\r\n }\r\n .regJournalUser{\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}\r\n</style>\r\n\r\n<template>\r\n <div class=\"login\">\r\n <div v-if=\"type == 1\" class=\"login-div\">\r\n <h1>中国科学院四封审读工作平台</h1>\r\n <form>\r\n <el-radio-group\r\n v-model=\"logindata.utype\"\r\n size=\"medium\"\r\n style=\"width: 370px\"\r\n >\r\n <el-radio-button :label=\"0\">管理员</el-radio-button>\r\n <el-radio-button :label=\"1\">期刊帐号</el-radio-button>\r\n <el-radio-button :label=\"2\">专家帐号</el-radio-button>\r\n </el-radio-group>\r\n <div class=\"input_div\" style=\"margin-top: 10px\">\r\n <label>账号</label>\r\n <input\r\n type=\"text\"\r\n v-model=\"logindata.username\"\r\n placeholder=\"请输入\"\r\n />\r\n </div>\r\n <div class=\"input_div\">\r\n <label>密 码</label>\r\n <input\r\n type=\"password\"\r\n v-model=\"logindata.password\"\r\n placeholder=\"请输入密码\"\r\n />\r\n </div>\r\n <div class=\"input_div code\">\r\n <img @click=\"getCode\" :src=\"code\" alt=\"\" />\r\n <label>图形码</label>\r\n <input\r\n type=\"text\"\r\n v-model=\"logindata.imgcode\"\r\n placeholder=\"请输入验证码\"\r\n />\r\n </div>\r\n <span @click=\"type = 2\" style=\"cursor: pointer; color: #666\"\r\n >注册帐号</span\r\n >\r\n <el-button\r\n @click=\"login\"\r\n @keyup.enter=\"login\"\r\n class=\"login-btn\"\r\n type=\"primary\"\r\n >登 录</el-button\r\n >\r\n </form>\r\n </div>\r\n <div\r\n v-if=\"type == 2\"\r\n class=\"login-div\"\r\n style=\"padding: 30px; height: 430px\"\r\n >\r\n <span @click=\"type = 1\"><i class=\"el-icon-back\"></i> 返回</span>\r\n <h1>新用户注册</h1>\r\n <ul class=\"sign\">\r\n <li @click=\"type = 3\">\r\n <div style=\"background: #f8ae45\">\r\n <i class=\"el-icon-reading\"></i>\r\n <p>期刊编辑部</p>\r\n </div>\r\n <p>帐号注册</p>\r\n </li>\r\n <li @click=\"type = 4\">\r\n <div style=\"background: #3662cd\">\r\n <i class=\"el-icon-user\"></i>\r\n <p>审读专家</p>\r\n </div>\r\n <p>帐号注册</p>\r\n </li>\r\n </ul>\r\n </div>\r\n <div\r\n v-if=\"type == 3\"\r\n class=\"login-div sign_div\"\r\n style=\"padding: 30px; height: 560px\"\r\n >\r\n <span @click=\"type = 2\"><i class=\"el-icon-back\"></i> 返回上一级</span>\r\n <h1>填写帐号信息</h1>\r\n <p>\r\n 填写注意事项:为便于审读工作的进行,一个刊物只能绑定申请一个账号,请选择期刊名称时,仔细核对是否选择的是本刊,否则将影响后续的审读工作开展\r\n </p>\r\n <el-form :inline=\"true\" label-width=\"100px\" :model=\"juserForm\" ref=\"juserForm\" :rules=\"rules\" class=\"regJournalUser\">\r\n <el-form-item label=\"帐号\" prop=\"name\">\r\n <el-input placeholder=\"请输入帐号\" v-model=\"juserForm.name\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"密码\" prop=\"password\">\r\n <el-input placeholder=\"请输入密码\" v-model=\"juserForm.password\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"期刊名称\" prop=\"journal\">\r\n <el-select v-model=\"juserForm.journal\" filterable>\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-form-item label=\"主管单位\">\r\n <el-select v-model=\"juserForm.unit\" filterable>\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 label=\"主要主办单位\">\r\n <el-select v-model=\"juserForm.college\" filterable>\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 label=\"负责人\">\r\n <el-input placeholder=\"请输入姓名\" v-model=\"juserForm.realname\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"负责人手机号\">\r\n <el-input placeholder=\"请输入手机号\" v-model=\"juserForm.phone\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"负责人邮箱\">\r\n <el-input placeholder=\"请输入邮箱\" v-model=\"juserForm.email\"></el-input>\r\n </el-form-item>\r\n </el-form>\r\n <el-button class=\"login-btn\" type=\"primary\" @click=\"regist(1)\">确定</el-button>\r\n </div>\r\n <div\r\n v-if=\"type == 4\"\r\n class=\"login-div sign_div\"\r\n style=\"padding: 30px; height: 700px\"\r\n >\r\n <span @click=\"type = 2\"><i class=\"el-icon-back\"></i> 返回上一级</span>\r\n <h1>填写帐号信息</h1>\r\n <p>\r\n 填写注意事项:为便于管理员审核账号信息和通过审核,请填写真实有效的身份信息,如有特殊情况,请联系管理员\r\n </p>\r\n <el-form :inline=\"true\" label-width=\"100px\" :model=\"euserForm\" ref=\"euserForm\" :rules=\"rules\" class=\"regJournalUser\">\r\n <el-form-item label=\"帐号\" prop=\"name\">\r\n <el-input placeholder=\"请输入帐号\" v-model=\"euserForm.name\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"密码\" prop=\"password\">\r\n <el-input placeholder=\"请输入密码\" v-model=\"euserForm.password\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"姓名\" prop=\"realname\">\r\n <el-input placeholder=\"请输入姓名\" v-model=\"euserForm.realname\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"性别\">\r\n <el-select\r\n v-model=\"euserForm.sex\"\r\n clearable\r\n placeholder=\"请选择\"\r\n style=\"width: 202px\"\r\n >\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=\"单位\">\r\n <el-select v-model=\"euserForm.college\" filterable>\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 label=\"期刊编辑部\">\r\n <el-select v-model=\"euserForm.journal\" filterable>\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-form-item label=\"职称\">\r\n <el-input placeholder=\"请输入职称\" v-model=\"euserForm.title\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"职务\">\r\n <el-input placeholder=\"请输入职务\" v-model=\"euserForm.job\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"手机号码\" prop=\"phone\">\r\n <el-input placeholder=\"请输入手机号码\" v-model=\"euserForm.phone\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"邮箱\" prop=\"email\">\r\n <el-input placeholder=\"请输入邮箱\" v-model=\"euserForm.email\"></el-input>\r\n </el-form-item>\r\n <!-- <el-form-item label=\"专业领域\" prop=\"subject\">\r\n <el-select v-model=\"euserForm.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=\"wages\">\r\n <el-input v-model=\"euserForm.wages\" 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=\"euserForm.address\"\r\n ></el-input>\r\n </el-form-item>\r\n </el-form>\r\n <el-button class=\"login-btn\" type=\"primary\" @click=\"regist(2)\">确定</el-button>\r\n </div>\r\n <div v-if=\"type == 5\" class=\"login-div\" style=\"height:300px;\">\r\n <span @click=\"type = 1\" style=\"float:right;color:blue\">关闭</span>\r\n <h1>提示信息</h1>\r\n\r\n <p>\r\n 您的账号申请已提交,请耐性等候审核结果,审核通过后,将会给您填写的手机号发送一条通知短信,请注意查收!\r\n </p>\r\n </div>\r\n <p class=\"footer\">Copyright © {{ copyrightdate }} 中国科学院 版权所有</p>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"login\",\r\n data() {\r\n return {\r\n tp: \"xt\",\r\n code: \"\",\r\n type: 1,\r\n logindata: {\r\n username: \"root\",\r\n password: \"123456\",\r\n imgcode_id: \"\",\r\n imgcode: \"\",\r\n utype: 0,\r\n },\r\n form: {},\r\n copyrightdate: new Date().getFullYear(),\r\n juserForm:{},\r\n euserForm:{},\r\n rules: {\r\n name: [{ required: true, message: \"请输入账号\", trigger: \"blur\" }],\r\n realname: [{ required: true, message: \"请输入账号\", trigger: \"blur\" }],\r\n password: [{ 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 journalList:[],\r\n branchList:[],\r\n collegeList:[]\r\n };\r\n },\r\n methods: {\r\n keyupEnter() {\r\n document.onkeydown = (e) => {\r\n if (e.keyCode === 13) {\r\n console.log(\"enter\");\r\n this.login();\r\n }\r\n };\r\n },\r\n login() {\r\n let parms = this.logindata;\r\n console.log(parms);\r\n this.$api.login(parms).then((res) => {\r\n let data = res.data;\r\n if (res.data.code == 0) {\r\n // window.location.hash='/index/index';\r\n this.$api.getAccountInfo().then((res) => {\r\n if (!res.code) {\r\n localStorage.setItem(\"role\", res.data.data.role);\r\n if (res.data.data.role == 0) {\r\n window.location.hash = \"/index\";\r\n }\r\n if (res.data.data.role == 1) {\r\n window.location.hash = \"/list\";\r\n }\r\n if (res.data.data.role == 2) {\r\n window.location.hash = \"/leader\";\r\n }\r\n if (res.data.data.role == 3) {\r\n window.location.hash = \"/assignment\";\r\n }\r\n }\r\n });\r\n } else {\r\n this.$message.error(res.data.message);\r\n }\r\n });\r\n },\r\n getData(){\r\n this.$api.getSubjectList({}).then((res)=>{\r\n this.subjectList = res.data.data;\r\n })\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 },\r\n getCode() {\r\n this.$api.getCode().then((res) => {\r\n this.code = res.data.data.imgcode;\r\n this.logindata.imgcode_id = res.data.data.imgcode_id;\r\n });\r\n },\r\n regist(type){\r\n if(type==1){\r\n let params = this.juserForm;\r\n this.$refs[\"juserForm\"].validate((valid)=>{\r\n if(valid){\r\n this.$api.registJournalUsers(params).then((res)=>{\r\n this.$message.success(\"注册成功!\")\r\n this.type = 1\r\n })\r\n }\r\n })\r\n }else{\r\n this.$refs[\"euserForm\"].validate((valid)=>{\r\n let params = this.euserForm;\r\n if(valid){\r\n this.$api.registExpertUsers(params).then((res)=>{\r\n this.$message.success(\"注册成功!\")\r\n this.type = 5\r\n })\r\n }\r\n })\r\n }\r\n }\r\n },\r\n created() {\r\n this.getCode();\r\n this.getData();\r\n\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!./Login.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!./Login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=01656c5f&\"\nimport script from \"./Login.vue?vue&type=script&lang=js&\"\nexport * from \"./Login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Login.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":""}
|