1 |
- {"version":3,"sources":["webpack:///./src/views/Login.vue?89a2","webpack:///./src/views/Login.vue?82fd","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","staticStyle","attrs","model","value","logindata","callback","$$v","$set","expression","_v","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","staticRenderFns","data","tp","username","password","imgcode_id","imgcode","utype","form","copyrightdate","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,OAAO,CAACA,EAAG,iBAAiB,CAACI,YAAY,CAAC,MAAQ,SAASC,MAAM,CAAC,KAAO,UAAUC,MAAM,CAACC,MAAOX,EAAIY,UAAe,MAAEC,SAAS,SAAUC,GAAMd,EAAIe,KAAKf,EAAIY,UAAW,QAASE,IAAME,WAAW,oBAAoB,CAACZ,EAAG,kBAAkB,CAACK,MAAM,CAAC,MAAQ,IAAI,CAACT,EAAIiB,GAAG,SAASb,EAAG,kBAAkB,CAACK,MAAM,CAAC,MAAQ,IAAI,CAACT,EAAIiB,GAAG,UAAUb,EAAG,kBAAkB,CAACK,MAAM,CAAC,MAAQ,IAAI,CAACT,EAAIiB,GAAG,WAAW,GAAGb,EAAG,MAAM,CAACE,YAAY,YAAYE,YAAY,CAAC,aAAa,SAAS,CAACJ,EAA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AAM,aAAaC,UAAS,SAAzC,GACU,IAAV,cACA,GACY,EAAZ,4CACc,EAAd,0BACc,EAAd,eAOEC,QAjHF,WAkHIrF,KAAK0B,UACL1B,KAAK8E,YCtc0a,I,wBCQ/aQ,EAAY,eACd,EACAxF,EACA4C,GACA,EACA,KACA,KACA,MAIa,aAAA4C,E","file":"js/chunk-45d58480.1a57738a.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('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',{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\":\"true\"},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',{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()])}\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\">\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=\"true\">\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\">\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: \"\",\r\n password: \"\",\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 = \"/expert\";\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 = 1\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=2cfd775a&\"\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":""}
|