{"version":3,"sources":["webpack:///./src/child/common/views/login/Login.vue","webpack:///./src/child/common/views/login/Login.js","webpack:///./src/child/common/views/login/Login.js?592e","webpack:///./src/child/common/views/login/Login.vue?5933","webpack:///./src/child/common/views/login/Login.scss?eed0"],"names":["render","_vm","this","_c","_self","_setupProxy","directives","name","rawName","value","loading","expression","staticClass","attrs","ref","staticStyle","loginForm","loginFormRules","_v","model","username","callback","$$v","$set","password","on","submitLogin","title","dialogTableVisible","$event","restPwdForm","restPwdFormRules","nativeOn","type","indexOf","_k","keyCode","key","submitRestPwd","apply","arguments","slot","userno","oldPwd","newPwd","newSecPwd","resetPwdsForm","dialogEnterpriseVisible","_l","companyList","item","index","code","companyCode","_s","companyChooseCancel","companyChooseOK","staticRenderFns","data","validatePass","rule","Error","result","fullscreenLoading","nowYear","Date","getFullYear","token","required","message","trigger","min","max","pattern","validator","created","serverUrl","window","locations","host","util","isNull","post","console","log","localStorage","setItem","xssogetUSID","mounted","enterKeyup","methods","$message","success","res","$global","sysCode","isLogin","pMHeadImg","userName","userNo","modelID","orgCode","groupName","roles","isOpenSsoLogin","$router","currentRoute","query","redirect","push","self","clearM","then","setM","addM","goHome","$refs","restPwdFormRef","resetFields","enterKey","event","componentName","$route","path","which","charCode","document","addEventListener","$fetch","getItem","xssoServerUrl","replace","replaceAll","isNullString","xssoSubmitLogin","catch","error","resetLoginForm","loginFormRef","validate","async","valid","$post","status","statusMsg","$store","commit","company","loginMsg","companyCount","substring","Promise","resolve","reject","menu","a","component"],"mappings":"0SAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,WAAW,CAAC,CAACC,KAAK,UAAUC,QAAQ,YAAYC,MAAOR,EAAIS,QAASC,WAAW,YAAYC,YAAY,kBAAkBC,MAAM,CAAC,uBAAuB,UAAU,0BAA0B,kBAAkB,6BAA6B,qBAAqB,+BAA+B,kBAAk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AAY,GAAGG,KACtClD,KAAKsD,oBAELtD,KAAK+C,YAAc4C,EAAI5C,YACvB/C,KAAKmD,YAAcwC,EAAI5C,YAAY,GAAGG,KACtClD,KAAK6C,yBAA0B,UAOlC,SAASgE,EAAOD,GACrB,OAAO,IAAIyC,QAAQ,CAACC,EAASC,KAC3B3C,EAAKmC,OAAOC,OAAO,aACnBpC,EAAKmC,OAAOC,OAAO,gBAGhB,SAASjC,EAAKH,GACnB,MAAM7D,EAAc6D,EAAKhD,OAAOb,YAC1ByG,EAAO,GACb,IAAK,MAAMC,KAAK1G,EACd,GAAI6D,EAAKzD,cAAgBJ,EAAY0G,GAAGvG,KAAM,CAC5CsG,EAAKhG,KAAOT,EAAY0G,GAAGjG,KAC3B2B,aAAaC,QAAQwB,EAAKhB,QAAQC,QAAU,cAAe9C,EAAY0G,GAAGpJ,MAC1E,MAIJ,OAAO,IAAIgJ,QAAQ,CAACC,EAASC,KAC3B3C,EAAKmC,OAAOC,OAAO,UAAWQ,KAG3B,SAASxC,EAAKJ,GACnB,OAAO,IAAIyC,QAAQ,CAACC,EAASC,KAC3B3C,EAAKmC,OAAOC,OAAO,WACnBpC,EAAKmC,OAAOC,OAAO,iBAGhB,SAAS/B,EAAOL,GACrB,OAAO,IAAIyC,QAAQ,CAACC,EAASC,KAC3B3C,EAAKL,QAAQI,KAAK,YC7S4R,Q,wBCQ9S+C,EAAY,eACd,EACA5J,EACAyD,GACA,EACA,KACA,WACA,MAIa,aAAAmG,E,2CCnBf","file":"js/chunk-44124e8f.dbc0bbd4.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"login_container\",attrs:{\"element-loading-text\":\"登录中,请稍后\",\"element-loading-spinner\":\"el-icon-loading\",\"element-loading-background\":\"rgba(0, 0, 0, 0.5)\",\"element-loading-custom-class\":\"loading_color\"}},[_c('div',{staticClass:\"login_box\"},[_c('div',{staticClass:\"login_logo\"},[_c('el-form',{ref:\"loginFormRef\",staticClass:\"login_form\",staticStyle:{\"background-color\":\"white\",\"width\":\"580px\"},attrs:{\"label-position\":\"left\",\"model\":_vm.loginForm,\"rules\":_vm.loginFormRules,\"label-width\":\"80px\"}},[_c('div',{staticClass:\"title\",staticStyle:{\"margin-top\":\"50px\",\"margin-left\":\"-20px\"}},[_c('div',{staticClass:\"login_title\"},[_vm._v(\"AG·尊龙凯时轴承标识解析\")])]),_c('div',{staticClass:\"loginFormlocations\",staticStyle:{\"margin-left\":\"110px\"}},[_c('div',{staticClass:\"placeholder\"}),_c('div',{staticClass:\"welcome\"},[_vm._v(\"账户密码登录\")]),_c('div',{staticClass:\"login_form_input\"},[_c('el-form-item',{attrs:{\"prop\":\"username\"}},[_c('span',{staticClass:\"usermdpi\"}),_c('el-input',{staticClass:\"username\",attrs:{\"prefix-icon\":\"iconfont icon-user\",\"placeholder\":\"账户\"},model:{value:(_vm.loginForm.username),callback:function ($$v) {_vm.$set(_vm.loginForm, \"username\", $$v)},expression:\"loginForm.username\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"password\"}},[_c('span',{staticClass:\"lockmdpi\"}),_c('el-input',{staticClass:\"password\",attrs:{\"prefix-icon\":\"iconfont icon-3702mima\",\"placeholder\":\"密码\",\"show-password\":\"\"},model:{value:(_vm.loginForm.password),callback:function ($$v) {_vm.$set(_vm.loginForm, \"password\", $$v)},expression:\"loginForm.password\"}})],1),_c('div',{staticClass:\"btns\",staticStyle:{\"margin-bottom\":\"50px\",\"width\":\"395px\"}},[_c('el-button',{directives:[{name:\"preventReClick\",rawName:\"v-preventReClick\"}],attrs:{\"type\":\"primary\"},on:{\"click\":_vm.submitLogin}},[_vm._v(\"登录\")])],1)],1)])])],1),_c('el-dialog',{attrs:{\"title\":_vm.title,\"visible\":_vm.dialogTableVisible,\"modal-append-to-body\":false},on:{\"update:visible\":function($event){_vm.dialogTableVisible=$event}}},[_c('el-form',{ref:\"restPwdFormRef\",staticClass:\"reset_form\",attrs:{\"model\":_vm.restPwdForm,\"rules\":_vm.restPwdFormRules,\"label-position\":\"left\",\"label-width\":\"100px\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.submitRestPwd.apply(null, arguments)}}},[_c('el-form-item',{attrs:{\"prop\":\"userNo\"}},[_c('label',{staticClass:\"reColor\",attrs:{\"slot\":\"label\"},slot:\"label\"},[_vm._v(\"工号\")]),_c('el-input',{attrs:{\"prefix-icon\":\"iconfont icon-user\",\"readonly\":\"\"},model:{value:(_vm.restPwdForm.userno),callback:function ($$v) {_vm.$set(_vm.restPwdForm, \"userno\", $$v)},expression:\"restPwdForm.userno\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"oldPwd\"}},[_c('label',{staticClass:\"reColor\",attrs:{\"slot\":\"label\"},slot:\"label\"},[_vm._v(\"旧密码\")]),_c('el-input',{attrs:{\"prefix-icon\":\"iconfont icon-3702mima\",\"show-password\":\"\"},model:{value:(_vm.restPwdForm.oldPwd),callback:function ($$v) {_vm.$set(_vm.restPwdForm, \"oldPwd\", $$v)},expression:\"restPwdForm.oldPwd\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"newPwd\"}},[_c('label',{staticClass:\"reColor\",attrs:{\"slot\":\"label\"},slot:\"label\"},[_vm._v(\"新密码\")]),_c('el-input',{attrs:{\"prefix-icon\":\"iconfont icon-3702mima\",\"show-password\":\"\"},model:{value:(_vm.restPwdForm.newPwd),callback:function ($$v) {_vm.$set(_vm.restPwdForm, \"newPwd\", $$v)},expression:\"restPwdForm.newPwd\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"newSecPwd\"}},[_c('label',{staticClass:\"reColor\",attrs:{\"slot\":\"label\"},slot:\"label\"},[_vm._v(\"确认密码\")]),_c('el-input',{attrs:{\"prefix-icon\":\"iconfont icon-3702mima\",\"show-password\":\"\"},model:{value:(_vm.restPwdForm.newSecPwd),callback:function ($$v) {_vm.$set(_vm.restPwdForm, \"newSecPwd\", $$v)},expression:\"restPwdForm.newSecPwd\"}})],1),_c('el-form-item',{staticClass:\"btns\"},[_c('el-button',{directives:[{name:\"preventReClick\",rawName:\"v-preventReClick\"}],attrs:{\"type\":\"primary\"},on:{\"click\":_vm.submitRestPwd}},[_vm._v(\"修改\")]),_c('el-button',{attrs:{\"type\":\"info\"},on:{\"click\":_vm.resetPwdsForm}},[_vm._v(\"重置\")])],1)],1),_c('div',{staticStyle:{\"text-align\":\"left\",\"color\":\"red\"}},[_c('el-row',[_vm._v(\"*应公安部信息管理要求,对于密码强度和长度有强制要求, 请大家积极配合修改。并且按照规定需要定期修改密码。 \")]),_c('el-row',[_vm._v(\"1.统一修改密码规则: \")]),_c('el-row',[_vm._v(\" a)长度8位以上;\")]),_c('el-row',[_vm._v(\" b)数字、小写字母、大写字母、特殊字符至少三种混合 \")]),_c('el-row',[_vm._v(\"2.防爆破处理:\")]),_c('el-row',[_vm._v(\" a)登录输入密码超过3(5)次,当天只能联系管理员,第二 天自动解锁。\")]),_c('el-row',[_vm._v(\" b)短信验证码每次输入密码时间间隔60s; \")]),_c('el-row',[_vm._v(\" c)当发现有人爆破则发消息(如邮箱、微信、短信)提醒账 户所有者\\\\管理人员\\\\负责人\\\\运维人员。\")])],1)],1),_c('el-dialog',{attrs:{\"visible\":_vm.dialogEnterpriseVisible,\"modal-append-to-body\":false,\"title\":\"请选择企业\",\"width\":\"360px\"},on:{\"update:visible\":function($event){_vm.dialogEnterpriseVisible=$event}}},[_c('div',{staticStyle:{\"overflow-y\":\"auto\",\"width\":\"100%\",\"overflow-x\":\"hidden\"}},_vm._l((_vm.companyList),function(item,index){return _c('el-row',{key:index,staticClass:\"companyStyle\"},[_c('el-radio',{attrs:{\"label\":item.code,\"border\":\"\"},model:{value:(_vm.companyCode),callback:function ($$v) {_vm.companyCode=$$v},expression:\"companyCode\"}},[_vm._v(_vm._s(item.name))])],1)}),1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){return _vm.companyChooseCancel()}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.companyChooseOK()}}},[_vm._v(\"确 定\")])],1)])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import util from '../../../xbzcsnms/commonjs/util'\r\n\r\n\r\nexport default {\r\n data() {\r\n const validatePass = (rule, value, callback) => {\r\n if (value === '') {\r\n callback(new Error('请再次输入密码'))\r\n } else if (value !== this.restPwdForm.newPwd) {\r\n callback(new Error('两次输入密码不一致!'))\r\n } else {\r\n callback()\r\n }\r\n }\r\n return {\r\n companyCode: '',\r\n title: '',\r\n loading: false,\r\n dialogTableVisible: false,\r\n dialogEnterpriseVisible: false,\r\n result: {},\r\n fullscreenLoading: false,\r\n companyList: [],\r\n nowYear: new Date().getFullYear(),\r\n // 登录表单的数据绑定对象\r\n loginForm: {\r\n username: '',\r\n password: '',\r\n token: ''\r\n },\r\n // 表单的验证规则对象\r\n loginFormRules: {\r\n username: [\r\n { required: true, message: '请输入登录名称', trigger: 'blur' },\r\n { min: 1, max: 30, message: '长度在 1 到 30 个字符', trigger: 'blur' }\r\n ],\r\n password: [\r\n { required: true, message: '请输入登录密码', trigger: 'blur' },\r\n { min: 3, max: 30, message: '长度在3 到 30 个字符', trigger: 'blur' }\r\n ]\r\n },\r\n restPwdForm: {\r\n userno: '',\r\n oldPwd: '',\r\n newPwd: '',\r\n newSecPwd: ''\r\n },\r\n restPwdFormRules: {\r\n oldPwd: [\r\n { required: true, message: '请输入旧密码', trigger: 'blur' }\r\n // { pattern: /^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\\W_]+$)(?![a-z0-9]+$)(?![a-z\\W_]+$)(?![0-9\\W_]+$)[a-zA-Z0-9\\W_]{8,}$/, message: '密码为数字,小写字母,大写字母,特殊符号 至少包含三种,密码长度8位以上' }\r\n // { validator: validatePass, trigger: 'blur' }\r\n ],\r\n newPwd: [\r\n { required: true, message: '请输入新密码', trigger: 'blur' },\r\n { pattern: /^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\\W_]+$)(?![a-z0-9]+$)(?![a-z\\W_]+$)(?![0-9\\W_]+$)[a-zA-Z0-9\\W_]{8,}$/, message: '密码为数字,小写字母,大写字母,特殊符号 至少包含三种,密码长度8位以上' }\r\n ],\r\n newSecPwd: [\r\n { required: true, message: '请确认密码', trigger: 'blur' },\r\n { validator: validatePass, trigger: 'blur' }\r\n ]\r\n }\r\n }\r\n },\r\n created() {\r\n const serverUrl = 'http://' + window.locations.host\r\n if (!util.isNull(window.locations.post)) {\r\n // eslint-disable-next-line no-const-assign\r\n serverUrl = serverUrl + ':' + window.locations.post\r\n }\r\n console.log('----------跨系统获取会话票据 getUSID---------服务器地址:' + serverUrl)\r\n localStorage.setItem('serverUrl', serverUrl)\r\n this.xssogetUSID()\r\n },\r\n mounted() {\r\n // 绑定enter事件\r\n this.enterKeyup()\r\n },\r\n methods: {\r\n companyChooseCancel() {\r\n this.dialogEnterpriseVisible = false\r\n this.result = {}\r\n },\r\n companyChooseOK() {\r\n this.dialogEnterpriseVisible = false\r\n this.$message.success('登录成功!')\r\n const res = this.result\r\n // 将登录成功之后的token保存到客户端的sessionStorage中\r\n localStorage.setItem(this.$global.sysCode + 'companyCode', this.companyCode)\r\n localStorage.setItem(this.$global.sysCode + 'isLogin', res.isLogin)\r\n localStorage.setItem(this.$global.sysCode + 'token', res.token)\r\n localStorage.setItem('pMHeadImg', res.pMHeadImg)\r\n localStorage.setItem('userName', res.userName)\r\n localStorage.setItem('userNo', res.userNo)\r\n localStorage.setItem('userId', res.modelID)\r\n localStorage.setItem('orgCode', res.orgCode)\r\n localStorage.setItem('groupName', res.groupName)\r\n localStorage.setItem(this.$global.sysCode + 'roles', res.roles)\r\n localStorage.setItem(this.$global.sysCode + 'isOpenSsoLogin', res.isOpenSsoLogin)\r\n console.log('localStorage', localStorage)\r\n console.log('结果---------1', this.result)\r\n // 通过编程式导航跳转到后台主页,路由地址是 /home\r\n if (this.$router.currentRoute.query.redirect) {\r\n this.$router.push(this.$router.currentRoute.query.redirect)\r\n } else {\r\n //生成菜单 路由\r\n console.log('生成菜单 路由---------')\r\n const self = this\r\n clearM(self)\r\n .then(setM(self))\r\n .then(addM(self))\r\n .then(goHome(self))\r\n }\r\n },\r\n resetPwdsForm() {\r\n this.$refs.restPwdFormRef.resetFields()\r\n },\r\n enterKey(event) {\r\n const componentName = this.$route.path\r\n if (componentName === '/login') {\r\n const code = event.keyCode\r\n ? event.keyCode\r\n : event.which\r\n ? event.which\r\n : event.charCode\r\n if (code === 13) {\r\n this.submitLogin()\r\n }\r\n }\r\n },\r\n enterKeyup() {\r\n document.addEventListener('keyup', this.enterKey)\r\n },\r\n xssogetUSID() {\r\n\r\n this.$fetch(localStorage.getItem('serverUrl') + this.$global.xssoServerUrl + '/getUSID?SSOCallBack=getUSID', {}).then(res => {\r\n console.log('===res===' + res)\r\n const data = res.replace('getUSID(', '').replace(');', '').replaceAll('\\'', '').replace(/[\\r\\n]/g, '')\r\n console.log('===SSOCallBack===' + data + ' 验证结果 ' + util.isNullString(data))\r\n if (!util.isNullString(data)) {\r\n this.xssoSubmitLogin(data)\r\n }\r\n }).catch(function(error) {\r\n console.log(error)\r\n })\r\n },\r\n // 点击重置按钮 重置表单\r\n resetLoginForm() {\r\n this.$refs.loginFormRef.resetFields()\r\n },\r\n submitRestPwd() {\r\n this.$refs.restPwdFormRef.validate(async valid => {\r\n if (!valid) return\r\n this.$post('/xbzcsnms/assylogin/resetPwd.z', this.restPwdForm).then(res => {\r\n const data = res.data\r\n if (data.status === 200000 || data.status === '200000') {\r\n this.dialogTableVisible = false\r\n this.restPwdForm = {}\r\n this.$message.success(data.statusMsg)\r\n } else {\r\n this.$message.error(data.statusMsg)\r\n }\r\n\r\n }).catch(function(error) {\r\n this.$message.error(error)\r\n this.dialogTableVisible = false\r\n })\r\n })\r\n },\r\n // 点击登录按钮\r\n submitLogin() {\r\n console.log('submitLogin' + '===xbzcsnmsVue===' + this.loginForm.token)\r\n this.$refs.loginFormRef.validate(async valid => {\r\n console.log(valid)\r\n if (!valid) return\r\n this.fullscreenLoading = true\r\n this.$store.commit('clearMenu')\r\n this.$store.commit('clear_tags')\r\n // const res = await this.$post('/brp/login/queryUser.z', this.loginForm) // data重定向为res\r\n const res = await this.$post('/xbzcsnms/assylogin/queryUser.z', this.loginForm) // data重定向为res\r\n console.log('rese123', res)\r\n localStorage.setItem('companyList', res.company)\r\n localStorage.setItem('companyCode', res.companyCode)\r\n this.fullscreenLoading = false\r\n if (res.isLogin !== 0) {\r\n //密码过期\r\n if (res.isLogin === 999) {\r\n this.title = '密码过期,请修改'\r\n this.restPwdForm.userno = res.userNo\r\n this.dialogTableVisible = true\r\n }\r\n return this.$message.error(res.loginMsg)\r\n }\r\n\r\n this.result = res\r\n if (res.companyCount === 0) { // 无所属企业\r\n return this.$message.error('请在【基础资源平台】选择所属公司,再登录')\r\n } else if (res.companyCount === 1) { // 只有一个所属企业\r\n this.companyCode = res.companyList[0].code\r\n this.companyChooseOK()\r\n } else {\r\n this.companyList = res.companyList\r\n this.companyCode = res.companyList[0].code\r\n this.dialogEnterpriseVisible = true\r\n }\r\n\r\n // 将登录成功之后的token保存到客户端的sessionStorage中\r\n // localStorage.setItem('isLogin', res.isLogin)\r\n // localStorage.setItem('token', res.token)\r\n // localStorage.setItem('userName', res.userName)\r\n // localStorage.setItem('userNo', res.userNo)\r\n // localStorage.setItem('userId', res.modelID)\r\n // localStorage.setItem('roles', res.roles)\r\n // this.result = res\r\n // console.log('结果---------1', this.result)\r\n // // 通过编程式导航跳转到后台主页,路由地址是 /home\r\n // if (this.$router.currentRoute.query.redirect) {\r\n // this.$router.push(this.$router.currentRoute.query.redirect)\r\n // } else {\r\n // //生成菜单 路由\r\n // console.log('生成菜单 路由---------')\r\n // const self = this\r\n // clearM(self)\r\n // .then(setM(self))\r\n // .then(addM(self))\r\n // .then(goHome(self))\r\n // }\r\n })\r\n },\r\n //单点登录自动登录\r\n xssoSubmitLogin(token) {\r\n console.log('xssoSubmitLogin' + '===xbzcsnmsVue===' + token)\r\n\r\n this.loginForm.password = token.substring(0, 8)\r\n this.loginForm.userName = token.substring(0, 8)\r\n this.loginForm.token = token\r\n this.$refs.loginFormRef.validate(async valid => {\r\n console.log(valid)\r\n // if (!valid) return\r\n this.fullscreenLoading = true\r\n this.$store.commit('clearMenu')\r\n this.$store.commit('clear_tags')\r\n // const res = await this.$post('/brp/login/queryUser.z', this.loginForm) // data重定向为res\r\n const res = await this.$post('/xbzcsnms/assylogin/queryUser.z', this.loginForm) // data重定向为res\r\n console.log('rese123', res)\r\n this.fullscreenLoading = false\r\n if (res.isLogin !== 0) {\r\n //密码过期\r\n if (res.isLogin === 999) {\r\n this.title = '密码过期,请修改'\r\n this.restPwdForm.userno = res.userNo\r\n this.dialogTableVisible = true\r\n }\r\n return this.$message.error(res.loginMsg)\r\n }\r\n\r\n this.result = res\r\n if (res.companyCount === 0) { // 无所属企业\r\n return this.$message.error('请在【基础资源平台】选择所属公司,再登录')\r\n } else if (res.companyCount === 1) { // 只有一个所属企业\r\n this.companyCode = res.companyList[0].code\r\n this.companyChooseOK()\r\n } else {\r\n this.companyList = res.companyList\r\n this.companyCode = res.companyList[0].code\r\n this.dialogEnterpriseVisible = true\r\n }\r\n\r\n })\r\n }\r\n }\r\n}\r\nexport function clearM(self) {\r\n return new Promise((resolve, reject) => {\r\n self.$store.commit('clearMenu')\r\n self.$store.commit('clear_tags')\r\n })\r\n}\r\nexport function setM(self) {\r\n const companyList = self.result.companyList\r\n const menu = {}\r\n for (const a in companyList) {\r\n if (self.companyCode === companyList[a].code) {\r\n menu.data = companyList[a].data\r\n localStorage.setItem(self.$global.sysCode + 'companyName', companyList[a].name)\r\n break\r\n }\r\n }\r\n // menu.data = self.result.data\r\n return new Promise((resolve, reject) => {\r\n self.$store.commit('setMenu', menu)\r\n })\r\n}\r\nexport function addM(self) {\r\n return new Promise((resolve, reject) => {\r\n self.$store.commit('addMenu')\r\n self.$store.commit('add_homeTag')\r\n })\r\n}\r\nexport function goHome(self) {\r\n return new Promise((resolve, reject) => {\r\n self.$router.push('/index')\r\n })\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/eslint-loader/index.js??ref--13-0!./Login.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/eslint-loader/index.js??ref--13-0!./Login.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=fc388df8&scoped=true&\"\nimport script from \"./Login.js?vue&type=script&lang=js&\"\nexport * from \"./Login.js?vue&type=script&lang=js&\"\nimport style0 from \"./Login.scss?vue&type=style&index=0&id=fc388df8&prod&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fc388df8\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./Login.scss?vue&type=style&index=0&id=fc388df8&prod&scoped=true&lang=scss&\""],"sourceRoot":""}