{"version":3,"sources":["webpack:///./src/common/mixins/qywxCommon.js","webpack:///./src/views/mobile/sign-in-sufe.vue?b552","webpack:///./src/views/mobile/sign-in-sufe.vue","webpack:///src/views/mobile/sign-in-sufe.vue","webpack:///./src/views/mobile/sign-in-sufe.vue?9d9b","webpack:///./src/views/mobile/sign-in-sufe.vue?2c01","webpack:///./src/assets/images/logo_07@2x.png"],"names":["methods","qywxHandler","_this","vm","this","is_wx_state","$route","query","state","substring","$organization","use_wechat","code","$api","then","res","data","success","setUserInfo","redirect","redirectPath","$router","replace","msg","text","$messageBox","error","ready","$isWechat","_t","encodeURIComponent","wx_redirect","wechat_appid","signin_url","wechat_agentid","window","location","href","decodeURIComponent","render","_vm","_c","_self","directives","name","rawName","value","loading","expression","staticClass","_e","_m","attrs","on","$event","preventDefault","submitForm","apply","arguments","login","id","domProps","target","composing","$set","password","staticRenderFns","require","_v","staticStyle","mixins","qywxCommon","created","schoolid","VueCookie","set","expires","ret","user","message","delete","mounted","computed","_objectSpread","mapState","mapMutations","response","$message","component","module","exports"],"mappings":"6IAAe,QAMXA,QAAS,CACLC,YAAW,WAAG,IAAAC,EAAA,KACJC,EAAKC,KACLC,EAAcD,KAAKE,OAAOC,MAAMC,OAAoD,OAA3CJ,KAAKE,OAAOC,MAAMC,MAAMC,UAAU,EAAE,GACnF,GAAIL,KAAKM,cAAcC,YAAcP,KAAKE,OAAOC,MAAMK,MAAQP,EAC3DD,KAAKS,KAAK,eAAgB,CAACD,KAAMR,KAAKE,OAAOC,MAAMK,KAAMJ,MAAOJ,KAAKE,OAAOC,MAAMC,QAAQM,MAAK,SAAAC,GAC3F,GAAIA,EAAIC,KAAKC,QAAS,CAClBd,EAAGe,YAAYH,EAAIC,KAAKA,MAExB,IAAIG,EAAWjB,EAAKkB,eACfD,IAAUA,EAAW,KAC1BhB,EAAGkB,QAAQC,QAAQH,OAEhB,CACH,IAAII,EAAM,wBACNR,EAAIC,KAAKQ,MAAyB,WAAjBT,EAAIC,KAAKQ,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A,KACA,YAAAG,OAAAC,MAAAkE,UAEA,KAAA1B,SAAA,EACA,KAAAlC,KAAA,oBAAAP,OAAAC,MAAA,GAAAO,MAAA,SAAAC,GACA2D,IAAAC,IAAA,kBAAAC,QAAA,OACA,IAAAC,EAAA9D,EAAAC,UACA6D,EAAAC,MAEA3E,EAAAe,YAAA2D,EAAAC,MACA3E,EAAAkB,QAAAC,QAAA,OAEApB,EAAA6C,SAAA,EACA5C,EAAAsB,YAAAC,MAAAmD,EAAAE,SACA5E,EAAAkB,QAAAC,QAAA,UAIAoD,IAAAM,OAAA,aAGAC,QAAA,WACA,KAAAhF,eAEAiF,SAAAC,EAAA,GACAC,eAAA,qBAGApF,QAAAmF,IAAA,GAEAE,eAAA,6BACA7B,WAAA,WACA,IAAArD,EAAA,KACAA,EAAAwD,MAAAC,GAGAzD,EAAAU,KAAA,MAAAV,EAAAwD,OAAA,GAAA7C,MAAA,SAAAwE,GACAA,EAAAtE,KAAAC,UACAd,EAAAe,YAAAoE,EAAAtE,WACAb,EAAAkB,QAAAC,QAAA,SALAnB,EAAAoF,SAAA7D,MAAA,mBC1GoW,I,wBCQhW8D,EAAY,eACd,EACAjD,EACA2B,GACA,EACA,KACA,WACA,MAIa,aAAAsB,E,gCCnBfC,EAAOC,QAAU,IAA0B","file":"js/about133.3f817bce.js","sourcesContent":["export default {\n /* 需要添加\n mounted() {\n this.qywxHandler();\n },\n */\n methods: {\n qywxHandler() {\n const vm = this;\n const is_wx_state = this.$route.query.state && this.$route.query.state.substring(0,2) === 'wx';\n if (this.$organization.use_wechat && this.$route.query.code && is_wx_state) {// read user info\n this.$api('Wechat.QYWeb', {code: this.$route.query.code, state: this.$route.query.state}).then(res => {\n if (res.data.success) {\n vm.setUserInfo(res.data.data);\n\n let redirect = this.redirectPath();\n if (!redirect) redirect = \"/\";\n vm.$router.replace(redirect);\n\n } else {\n let msg = '错误的企业微信返回信息,请用其他方式登录!';\n if (res.data.text && res.data.text != 'INVALID') msg = res.data.text;\n vm.$messageBox.error(msg);\n let redirect = this.redirectPath();\n redirect = !redirect ? \"/sign-in\" : (\"/sign-in?_t=\" + redirect);\n vm.$router.replace(redirect);\n vm.ready = true;\n }\n });\n } else if (this.$isWechat() && this.$organization.use_wechat) { // 微信客户端\n // 构建微信跳转地址\n // https://open.weixin.qq.com/connect/oauth2/authorize?appid=appid&redirect_uri=%2F&response_type=code&scope=snsapi_userinfo&agentid=1000013&state=STATE#wechat_redirect\n let state = 'wx';\n if (this.$route.query._t) {\n state = 'wx_' + encodeURIComponent(this.$route.query._t);\n }\n const wx_redirect = \"https://open.weixin.qq.com/connect/oauth2/authorize?\" +\n \"appid=\" + this.$organization.wechat_appid +\n \"&redirect_uri=\" + encodeURIComponent(this.$organization.signin_url) +\n \"&response_type=code&scope=snsapi_userinfo&agentid=\" + this.$organization.wechat_agentid +\n \"&state=\" + state + \"#wechat_redirect\";\n window.location.href = wx_redirect;\n } else {\n this.ready = true;\n }\n },\n redirectPath(){\n let redirect = null;\n if (this.$route.query.state.substring(0,3) === 'wx_') {\n redirect = decodeURIComponent(this.$route.query.state.substring(3));\n }\n return redirect;\n }\n }\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.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!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./sign-in-sufe.vue?vue&type=style&index=0&id=12e4ed74&prod&scoped=true&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}]},[_c('div',{staticClass:\"text-center\"},[(!_vm.ready)?_c('i',{staticClass:\"el-icon-loading\"}):_vm._e()]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.ready),expression:\"ready\"}]},[_vm._m(0),_c('div',{staticClass:\"position-relative login-body\"},[_c('div',{staticClass:\"login-bg\"},[_c('form',{staticClass:\"fm-v clearfix\",attrs:{\"action\":\"/\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.submitForm.apply(null, arguments)}}},[_c('div',{staticClass:\"login-table\"},[_c('div',{attrs:{\"id\":\"iptUsername\"}},[_c('div',{staticClass:\"login-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.login.id),expression:\"login.id\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"autocomplete\":\"off\",\"placeholder\":\"学号/工号\",\"value\":\"\",\"required\":\"\"},domProps:{\"value\":(_vm.login.id)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.login, \"id\", $event.target.value)}}}),_vm._m(1)])]),_c('div',{staticClass:\"spacer\"}),_c('div',{attrs:{\"id\":\"iptPassword\"}},[_c('div',{staticClass:\"login-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.login.password),expression:\"login.password\"}],staticClass:\"input\",attrs:{\"type\":\"password\",\"autocomplete\":\"off\",\"placeholder\":\"密码\",\"value\":\"\",\"required\":\"\"},domProps:{\"value\":(_vm.login.password)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.login, \"password\", $event.target.value)}}}),_vm._m(2)])]),_vm._m(3),_vm._m(4)])])])]),_c('div',{staticClass:\"clearfix\"})])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"login-header\"},[_c('img',{staticClass:\"logo\",attrs:{\"src\":require(\"../../assets/images/logo_07@2x.png\")}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('i',{staticClass:\"fa fa-user\"}),_vm._v(\"  \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('i',{staticClass:\"fa fa-lock\"}),_vm._v(\"  \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"inputSubmitButton\",attrs:{\"id\":\"submitButton\"}},[_c('button',{staticClass:\"login-btn btn btn-block mt-4\",staticStyle:{\"font-size\":\"20px\"},attrs:{\"type\":\"submit\"}},[_vm._v(\"登\\n 录\\n \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"row mt-4 link\"},[_c('div',{staticClass:\"col-6 text-left\"},[_c('a',{attrs:{\"href\":\"https://qy.weixin.qq.com/cgi-bin/wap_getnewsmsg?action=get&__biz=MzA3ODY2NzIyMA==&mixuin=MjI5NzgwNzUwODY4Mzk2NzI5OA==&mid=10000401&idx=1&sn=cc1e531ae0d1e9ba119fd0236955fc6a\"}},[_vm._v(\"NetID认证激活\")])]),_c('div',{staticClass:\"col-6 text-right\"},[_c('a',{attrs:{\"href\":\"https://qy.weixin.qq.com/cgi-bin/wap_getnewsmsg?action=get&__biz=MzA3MjY2NjUyNw==&mixuin=MjI5NzgwNzUwODY5Mjk2NzMwMA==&mid=10000389&idx=1&sn=853980d2bc8e8fe567aa4a7aa14960b7&scene=1&pass_ticket=ojKq6OU9sQAQzJfS%2Fwzu8RUjH7z5z%2Be9Nq2mZxyJDBE%3D\"}},[_vm._v(\"忘记密码?\")])])])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\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/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./sign-in-sufe.vue?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/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./sign-in-sufe.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./sign-in-sufe.vue?vue&type=template&id=12e4ed74&scoped=true\"\nimport script from \"./sign-in-sufe.vue?vue&type=script&lang=js\"\nexport * from \"./sign-in-sufe.vue?vue&type=script&lang=js\"\nimport style0 from \"./sign-in-sufe.vue?vue&type=style&index=0&id=12e4ed74&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 \"12e4ed74\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/logo_07@2x.7685772a.png\";"],"sourceRoot":""}