{"version":3,"sources":["webpack:///./src/views/pages/auth/auth-bindphone.vue?eded","webpack:///./src/views/pages/auth/auth-bindphone.vue?1d2d","webpack:///src/views/pages/auth/auth-bindphone.vue","webpack:///./src/views/pages/auth/auth-bindphone.vue?a19c","webpack:///./src/views/pages/auth/auth-bindphone.vue","webpack:///./src/other/validator.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","loginType","_e","ref","attrs","formInline1","ruleInline1","nativeOn","$event","type","indexOf","_k","keyCode","key","handleSubmit1","model","value","callback","$$v","$set","expression","on","getPhoneCode","staticStyle","_s","count","loading","show","$router","push","exhibitionId","tipCancel","tipOk","showTip","phone","loginNow","staticRenderFns","name","data","register","clear","showCode","timer","codeKey","code","validator","created","setLogin","destroyed","setUser","setUserId","setMyAdvisorySetting","signOutOidc","signOutOidcQQ","setRedirectUrl","login","href","computed","methods","validForm","Promise","resolve","valid","clearInterval","$refs","resetFields","location","origin","component","required","rule","test","trigger","message","min","max","captcha","password","email","Website","CreditCode","patrn","length","Ancode","Ancodevalue","total","weightedfactors","str","i","substring","logiccheckcode","Str","Array_Str","split","checkcode","BusinessLicenses","regex","ws","codes","Array","substr","sum","charAt","c18","s","p","a","m","parseInt"],"mappings":"kHAAA,yBAAqlB,EAAG,G,yCCAxlB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,IAAI,CAACJ,EAAIO,GAAG,UAA6B,IAAlBP,EAAIQ,UAAiBJ,EAAG,OAAO,CAACJ,EAAIO,GAAG,QAAQP,EAAIS,KAAwB,IAAlBT,EAAIQ,UAAiBJ,EAAG,OAAO,CAACJ,EAAIO,GAAG,QAAQP,EAAIS,KAAKT,EAAIO,GAAG,mBAAmBH,EAAG,OAAO,CAACM,IAAI,cAAcJ,YAAY,IAAIK,MAAM,CAAC,MAAQX,EAAIY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,EAAI,GACJC,EAAI,GACJC,EAAI,GACJC,EAAI,GACRF,EAAE,GAAKE,EACP,IAASnB,EAAI,EAAGA,EAAIxE,EAAMkE,OAAQM,IAChCkB,EAAElB,GAAKoB,SAAS5F,EAAMyE,UAAUD,EAAGA,EAAI,GAAImB,GAC3CH,EAAEhB,GAAMiB,EAAEjB,IAAMmB,EAAI,GAAMD,EAAElB,GACxB,GAAKgB,EAAEhB,GAAKmB,EACdF,EAAEjB,EAAI,GAAK,GAEXiB,EAAEjB,EAAI,GAAMgB,EAAEhB,GAAKmB,EAAK,EAGxB,GAAMH,EAAE,IAAMG,EAChB1F,IAEAA,EAAS,gBAGZuD,QAAS,W","file":"static/js/chunk-3342af85.87e4c939.js","sourcesContent":["import mod 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!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./auth-bindphone.vue?vue&type=style&index=0&id=514e6d4d&lang=scss&scoped=true&\"; export default mod; 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!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./auth-bindphone.vue?vue&type=style&index=0&id=514e6d4d&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bindphone\"},[_c('p',[_vm._v(\" 您正在使用\"),(_vm.loginType === 2)?_c('span',[_vm._v(\"微信\")]):_vm._e(),(_vm.loginType === 3)?_c('span',[_vm._v(\"QQ\")]):_vm._e(),_vm._v(\"账号登录,请先绑定手机号 \")]),_c('Form',{ref:\"formInline1\",staticClass:\"F\",attrs:{\"model\":_vm.formInline1,\"rules\":_vm.ruleInline1,\"label-width\":80},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleSubmit1('formInline1')}}},[_c('FormItem',{staticClass:\"F-1 phone_code\",attrs:{\"prop\":\"phone\",\"label\":\"手机\"}},[_c('Input',{staticClass:\"I\",attrs:{\"type\":\"text\",\"placeholder\":\"手机号\"},model:{value:(_vm.formInline1.phone),callback:function ($$v) {_vm.$set(_vm.formInline1, \"phone\", $$v)},expression:\"formInline1.phone\"}})],1),_c('FormItem',{staticClass:\"F-1 phone_code\",attrs:{\"prop\":\"code\",\"label\":\"验证码\"}},[_c('Input',{ref:\"captcha_input2\",staticClass:\"I\",attrs:{\"type\":\"text\",\"maxlength\":\"6\",\"placeholder\":\"验证码\",\"autocomplete\":\"off\"},model:{value:(_vm.formInline1.code),callback:function ($$v) {_vm.$set(_vm.formInline1, \"code\", $$v)},expression:\"formInline1.code\"}}),(_vm.showCode)?_c('Button',{on:{\"click\":_vm.getPhoneCode}},[_vm._v(\"获取验证码\")]):_c('Button',{staticStyle:{\"color\":\"#ccc\"},attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.count)+\"s后重新获取\")])],1),_c('FormItem',{staticStyle:{\"margin-top\":\"40px\"}},[_c('Button',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"primary\",\"size\":\"large\",\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.handleSubmit1('formInline1')}}},[_vm._v(\"确定\")])],1)],1),_c('Modal',{attrs:{\"footer-hide\":\"\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('div',{staticClass:\"f-tac\"},[_c('div',[_c('Icon',{attrs:{\"type\":\"ios-alert\",\"size\":\"80\",\"color\":\"#fe5e00\"}})],1),_c('p',{staticStyle:{\"margin\":\"30px 0\"}},[_vm._v(\" 该手机已绑定其他用户信息\"),_c('br'),_vm._v(\"可直接前往登录 \")]),_c('div',{staticClass:\"f-tac\",staticStyle:{\"margin\":\"10px\"}},[_c('Button',{staticStyle:{\"width\":\"100px\",\"margin-right\":\"20px\"},on:{\"click\":function($event){_vm.show = false}}},[_vm._v(\"取消\")]),_c('Button',{staticStyle:{\"width\":\"100px\"},attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.$router.push((\"/login/\" + _vm.exhibitionId))}}},[_vm._v(\"立即登录\")])],1)])]),_c('Modal',{attrs:{\"title\":\"绑定遇到问题\",\"ok-text\":\"更换手机\",\"cancel-text\":\"跳过绑定\"},on:{\"on-ok\":_vm.tipCancel,\"on-cancel\":_vm.tipOk},model:{value:(_vm.showTip),callback:function ($$v) {_vm.showTip=$$v},expression:\"showTip\"}},[_c('p',{staticStyle:{\"color\":\"red\",\"margin-bottom\":\"10px\"}},[_vm._v(\"绑定遇到问题\")]),_c('p',[_vm._v(\"手机号(\"+_vm._s(_vm.formInline1.phone)+\")已绑定其他账号\")]),_c('div',{staticStyle:{\"text-align\":\"right\"}},[_c('a',{attrs:{\"href\":\"javascript:;\"},on:{\"click\":_vm.loginNow}},[_vm._v(\"马上登录\")])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./auth-bindphone.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!./auth-bindphone.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./auth-bindphone.vue?vue&type=template&id=514e6d4d&scoped=true&\"\nimport script from \"./auth-bindphone.vue?vue&type=script&lang=js&\"\nexport * from \"./auth-bindphone.vue?vue&type=script&lang=js&\"\nimport style0 from \"./auth-bindphone.vue?vue&type=style&index=0&id=514e6d4d&lang=scss&scoped=true&\"\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 \"514e6d4d\",\n null\n \n)\n\nexport default component.exports","export const validator = { // async-validator 所有验证规则 通用的独立出来\n phone: [\n {\n required: true,\n validator: (rule, value, callback) => {\n if (!value) {\n callback('请输入手机号码');\n } else if (/^[1][0-9]{10}$/.test(value)) {\n callback();\n } else {\n callback('请输入正确的手机号码');\n }\n }, trigger: \"blur\"\n }\n ],\n name: [\n { required: true, message: \"用户名不能为空\", trigger: \"blur\" },\n { type: \"string\", min: 3, message: \"用户名不能小于4位\", trigger: \"blur\" },\n { type: \"string\", max: 15, message: \"用户名不能大于15位\", trigger: \"blur\" }\n ],\n captcha: [\n { required: true, message: \"验证码为必填选项\", trigger: \"blur\" }\n ],\n password: [\n { required: true, message: \"密码不能为空\", trigger: \"blur\" },\n { type: \"string\", min: 4, message: \"密码不能小于4位\", trigger: \"blur\" },\n { type: \"string\", max: 12, message: \"密码不能大于12位\", trigger: \"blur\" }\n ],\n email: [\n { required: true, message: '邮箱不能为空', trigger: 'blur' },\n { type: 'email', message: '邮箱格式有误', trigger: 'blur' }\n ],\n Website: [ // 验证网址\n {\n validator: (rule, value, callback) => {\n if (value) {\n if (/(http|https):\\/\\/([\\w.]+\\/?)\\S*/.test(value)) {\n callback();\n } else {\n callback(\"请输入正确的外链地址\");\n }\n } else {\n callback();\n }\n }, trigger: \"blur\"\n }\n ],\n CreditCode: [ // 验证统一社会信用代码\n {\n validator: (rule, value, callback) => {\n if (!value) {\n callback();\n }\n var patrn = /^[0-9A-Z]+$/;\n //18位校验及大写校验\n if ((value.length != 18) || (patrn.test(value) == false)) {\n callback(\"请输入正确的统一社会信用代码\");\n }\n else {\n var Ancode;//统一社会信用代码的每一个值\n var Ancodevalue;//统一社会信用代码每一个值的权重\n var total = 0;\n var weightedfactors = [1, 3, 9, 27, 19, 26, 16, 17, 20, 29, 25, 13, 8, 24, 10, 30, 28];//加权因子\n var str = '0123456789ABCDEFGHJKLMNPQRTUWXY';\n //不用I、O、S、V、Z\n for (var i = 0; i < value.length - 1; i++) {\n Ancode = value.substring(i, i + 1);\n Ancodevalue = str.indexOf(Ancode);\n total = total + Ancodevalue * weightedfactors[i];\n //权重与加权因子相乘之和\n }\n var logiccheckcode = 31 - total % 31;\n if (logiccheckcode == 31) {\n logiccheckcode = 0;\n }\n var Str = \"0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,H,J,K,L,M,N,P,Q,R,T,U,W,X,Y\";\n var Array_Str = Str.split(',');\n logiccheckcode = Array_Str[logiccheckcode];\n var checkcode = value.substring(17, 18);\n if (logiccheckcode != checkcode) {\n callback(\"请输入正确的统一社会信用代码\");\n } else {\n callback();\n }\n callback();\n }\n }, trigger: \"blur\"\n }\n ],\n BusinessLicenses: [ // 验证统一社会信用代码\n {\n validator: (rule, value, callback) => {\n if (!value) {\n callback();\n }\n if (value.length != 18 && value.length != 15) { \n callback(\"请输入正确的营业执照\");\n }\n //十八位新码\n if (value.length == 18) {\n var regex = /^([159Y]{1})([1239]{1})([0-9ABCDEFGHJKLMNPQRTUWXY]{6})([0-9ABCDEFGHJKLMNPQRTUWXY]{9})([0-90-9ABCDEFGHJKLMNPQRTUWXY])$/;\n if (!regex.test(value)) { \n callback(\"请输入正确的营业执照\");\n }\n var str = \"0123456789ABCDEFGHJKLMNPQRTUWXY\";\n var ws = [1, 3, 9, 27, 19, 26, 16, 17, 20, 29, 25, 13, 8, 24, 10, 30, 28];\n var codes = new Array();\n codes[0] = value.substr(0, value.length - 1);\n codes[1] = value.substr(value.length - 1, value.length);\n var sum = 0;\n for (var i = 0; i < 17; i++) {\n sum += str.indexOf(codes[0].charAt(i)) * ws[i];\n }\n var c18 = 31 - (sum % 31);\n if (c18 == 31) {\n c18 = 'Y';\n } else if (c18 == 30) {\n c18 = '0';\n }\n if (str.charAt(c18) != codes[1].charAt(0)) {\n\n callback(\"请输入正确的营业执照\");\n }\n callback();\n\n }\n //十五位编码\n else {\n var ret = false;\n var sum = 0;\n var s = [];\n var p = [];\n var a = [];\n var m = 10;\n p[0] = m;\n for (var i = 0; i < value.length; i++) {\n a[i] = parseInt(value.substring(i, i + 1), m);\n s[i] = (p[i] % (m + 1)) + a[i];\n if (0 == s[i] % m) {\n p[i + 1] = 10 * 2;\n } else {\n p[i + 1] = (s[i] % m) * 2;\n }\n }\n if (1 == (s[14] % m)) {\n callback();\n } else {\n callback(\"请输入正确的营业执照\");\n }\n }\n }, trigger: \"blur\"\n }\n ]\n} "],"sourceRoot":""}