{"version":3,"sources":["webpack:///./src/api/tools.js","webpack:///./node_modules/core-js/modules/es.string.split.js","webpack:///./src/utils/validate.js","webpack:///./src/views/login.vue?c14d","webpack:///./src/assets/img/batb.png","webpack:///./src/utils/common.js","webpack:///./src/views/login.vue?3f27","webpack:///src/views/login.vue","webpack:///./src/views/login.vue?2e0e","webpack:///./src/views/login.vue"],"names":["imgVerifyCode","request","url","method","fixRegExpWellKnownSymbolLogic","isRegExp","anObject","requireObjectCoercible","speciesConstructor","advanceStringIndex","toLength","toString","callRegExpExec","regexpExec","stickyHelpers","fails","UNSUPPORTED_Y","arrayPush","push","min","Math","MAX_UINT32","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","re","originalExec","exec","apply","this","arguments","result","split","length","SPLIT","nativeSplit","maybeCallNative","internalSplit","separator","limit","string","lim","undefined","call","match","lastIndex","lastLength","output","flags","ignoreCase","multiline","unicode","sticky","lastLastIndex","separatorCopy","RegExp","source","slice","index","test","O","splitter","rx","S","res","done","value","C","unicodeMatching","p","q","A","e","z","i","validatePhone","rule","callback","patter","Error","validateEmail","validateCreditNo","AnCode","AnCodeValue","total","weightedFactors","str","substring","indexOf","logicCheckCode","Str","Array_Str","checkCode","validateTaxpayerNo","validateIdCardNo","getRequiredRules","name","trigger","required","message","validateTelephone","validateTel","username","password","creditNo","validator","taxpayerNo","idCard","telephone","phone","tel1","tel","email","module","exports","getVerifyImgUrl","data","dataMainBody","Image","VerifyCode","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","model","$$v","activeName","expression","ref","loginInfo","loginRules","nativeOn","$event","type","_k","keyCode","key","handleLogin","$set","staticStyle","verifyImgUrl","on","check","loading","antiFakeInfo","antiFakeRules","searchAntiFake","staticRenderFns","components","verifyKey","userName","verifyCode","reportNumber","code","methods","strTem1","strTem2","$getRsaCode","$refs","formName","validate","valid","$message","warning","window","open","compileStr","c","String","fromCharCode","charCodeAt","escape","created","component"],"mappings":"kHAAA,kDAEO,SAASA,IACZ,OAA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峰彇鍥惧舰楠岃瘉鐮乗r\nexport function imgVerifyCode(){\r\n return request({\r\n url: 'GInterface/GetVerifyCode',\r\n method: 'GET',\r\n })\r\n} \r\n\r\n/* 鑾峰彇鐭俊楠岃瘉鐮� */\r\n/* 鐭俊绫诲瀷 1(淇℃伅鍙樻洿鐭俊绫诲瀷) 2(娉ㄥ唽鐭俊绫诲瀷) 3(瀵嗙爜鎵惧洖鐭俊绫诲瀷) */\r\nexport function verifyCodeSMS(data){\r\n return request({\r\n url: '/Tools/VerifyCode/SMS',\r\n method: 'GET',\r\n params:data,\r\n })\r\n}\r\n\r\n// 缁欑敤鎴风粦瀹氭墜鏈哄彿 鍙戦€侀獙璇佺爜\r\nexport function SendUserSMS(id){\r\n return request({\r\n url: `/SendSMS/${id}`,\r\n method: 'GET',\r\n })\r\n}\r\n/* 楠岃瘉 */\r\nexport function checkVerifyCode(data){\r\n return request({\r\n url: '/Tools/VerifyCode/VerifyData',\r\n method: 'GET',\r\n params:data,\r\n })\r\n}\r\nexport function downAnnex(data){\r\n // return `${request.baseURL}/api/Client/Annex/DownAnnex/${id}`\r\n return request({\r\n url: `/api/Management/Annex/DownAnnex`,\r\n method: 'GET',\r\n\t\tparams:data,\r\n timeout:20000,\r\n responseType: 'blob'\r\n })\r\n}\r\n/* 涓嬭浇鏂囦欢 bycode*/\r\n/* 闄勪欢code(100301鎶ヤ环鍜ㄨ闄勪欢锛�100302鍥炴墽闄勪欢,100303鎺堟潈涔�,100304鏁存敼鍙婄籂姝f帾鏂�) */\r\nexport function downByCode(data){\r\n // return `${request.baseURL}/api/Client/Annex/DownAnnex/${id}`\r\n return request({\r\n url: `/api/Management/Annex/DownAnnexByCode`,\r\n method: 'GET',\r\n params:data,\r\n timeout:20000,\r\n responseType: 'blob'\r\n })\r\n}","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar fails = require('../internals/fails');\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar arrayPush = [].push;\nvar min = Math.min;\nvar MAX_UINT32 = 0xFFFFFFFF;\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = toString(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output.length > lim ? output.slice(0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(toString(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (string, limit) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);\n\n if (res.done) return res.value;\n\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? S.slice(q) : S);\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);\n","// 鐢ㄦ埛鍚峔r\nconst validateUserName = (rule, value, callback) => {\r\n const patter = /^[a-zA-Z0-9_-]{6,50}$/\r\n if (!patter.test(value)) {\r\n return callback(new Error('璇疯緭鍏ユ纭牸寮忕殑鐢ㄦ埛鍚嶏紒'))\r\n } else {\r\n callback() // 蹇呴』鏈夋椤瑰洖璋冿紝鍚﹀垯楠岃瘉浼氫竴鐩翠笉閫氳繃\r\n }\r\n}\r\n\r\n// 鎵嬫満鍙风爜楠岃瘉\r\nconst validatePhone = (rule, value, callback) => {\r\n const patter = /^(?:(?:\\+|00)86)?1\\d{10}$/\r\n if (!patter.test(value)) {\r\n return callback(new Error('璇疯緭鍏ユ纭牸寮忕殑鎵嬫満鍙凤紒'))\r\n } else {\r\n callback() // 蹇呴』鏈夋椤瑰洖璋冿紝鍚﹀垯楠岃瘉浼氫竴鐩翠笉閫氳繃\r\n }\r\n}\r\n\r\n// 閭\r\nconst validateEmail = (rule, value, callback) => {\r\n const patter = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}$/\r\n if (!patter.test(value)) {\r\n return callback(new Error('璇疯緭鍏ユ纭牸寮忕殑閭锛�'))\r\n } else {\r\n callback() // 蹇呴』鏈夋椤瑰洖璋冿紝鍚﹀垯楠岃瘉浼氫竴鐩翠笉閫氳繃\r\n }\r\n}\r\n \r\n// 瀵嗙爜鏍煎紡\r\nconst validatePass = (rule, value, callback) => {\r\n // const patter = /^[a-zA-Z0-9_-]{8,50}$/\r\n const patter = /^(?![0-9]+$)(?![a-zA-Z]+$)([0-9A-Za-z?=.*\\W]){8,16}$/;\r\n // const patter = /^(?=.*\\d)(?=.*[a-zA-Z])(?=.*[`~!@$%^&*()+=\\[\\]{}\\\\|;:'\"<,>.?/]).{6,16}$/;\r\n if (!patter.test(value)) {\r\n return callback(new Error('瀵嗙爜涓嶈兘涓轰簡绾暟瀛楁垨绾瓧姣嶏紝涓斿瘑鐮佷綅鏁颁负6-16浣�'))\r\n } else {\r\n callback() \r\n }\r\n}\r\n\r\nconst validateCreditNo = (rule, value, callback) => {\r\n let AnCode;//缁熶竴绀句細淇$敤浠g爜鐨勬瘡涓€涓€糪r\n let AnCodeValue;//缁熶竴绀句細淇$敤浠g爜姣忎竴涓€肩殑鏉冮噸\r\n let total = 0;\r\n let weightedFactors = [1, 3, 9, 27, 19, 26, 16, 17, 20, 29, 25, 13, 8, 24, 10, 30, 28];//鍔犳潈鍥犲瓙\r\n //涓嶇敤I銆丱銆丼銆乂銆乑\r\n let str = '0123456789ABCDEFGHJKLMNPQRTUWXY';\r\n for (let i = 0; i < value.length - 1; i++) {\r\n AnCode = value.substring(i, i + 1);\r\n AnCodeValue = str.indexOf(AnCode);\r\n total = total + AnCodeValue * weightedFactors[i];\r\n //鏉冮噸涓庡姞鏉冨洜瀛愮浉涔樹箣鍜孿r\n }\r\n let logicCheckCode = 31 - total % 31;\r\n if (logicCheckCode == 31) {\r\n logicCheckCode = 0;\r\n }\r\n let 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\";\r\n let Array_Str = Str.split(',');\r\n logicCheckCode = Array_Str[logicCheckCode];\r\n\r\n let checkCode = value.substring(17, 18);\r\n if (logicCheckCode != checkCode) {\r\n return callback(new Error('璇疯緭鍏ユ纭殑缁熶竴绀句細淇$敤浠g爜锛�'));;\r\n }\r\n return callback();\r\n};\r\n\r\nconst validateTaxpayerNo = (rule, value, callback) => {\r\n let AnCode;//缁熶竴绀句細淇$敤浠g爜鐨勬瘡涓€涓€糪r\n let AnCodeValue;//缁熶竴绀句細淇$敤浠g爜姣忎竴涓€肩殑鏉冮噸\r\n let total = 0;\r\n let weightedFactors = [1, 3, 9, 27, 19, 26, 16, 17, 20, 29, 25, 13, 8, 24, 10, 30, 28];//鍔犳潈鍥犲瓙\r\n //涓嶇敤I銆丱銆丼銆乂銆乑\r\n let str = '0123456789ABCDEFGHJKLMNPQRTUWXY';\r\n for (let i = 0; i < value.length - 1; i++) {\r\n AnCode = value.substring(i, i + 1);\r\n AnCodeValue = str.indexOf(AnCode);\r\n total = total + AnCodeValue * weightedFactors[i];\r\n //鏉冮噸涓庡姞鏉冨洜瀛愮浉涔樹箣鍜孿r\n }\r\n let logicCheckCode = 31 - total % 31;\r\n if (logicCheckCode == 31) {\r\n logicCheckCode = 0;\r\n }\r\n let 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\";\r\n let Array_Str = Str.split(',');\r\n logicCheckCode = Array_Str[logicCheckCode];\r\n\r\n let checkCode = value.substring(17, 18);\r\n if (logicCheckCode != checkCode) {\r\n return callback(new Error('璇疯緭鍏ユ纭殑绾崇◣浜鸿瘑鍒彿锛�'));;\r\n }\r\n return callback();\r\n};\r\n\r\n\r\n// 韬唤璇佸彿\r\nconst validateIdCardNo = (rule, value, callback) => {\r\n const patter = /^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$/\r\n if (!patter.test(value)) {\r\n return callback(new Error('璇疯緭鍏ユ纭牸寮忕殑韬唤璇佸彿锛�'))\r\n } else {\r\n callback() \r\n }\r\n}\r\n\r\nfunction getRequiredRules(name,trigger){\r\n return {\r\n required: true,\r\n message: `${name}涓嶈兘涓虹┖`,\r\n trigger:trigger || 'blur'\r\n }\r\n}\r\n\r\n// 鎵嬫満鍙锋垨鑰呯數璇濆彿鐮乗r\nconst validateTelephone = (rule, value, callback) => {\r\n const patter = /^((0\\d{2,3}-\\d{7,8})|(1[3584]\\d{9}))$/\r\n if (!patter.test(value)) {\r\n return callback(new Error('璇疯緭鍏ュ悎娉曟墜鏈哄彿/鐢佃瘽鍙�'))\r\n } else {\r\n callback() \r\n }\r\n}\r\n// 搴ф満\r\nconst validateTel = (rule, value, callback) => {\r\n const patter = /^0\\d{2,3}-[1-9]\\d{6,7}$/\r\n if (!patter.test(value)) {\r\n return callback(new Error('璇疯緭鍏ユ纭牸寮忕殑鑱旂郴鐢佃瘽'))\r\n } else {\r\n callback() \r\n }\r\n}\r\n\r\nexport default {\r\n // ---------------------鍏叡楠岃瘉鏂规硶\r\n username:[\r\n { required: true,message: `鐢ㄦ埛鍚嶄笉鑳戒负绌篳,trigger: ['blur', 'change']},\r\n // { validator: validateUserName}\r\n ],\r\n password: [\r\n { required: true,message: `瀵嗙爜涓嶈兘涓虹┖`,trigger: ['blur', 'change']},\r\n // {validator: validatePass}\r\n ],\r\n \r\n creditNo:[\r\n { required: true,message: `缁熶竴绀句細淇$敤浠g爜涓嶈兘涓虹┖`,trigger: ['blur', 'change']},\r\n {validator: validateCreditNo}\r\n ],\r\n taxpayerNo:[\r\n { required: true,message: `绾崇◣浜鸿瘑鍒彿涓嶈兘涓虹┖`,trigger: ['blur', 'change']},\r\n {validator: validateTaxpayerNo}\r\n ],\r\n \r\n idCard: [\r\n { required: true,message: `韬唤璇佸彿鐮佷笉鑳戒负绌篳,trigger: ['blur', 'change']},\r\n { validator: validateIdCardNo}\r\n ],\r\n telephone: [\r\n { required: true,message: `鎵嬫満鍙�/鐢佃瘽鍙蜂笉鑳戒负绌篳,trigger: ['blur', 'change']},\r\n { validator: validateTelephone}\r\n ],\r\n phone: [\r\n // { required: true,message: `鎵嬫満鍙蜂笉鑳戒负绌篳,trigger: ['blur', 'change']},\r\n {validator: validatePhone}\r\n ],\r\n tel1: [\r\n{ required: true,message: ` `,trigger: ['blur', 'change']},\r\n { validator: validateTel}\r\n ],\r\n tel: [\r\n \r\n { validator: validateTel}\r\n ],\r\n email: [\r\n // { required: true,message: `閭涓嶈兘涓虹┖`,trigger: ['blur', 'change']},\r\n { validator: validateEmail}\r\n ],\r\n name: [\r\n { required: true,message: `鍚嶇О涓嶈兘涓虹┖`,trigger: ['blur', 'change']},\r\n { validator: getRequiredRules}\r\n ]\r\n}","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!./login.vue?vue&type=style&index=0&id=68ff7e00&scoped=true&lang=scss&\"","module.exports = __webpack_public_path__ + \"static/img/batb.d0289dc0.png\";","import { imgVerifyCode} from '@/api/tools'\r\nconst isType = type =>(/^\\[object\\s(.*)\\]$/.exec(Object.prototype.toString.call(type)))[1];\r\nimport { Message } from 'element-ui';\r\n\r\nexport async function getVerifyImgUrl(){\r\n const res = await imgVerifyCode();\r\n let data=[];\r\n data = ['data:image/png;base64,' + res.dataMainBody.Image,res.dataMainBody.VerifyCode];\r\n return data;\r\n}\r\n \r\nexport function clearForm (form){\r\n for(let key in form){\r\n const item = form[key];\r\n if(isType(form[key]) ==='Array'){\r\n form[key] = [];\r\n } else if(isType(form[key]) ==='Object'){\r\n form[key] = {};\r\n } else {\r\n form[key] = '';\r\n }\r\n }\r\n return form;\r\n}\r\n\r\n\r\n\r\n\r\n\r\n // export function getObjectURL (file) {\r\n // var binaryData = [];\r\n // binaryData.push(file);\r\n // let url = null;\r\n // if (window.createObjectURL !== undefined) { // basic\r\n // url = window.createObjectURL(new Blob(binaryData, {type: 'application/pdf'}));\r\n // } else if (window.webkitURL !== undefined) { // webkit or chrome\r\n // try {\r\n // url = window.webkitURL.createObjectURL(new Blob(binaryData, {type: 'application/pdf'}));\r\n // } catch (error) {\r\n\r\n // }\r\n // } else if (window.URL !== undefined) { // mozilla(firefox)\r\n // try {\r\n // url = window.URL.createObjectURL(new Blob(binaryData, {type: 'application/pdf'}));\r\n // } catch (error) {\r\n\r\n // }\r\n // }\r\n // return url;\r\n // }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login\"},[_c('div',{staticClass:\"login-box\"},[_c('el-card',{staticClass:\"login-card\"},[_c('div',{staticClass:\"login-title\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"娆㈣繋鐧婚檰\")])]),_c('el-tabs',{attrs:{\"type\":\"card\"},model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:\"activeName\"}},[_c('el-tab-pane',{attrs:{\"label\":\"鐢ㄦ埛鐧诲綍\",\"name\":\"1\"}},[_c('el-form',{ref:\"loginForm\",attrs:{\"model\":_vm.loginInfo,\"label-width\":\"80px\",\"rules\":_vm.loginRules,\"hide-required-asterisk\":true}},[_c('el-form-item',{attrs:{\"label\":\"鐢ㄦ埛鍚峔",\"prop\":\"userName\"}},[_c('el-input',{nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleLogin('loginForm')}},model:{value:(_vm.loginInfo.userName),callback:function ($$v) {_vm.$set(_vm.loginInfo, \"userName\", $$v)},expression:\"loginInfo.userName\"}})],1),_c('el-form-item',{attrs:{\"label\":\"瀵嗙爜\",\"prop\":\"password\"}},[_c('el-input',{attrs:{\"type\":\"password\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleLogin('loginForm')}},model:{value:(_vm.loginInfo.password),callback:function ($$v) {_vm.$set(_vm.loginInfo, \"password\", $$v)},expression:\"loginInfo.password\"}})],1),_c('el-form-item',{staticStyle:{\"height\":\"20px\"},attrs:{\"label\":\"楠岃瘉鐮乗"}},[_c('el-input',{staticStyle:{\"width\":\"130px\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleLogin('loginForm')}},model:{value:(_vm.loginInfo.verifyCode),callback:function ($$v) {_vm.$set(_vm.loginInfo, \"verifyCode\", $$v)},expression:\"loginInfo.verifyCode\"}}),_c('img',{staticStyle:{\"float\":\"right\",\"margin-top\":\"5px\"},attrs:{\"src\":_vm.verifyImgUrl,\"alt\":\"楠岃瘉鐮乗"},on:{\"click\":_vm.getVerifyImgUrl}})],1),_c('el-form-item',[_c('el-checkbox',{attrs:{\"refs\":\"mima\"},model:{value:(_vm.check),callback:function ($$v) {_vm.check=$$v},expression:\"check\"}},[_vm._v(\"璁颁綇瀵嗙爜\")])],1),_c('el-button',{staticClass:\"login-btn\",attrs:{\"loading\":_vm.loading,\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleLogin('loginForm')}}},[_vm._v(\"鐧诲綍\")])],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"闃蹭吉鏌ヨ\",\"name\":\"2\"}},[_c('el-form',{ref:\"antiFakeForm\",attrs:{\"model\":_vm.antiFakeInfo,\"label-width\":\"80px\",\"rules\":_vm.antiFakeRules,\"hide-required-asterisk\":true}},[_c('el-form-item',{attrs:{\"label\":\"鎶ュ憡缂栧彿\",\"prop\":\"reportNumber\"}},[_c('el-input',{attrs:{\"placeholder\":\"璇疯緭鍏ユ姤鍛婄紪鍙穃"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchAntiFake.apply(null, arguments)}},model:{value:(_vm.antiFakeInfo.reportNumber),callback:function ($$v) {_vm.$set(_vm.antiFakeInfo, \"reportNumber\", $$v)},expression:\"antiFakeInfo.reportNumber\"}})],1),_c('el-form-item',{attrs:{\"label\":\"闃蹭吉鐮乗",\"prop\":\"code\"}},[_c('el-input',{attrs:{\"placeholder\":\"璇疯緭鍏ラ槻浼爜\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchAntiFake.apply(null, arguments)}},model:{value:(_vm.antiFakeInfo.code),callback:function ($$v) {_vm.$set(_vm.antiFakeInfo, \"code\", $$v)},expression:\"antiFakeInfo.code\"}})],1),_c('el-button',{staticClass:\"login-btn\",staticStyle:{\"margin-top\":\"10px\"},attrs:{\"loading\":_vm.loading,\"type\":\"primary\"},on:{\"click\":_vm.searchAntiFake}},[_vm._v(\"鏌ヨ\")])],1)],1)],1)],1)],1),_c('div',{staticClass:\"footer\"},[_c('div',[_c('span',{staticStyle:{\"padding-right\":\"28px\"}},[_vm._v(\"鐗堟潈鎵€鏈�: 涓汉鏍囨楠岃璇佽偂浠芥湁闄愬叕鍙竆")]),_c('span',[_c('el-image',{staticStyle:{\"width\":\"20px\",\"height\":\"20px\",\"padding-right\":\"6px\",\"display\":\"inline-table\"},attrs:{\"src\":require('../assets/img/batb.png')}}),_c('el-link',{staticStyle:{\"color\":\"#606266\",\"vertical-align\":\"unset\"},attrs:{\"underline\":false,\"href\":\"https://beian.miit.gov.cn/#/Integrated/index\",\"target\":\"_blank\"}},[_vm._v(\"浜琁CP澶�09071042鍙�-2\")]),_c('el-link',{staticStyle:{\"color\":\"#606266\",\"vertical-align\":\"unset\",\"padding-left\":\"5px\"},attrs:{\"underline\":false,\"href\":\"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010502046989\",\"target\":\"_blank\"}},[_vm._v(\"浜叕缃戝畨澶�11010502046989鍙穃")])],1)]),_c('div',{staticStyle:{\"margin-top\":\"5px\"}},[_vm._v(\" 娑夊瘑涓嶄笂缃戯紝涓婄綉涓嶆秹瀵嗐€佷弗绂佸湪浜掕仈缃戜紶娑夊瘑淇℃伅 \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"login\">\r\n <!-- <un-header></un-header> -->\r\n <div class=\"login-box\">\r\n <el-card class=\"login-card\">\r\n <div slot=\"header\" class=\"login-title\">\r\n <span>娆㈣繋鐧婚檰</span>\r\n </div>\r\n\r\n <el-tabs v-model=\"activeName\" type=\"card\">\r\n <el-tab-pane label=\"鐢ㄦ埛鐧诲綍\" name=\"1\">\r\n <el-form\r\n :model=\"loginInfo\"\r\n label-width=\"80px\"\r\n :rules=\"loginRules\"\r\n :hide-required-asterisk=\"true\"\r\n ref=\"loginForm\"\r\n >\r\n <el-form-item label=\"鐢ㄦ埛鍚峔" prop=\"userName\">\r\n <el-input\r\n @keyup.enter.native=\"handleLogin('loginForm')\"\r\n v-model=\"loginInfo.userName\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"瀵嗙爜\" prop=\"password\">\r\n <el-input\r\n @keyup.enter.native=\"handleLogin('loginForm')\"\r\n v-model=\"loginInfo.password\"\r\n type=\"password\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item style=\"height: 20px;\" label=\"楠岃瘉鐮乗">\r\n <el-input\r\n @keyup.enter.native=\"handleLogin('loginForm')\"\r\n v-model=\"loginInfo.verifyCode\"\r\n style=\"width:130px;\"\r\n ></el-input>\r\n <img\r\n :src=\"verifyImgUrl\"\r\n alt=\"楠岃瘉鐮乗"\r\n style=\"float:right;margin-top:5px\"\r\n @click=\"getVerifyImgUrl\"\r\n />\r\n </el-form-item>\r\n <el-form-item>\r\n <el-checkbox v-model=\"check\" refs=\"mima\">璁颁綇瀵嗙爜</el-checkbox>\r\n </el-form-item>\r\n\r\n <!-- <div class=\"login-alert\">鍏叡鍦烘墍璇锋厧鐢�</div>\r\n\t\t\t\t\t<el-checkbox class=\"login-btn\">璁颁綇瀵嗙爜</el-checkbox> -->\r\n <el-button\r\n :loading=\"loading\"\r\n type=\"primary\"\r\n class=\"login-btn\"\r\n @click=\"handleLogin('loginForm')\"\r\n >鐧诲綍</el-button\r\n >\r\n </el-form>\r\n </el-tab-pane>\r\n <el-tab-pane label=\"闃蹭吉鏌ヨ\" name=\"2\">\r\n <el-form\r\n :model=\"antiFakeInfo\"\r\n label-width=\"80px\"\r\n :rules=\"antiFakeRules\"\r\n :hide-required-asterisk=\"true\"\r\n ref=\"antiFakeForm\"\r\n >\r\n <el-form-item label=\"鎶ュ憡缂栧彿\" prop=\"reportNumber\">\r\n <el-input\r\n @keyup.enter.native=\"searchAntiFake\"\r\n v-model=\"antiFakeInfo.reportNumber\"\r\n placeholder=\"璇疯緭鍏ユ姤鍛婄紪鍙穃"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"闃蹭吉鐮乗" prop=\"code\">\r\n <el-input\r\n @keyup.enter.native=\"searchAntiFake\"\r\n v-model=\"antiFakeInfo.code\"\r\n placeholder=\"璇疯緭鍏ラ槻浼爜\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-button\r\n style=\"margin-top:10px\"\r\n :loading=\"loading\"\r\n type=\"primary\"\r\n class=\"login-btn\"\r\n @click=\"searchAntiFake\"\r\n >鏌ヨ</el-button\r\n >\r\n </el-form>\r\n </el-tab-pane>\r\n </el-tabs>\r\n </el-card>\r\n </div>\r\n <div class=\"footer\">\r\n <div>\r\n <span style=\"padding-right:28px;\"\r\n >鐗堟潈鎵€鏈�: 涓汉鏍囨楠岃璇佽偂浠芥湁闄愬叕鍙�</span\r\n >\r\n <span>\r\n <el-image\r\n style=\"width: 20px; height: 20px;padding-right: 6px;display: inline-table;\"\r\n :src=\"require('../assets/img/batb.png')\"\r\n ></el-image>\r\n <el-link\r\n style=\"color:#606266;vertical-align: unset;\"\r\n :underline=\"false\"\r\n href=\"https://beian.miit.gov.cn/#/Integrated/index\"\r\n target=\"_blank\"\r\n >浜琁CP澶�09071042鍙�-2</el-link\r\n >\r\n <el-link\r\n style=\"color:#606266;vertical-align: unset;padding-left:5px;\"\r\n :underline=\"false\"\r\n href=\"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010502046989\"\r\n target=\"_blank\"\r\n >浜叕缃戝畨澶�11010502046989鍙�</el-link\r\n >\r\n </span>\r\n </div>\r\n <div style=\"margin-top:5px;\">\r\n 娑夊瘑涓嶄笂缃戯紝涓婄綉涓嶆秹瀵嗐€佷弗绂佸湪浜掕仈缃戜紶娑夊瘑淇℃伅\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { mapMutations } from \"vuex\";\r\nimport { getVerifyImgUrl } from \"@/utils/common\";\r\nimport common from \"../assets/js/common.js\";\r\n// import { checkVerifyCode } from '@/api/tools';\r\nimport { imgVerifyCode } from \"@/api/tools\";\r\nimport rules from \"@/utils/validate\";\r\nexport default {\r\n components: {},\r\n data() {\r\n return {\r\n activeName: \"1\",\r\n check: false,\r\n loading: false,\r\n verifyImgUrl: \"\",\r\n verifyKey: \"\",\r\n loginInfo: {\r\n userName: \"\",\r\n password: \"\",\r\n verifyCode: \"\",\r\n },\r\n antiFakeInfo: {\r\n reportNumber: \"\",\r\n code: \"\",\r\n },\r\n loginRules: {\r\n userName: rules.username,\r\n password: rules.password,\r\n },\r\n antiFakeRules: {\r\n reportNumber: { required: true, message: \"璇疯緭鍏ユ姤鍛婄紪鍙穃" },\r\n code: { required: true, message: \"璇疯緭鍏ラ槻浼爜\" },\r\n },\r\n };\r\n },\r\n methods: {\r\n ...mapMutations([\"SET_USER_INFO\"]),\r\n async getVerifyImgUrl() {\r\n const data = await getVerifyImgUrl();\r\n [this.verifyImgUrl, this.verifyKey] = data;\r\n },\r\n handleLogin(formName) {\r\n let strTem1 = this.verifyKey.toLocaleLowerCase();\r\n let strTem2 = this.loginInfo.verifyCode.toLocaleLowerCase();\r\n if (strTem1 == strTem2) {\r\n let login = {\r\n userName: this.loginInfo.userName,\r\n password: this.$getRsaCode(this.loginInfo.password),\r\n };\r\n this.$refs[formName].validate((valid) => {\r\n if (valid) {\r\n this.loading = true;\r\n this.$store\r\n .dispatch(\"user/login\", login)\r\n .then(() => {\r\n // common.setLocalStorage('OrgId',res.dataMainBody.OrgId)\r\n common.setLocalStorage(\"userName\", this.loginInfo.userName);\r\n if (this.check == true) {\r\n common.setLocalStorage(\"userPass\", this.loginInfo.password);\r\n } else {\r\n common.setLocalStorage(\"userPass\", \"\");\r\n }\r\n //鏍规嵁鐧诲綍杩斿洖鐨勬槸鍚﹀彲鏌ヨ鍏宠仈瀹㈡埛鎶ュ憡鐨勬潈闄愬瓧娈佃缃叧鑱旀姤鍛婄晫闈㈡樉绀烘垨闅愯棌(闇€姹備慨鏀规殏鏃朵笉鍔�)\r\n //localStorage.setItem('loginState', 0)\r\n\r\n this.$router.push({ name: \"Home\" });\r\n this.loading = false;\r\n })\r\n .catch(() => {\r\n // 楠岃瘉鐮佸埛鏂癨r\n this.getVerifyImgUrl();\r\n this.loginInfo.verifyCode = \"\";\r\n this.loading = false;\r\n });\r\n }\r\n });\r\n } else {\r\n this.getVerifyImgUrl();\r\n this.$message.warning(\"楠岃瘉鐮佽緭鍏ラ敊璇痋");\r\n }\r\n },\r\n searchAntiFake() {\r\n this.$refs[\"antiFakeForm\"].validate((valid) => {\r\n if (valid) {\r\n window.open(\r\n \"https://kf.cttc.net.cn/online/RandCode?reportNumber=\" +\r\n this.compileStr(this.antiFakeInfo.reportNumber) +\r\n \"&code=\" +\r\n this.compileStr(this.antiFakeInfo.code)\r\n );\r\n //window.location.href = 'http://192.168.1.56:8080?reportNumber=' + this.compileStr(this.antiFakeInfo.reportNumber) + '&code=' + this.compileStr(this.antiFakeInfo.code)\r\n }\r\n });\r\n },\r\n compileStr(code) {\r\n //瀵瑰瓧绗︿覆杩涜鍔犲瘑\r\n var c = String.fromCharCode(code.charCodeAt(0) + code.length);\r\n for (var i = 1; i < code.length; i++) {\r\n c += String.fromCharCode(code.charCodeAt(i) + code.charCodeAt(i - 1));\r\n }\r\n return escape(c);\r\n },\r\n },\r\n created() {\r\n this.getVerifyImgUrl();\r\n this.loginInfo.userName = common.getLocalStorage(\"userName\");\r\n this.loginInfo.password = common.getLocalStorage(\"userPass\");\r\n if (this.loginInfo.password != null && this.loginInfo.password != \"\") {\r\n this.check = true;\r\n }\r\n },\r\n};\r\n</script>\r\n<style scoped lang=\"scss\">\r\n.login {\r\n max-width: 100vw;\r\n height: 100%;\r\n background-color: $grayBack;\r\n box-sizing: border-box;\r\n padding: 0 0 20px 0;\r\n .login-box {\r\n position: relative;\r\n background: url(\"../assets/img/login_bg.png\") no-repeat;\r\n width: 1226px;\r\n margin: 100px auto 50px;\r\n height: 480px;\r\n .login-card {\r\n width: 380px;\r\n position: absolute;\r\n right: -40px;\r\n top: 40px;\r\n padding: 0 30px 30px 20px;\r\n .login-alert {\r\n margin-left: 80px;\r\n font-size: 14px;\r\n font-weight: bold;\r\n color: $redCol;\r\n }\r\n .login-title {\r\n font-size: 20px;\r\n font-weight: bold;\r\n // @include base-font;\r\n color: $defaultCol;\r\n // margin-bottom: 20px;\r\n }\r\n .login-btn {\r\n width: 60%;\r\n margin-left: 23%;\r\n margin-top: -20px;\r\n }\r\n }\r\n .login-footer {\r\n padding: 20px 40px 0;\r\n .el-link {\r\n cursor: pointer;\r\n }\r\n .el-link:nth-child(1) {\r\n float: left;\r\n }\r\n .el-link:nth-child(2) {\r\n float: right;\r\n }\r\n }\r\n }\r\n .footer {\r\n width: 100%;\r\n font-size: 14px;\r\n // position: absolute;\r\n // bottom:30px;\r\n margin-top: 100px;\r\n text-align: center;\r\n color: $lightGrayFont;\r\n letter-spacing: 1px;\r\n line-height: 21px;\r\n }\r\n}\r\n</style>\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!./login.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!./login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./login.vue?vue&type=template&id=68ff7e00&scoped=true&\"\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&id=68ff7e00&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 \"68ff7e00\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}