{"version":3,"sources":["webpack:///./src/views/login/login.vue?5596","webpack:///./src/views/login/_components/sign/sign.vue?2c90","webpack:///./src/views/login/login.vue?6efc","webpack:///./src/views/login/_components/sign/sign.vue?d06a","webpack:///./src/views/login/_components/sign/sign.service.ts","webpack:///./src/views/login/_components/sign/sign.vue","webpack:///./src/views/login/_components/sign/sign.vue?3568","webpack:///./src/views/login/login.vue","webpack:///./src/views/login/login.vue?2a01"],"names":["n","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","cbv","href","_hoisted_8","_hoisted_11","_hoisted_12","_hoisted_13","target","rel","stat","down","_hoisted_14","_hoisted_15","_hoisted_16","render","_ctx","_cache","$props","$setup","$data","$options","_component_Sign","onMouseover","$event","changeTopContact","onMouseleave","showTopContact","msg","id","changeCmcmCode","showCmcmCode","_hoisted_9","_hoisted_10","style","type","_hoisted_17","loginQueryParams","username","placeholder","autofocus","name","password","passwordType","passwordEye","onClick","changeEye","check_code","src","codeUrl","alt","ChangeCode","autoLogin","changeAutoLogin","handleLogin","http","user","soft","params","this","loginPost","then","response","updateUserinfo","post","channelSoftInfos","next","data","props","String","setup","injector","service","get","softService","localStorageService","getSsionId","ssionId","value","usessionid","setUserUsessionid","catch","err","error","userNameLocalStr","getUserName","setUserName","getUserUsessionid","doLogin","setUserToken","token","updateChannelSoftInfos","router","replace","warning","message","__exports__","components","Sign"],"mappings":"yJAAA,W,kCCAA,W,yDCEM,EAAe,SAAAA,GAAC,OAAK,eAAa,mBAAmBA,EAAEA,IAAI,iBAAcA,GACzEC,EAAa,CAAEC,MAAO,OACtBC,EAAa,CAAED,MAAO,aACtBE,EAA2B,GAAa,kBAAmB,eAAoB,MAAO,CAAEF,MAAO,YAAc,MAAO,MACpHG,EAAa,CAAEH,MAAO,eACtBI,EAAa,CAAEJ,MAAO,UACtBK,EAAa,CAAEL,MAAO,WACtBM,EAA2B,GAAa,kBAAmB,eAAoB,MAAO,CAC1FN,MAAO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B,OAC/ChB,EAAYiB,yBACZC,EAAA,KAAOC,QAAQ,iBACdZ,OAAM,SAACC,GACR,OAAUC,MAAV,eAAwBD,EAAItD,UAZ5B,OAAUkE,QAAQ,CAChBC,QAAS,YACT5D,KAAM,YATR,OAAU2D,QAAQ,CAChBC,QAAS,WACT5D,KAAM,YATR,OAAU2D,QAAQ,CAChBC,QAAS,WACT5D,KAAM,YA4BZ,MAAO,CACLc,UACAE,aACAP,cACAD,eACAG,YACAM,YACAC,kBACAhB,mBACAiB,kB,oCCjGN,MAAM0C,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAAS,GAAQ,CAAC,YAAY,qBAE1E,UCLA,kBAAgB,CAC7BvD,KAAM,QACNwD,WAAY,CACVC,KAAA,IAEF5B,MAL6B,WAM3B,IAAM3C,EAAiB,gBAAa,GACpC,SAASF,IACPE,EAAemD,OAASnD,EAAemD,MAEzC,IAAM/C,EAAe,gBAAa,GAClC,SAASD,IACPC,EAAa+C,OAAS/C,EAAa+C,MAErC,MAAO,CACLnD,iBACAF,mBACAM,eACAD,qB,UCfN,MAAM,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAASf,GAAQ,CAAC,YAAY,qBAE1E","file":"js/login.6aac2ec3.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./login.vue?vue&type=style&index=0&id=ca5e6db0&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./sign.vue?vue&type=style&index=0&id=403247ba&scoped=true&lang=scss\"","import { createElementVNode as _createElementVNode, vShow as _vShow, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createStaticVNode as _createStaticVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ca5e6db0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"top\" }\nconst _hoisted_2 = { class: \"container\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"top-logo\" }, null, -1))\nconst _hoisted_4 = { class: \"top-contact\" }\nconst _hoisted_5 = { class: \"banner\" }\nconst _hoisted_6 = { class: \"bww-box\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"bww J_uwic\",\n cbv: \"12\",\n href: \"javascript:void(0);\"\n}, null, -1))\nconst _hoisted_8 = /*#__PURE__*/_createStaticVNode(\"
\", 3)\nconst _hoisted_11 = { class: \"global-footer\" }\nconst _hoisted_12 = { class: \"footer-share\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"http://www.weibo.com/u/5096795969\",\n target: \"_blank\",\n rel: \"noopener noreferrer\",\n class: \"J_btn share-sina\",\n stat: \"cmcn-share-a\",\n down: \"5\"\n}, null, -1))\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"footer-link\" }, [\n /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"//www.ijinshan.com/about/about.shtml\",\n target: \"_blank\",\n rel: \"noopener noreferrer\",\n stat: \"cmcn-footer-a\",\n down: \"6\",\n class: \"J_btn\"\n }, \"公司介绍\"),\n /*#__PURE__*/_createTextVNode(\"| \"),\n /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"http://hr.cmcm.com/social\",\n target: \"_blank\",\n rel: \"noopener noreferrer\",\n stat: \"cmcn-footer-b\",\n down: \"7\",\n class: \"J_btn\"\n }, \"全球招聘\"),\n /*#__PURE__*/_createTextVNode(\"| \"),\n /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"//www.ijinshan.com/about/about.shtml\",\n target: \"_blank\",\n rel: \"noopener noreferrer\",\n stat: \"cmcn-footer-d\",\n down: \"9\",\n class: \"J_btn\"\n }, \"联系我们\"),\n /*#__PURE__*/_createTextVNode(\"| \"),\n /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"http://www.cmcm.com/en-us/\",\n target: \"_blank\",\n rel: \"noopener noreferrer\",\n stat: \"cmcn-footer-e\",\n down: \"10\",\n class: \"J_btn\"\n }, \"Global\")\n], -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"footer-copy\" }, [\n /*#__PURE__*/_createElementVNode(\"em\", null, \"Copyright © 2021 珠海海鸟科技有限公司\")\n], -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"footer-copy\" }, [\n /*#__PURE__*/_createElementVNode(\"em\", null, \"粤ICP备18107911号\")\n], -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Sign = _resolveComponent(\"Sign\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"span\", {\n class: \"top-hz\",\n onMouseover: _cache[0] || (_cache[0] = ($event: any) => (_ctx.changeTopContact())),\n onMouseleave: _cache[1] || (_cache[1] = ($event: any) => (_ctx.changeTopContact()))\n }, \"商务合作\", 32),\n _withDirectives(_createElementVNode(\"div\", _hoisted_4, null, 512), [\n [_vShow, _ctx.showTopContact]\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_Sign, { msg: \"大客户登录\" })\n ])\n ]),\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"span\", _hoisted_12, [\n _hoisted_13,\n _createElementVNode(\"a\", {\n id: \"J_shareWx\",\n href: \"javascript:;\",\n class: \"share-wx\",\n stat: \"cmcn-share-b\",\n onMouseover: _cache[2] || (_cache[2] = ($event: any) => (_ctx.changeCmcmCode())),\n onMouseleave: _cache[3] || (_cache[3] = ($event: any) => (_ctx.changeCmcmCode()))\n }, null, 32)\n ]),\n _hoisted_14,\n _hoisted_15,\n _hoisted_16,\n _createElementVNode(\"span\", {\n id: \"J_cmcnCode\",\n class: _normalizeClass([\"cmcn-code\", {'code-show': _ctx.showCmcmCode}])\n }, null, 2)\n ])\n ], 64))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, vModelText as _vModelText, withDirectives as _withDirectives, vModelDynamic as _vModelDynamic, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-403247ba\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"sign-in\" }\nconst _hoisted_2 = { class: \"kuang\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"account\" }, null, -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, null, -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"warning\" }, \"* 请输入账号\", -1))\nconst _hoisted_6 = { class: \"kuang\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"password\" }, null, -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, null, -1))\nconst _hoisted_9 = [\"type\"]\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"warning\" }, \"* 请输入密码\", -1))\nconst _hoisted_11 = { style: {\"height\":\"40px\"} }\nconst _hoisted_12 = { class: \"verificationBox\" }\nconst _hoisted_13 = [\"src\"]\nconst _hoisted_14 = { style: {\"height\":\"40px\"} }\nconst _hoisted_15 = { class: \"label\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"input\", {\n id: \"autoLogin\",\n class: \"display-none\",\n type: \"checkbox\"\n}, null, -1))\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\" 下次自动登录 \")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.msg), 1),\n _createElementVNode(\"ul\", null, [\n _createElementVNode(\"li\", null, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _hoisted_4,\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.loginQueryParams.username) = $event)),\n type: \"text\",\n placeholder: \"请输入账号\",\n class: \"text\",\n autofocus: \"autofocus\",\n name: \"tel\"\n }, null, 512), [\n [_vModelText, _ctx.loginQueryParams.username]\n ])\n ]),\n _hoisted_5\n ]),\n _createElementVNode(\"li\", null, [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _hoisted_8,\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.loginQueryParams.password) = $event)),\n type: _ctx.passwordType,\n placeholder: \"请输入密码\"\n }, null, 8, _hoisted_9), [\n [_vModelDynamic, _ctx.loginQueryParams.password]\n ]),\n _createElementVNode(\"span\", {\n type: \"checkbox\",\n class: _normalizeClass([\"hide\", {'show': _ctx.passwordEye}]),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.changeEye()))\n }, null, 2)\n ]),\n _hoisted_10\n ]),\n _createElementVNode(\"li\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.loginQueryParams.check_code) = $event)),\n type: \"text\",\n name: \"check_code\",\n class: \"verification\",\n placeholder: \"请输入验证码\"\n }, null, 512), [\n [_vModelText, _ctx.loginQueryParams.check_code]\n ])\n ]),\n _createElementVNode(\"img\", {\n src: _ctx.codeUrl,\n alt: \"毒霸大客户平台\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.ChangeCode()))\n }, null, 8, _hoisted_13)\n ]),\n _createElementVNode(\"li\", _hoisted_14, [\n _createElementVNode(\"span\", _hoisted_15, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"checkbox\", {'checked': _ctx.autoLogin }]),\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.changeAutoLogin()))\n }, null, 2),\n _hoisted_16,\n _hoisted_17\n ])\n ])\n ]),\n _createElementVNode(\"div\", {\n id: \"J_submit\",\n class: \"submit\",\n onClick: _cache[6] || (_cache[6] = \n//@ts-ignore\n(...args) => (_ctx.handleLogin && _ctx.handleLogin(...args)))\n })\n ]))\n}","import { Injectable } from '@tanbo/vue-di-plugin'\n\nimport { HttpService } from '@/services/http.service'\nimport { UserService } from '@/services/user.service'\nimport { SoftService, ChannelRequestDataTY } from '@/services/soft.service'\n\nexport interface LoginRequestParams {\n /** 登录用户名 */\n username: string\n /** 登录密码 */\n password: string\n /** 登录验证码 */\n check_code: string\n\n usessionid: string\n}\n\nexport interface LoginRequestDataNextUrl {\n /** 登录跳转 */\n next: string\n}\n\nexport interface LoginResponseData {\n /** 接口返回数据 */\n token: string\n next: string\n}\n\nexport interface LoginResponse {\n /** 接口返回数据 */\n code: number\n data: LoginResponseData\n msg: string\n}\n\n@Injectable()\nexport class LoginService {\n constructor (private http: HttpService,\n private user: UserService,\n private soft: SoftService) {}\n\n doLogin (params: LoginRequestParams) {\n return this.http.loginPost('/accounts/login.json', params).then(response => {\n this.user.updateUserinfo({\n username: params.username\n })\n return response\n })\n }\n\n ssionId () {\n return this.http.post('/accounts/usessionid.json', {}).then(response => {\n return response\n })\n }\n\n doGetChannelSoft () {\n return this.http.post('/get_channel_soft_infos.json', {}).then((response) => {\n this.soft.channelSoftInfos.next(response.data)\n return response\n })\n }\n}\n","\nimport { defineComponent, ref, reactive, onBeforeMount } from 'vue'\nimport { useReflectiveInjector } from '@tanbo/vue-di-plugin'\nimport router from '@/router'\n\nimport { LoginRequestParams, LoginService } from './sign.service'\nimport { SoftService } from '@/services/soft.service'\nimport { LocalStorageService } from '@/services/local-storage.service'\n\nimport { ElMessage } from 'element-plus'\nimport { getApiBaseUrl } from '@/common/env/app-url'\n\nexport default defineComponent({\n name: 'Sign',\n props: {\n msg: String,\n },\n\n setup () {\n const injector = useReflectiveInjector([LoginService])\n const service = injector.get(LoginService)\n const softService = injector.get(SoftService)\n const localStorageService = injector.get(LocalStorageService);\n\n const codeUrl = ref('')\n // 请求ssionid\n onBeforeMount(() => {\n getSsionId()\n })\n function getSsionId () {\n service.ssionId().then((response) => {\n codeUrl.value = `${getApiBaseUrl()}/accounts/check_code/?usessionid=${response.data.usessionid}`\n localStorageService.setUserUsessionid(response.data.usessionid)\n }).catch((err) => {\n ElMessage.error(`请求失败,${err.msg}`)\n })\n }\n function ChangeCode () {\n getSsionId()\n }\n\n const passwordEye = ref(false)\n const passwordType = ref('password')\n function changeEye () {\n passwordEye.value = !passwordEye.value\n passwordType.value = passwordEye.value ? 'text' : 'password'\n }\n\n const userNameLocalStr = localStorageService.getUserName() || {}\n const loginQueryParams = reactive({\n username: userNameLocalStr.username || '',\n password: '',\n check_code: '',\n usessionid: ''\n })\n const autoLogin = ref(false)\n function changeAutoLogin () {\n autoLogin.value = !autoLogin.value\n if (autoLogin.value) {\n localStorageService.setUserName({username: loginQueryParams.username})\n }\n }\n\n function handleLogin () {\n if (!loginQueryParams.username) {\n ElMessage.warning({\n message: '请输入正确的账号',\n type: 'warning',\n })\n return\n }\n if (!loginQueryParams.password) {\n ElMessage.warning({\n message: '请输入正确的密码',\n type: 'warning',\n })\n return\n }\n if (!loginQueryParams.check_code) {\n ElMessage.warning({\n message: '请输入正确的验证码',\n type: 'warning',\n })\n return\n }\n loginQueryParams.usessionid = localStorageService.getUserUsessionid()\n service.doLogin(loginQueryParams).then((response) => {\n localStorageService.setUserToken(response.data.token)\n softService.updateChannelSoftInfos()\n router.replace('/checkData')\n }).catch((err) => {\n ElMessage.error(`请求失败,${err.msg}`)\n })\n }\n\n return {\n codeUrl,\n ChangeCode,\n passwordEye,\n passwordType,\n changeEye,\n autoLogin,\n changeAutoLogin,\n loginQueryParams,\n handleLogin\n }\n }\n})\n","import { render } from \"./sign.vue?vue&type=template&id=403247ba&scoped=true&ts=true\"\nimport script from \"./sign.vue?vue&type=script&lang=ts\"\nexport * from \"./sign.vue?vue&type=script&lang=ts\"\n\nimport \"./sign.vue?vue&type=style&index=0&id=403247ba&scoped=true&lang=scss\"\n\nimport exportComponent from \"/Users/chenjian/Documents/project/u.duba.com/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-403247ba\"]])\n\nexport default __exports__","\nimport { defineComponent, ref } from 'vue';\nimport Sign from './_components/sign/sign.vue';\n\nexport default defineComponent({\n name: 'Login',\n components: {\n Sign,\n },\n setup () {\n const showTopContact = ref(false)\n function changeTopContact () {\n showTopContact.value = !showTopContact.value\n }\n const showCmcmCode = ref(false)\n function changeCmcmCode () {\n showCmcmCode.value = !showCmcmCode.value\n }\n return {\n showTopContact,\n changeTopContact,\n showCmcmCode,\n changeCmcmCode\n }\n }\n});\n","import { render } from \"./login.vue?vue&type=template&id=ca5e6db0&scoped=true&ts=true\"\nimport script from \"./login.vue?vue&type=script&lang=ts\"\nexport * from \"./login.vue?vue&type=script&lang=ts\"\n\nimport \"./login.vue?vue&type=style&index=0&id=ca5e6db0&scoped=true&lang=scss\"\n\nimport exportComponent from \"/Users/chenjian/Documents/project/u.duba.com/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ca5e6db0\"]])\n\nexport default __exports__"],"sourceRoot":""}