(window["webpackjsonp"]=window["webpackjsonp"]||[]).push([["chunk-5f6d433f"],{3873:function(t,e,r){"use strict";var s=r("5193"),i=r.n(s);i.a},"3c35":function(t,e){(function(e){t.exports=e}).call(this,{})},5193:function(t,e,r){},"80c1":function(t,e,r){"use strict";r.r(e);var s=function(){var t=this,e=t.$createelement,s=t._self._c||e;return s("common-layout",[s("div",{staticclass:"sign-up-header"}),s("div",{staticclass:"card-signup header-solid h-full"},[s("div",{staticclass:"top"},[s("div",{staticclass:"header"},[s("img",{staticclass:"logo",attrs:{alt:"logo",src:r("aca7")}}),s("span",{staticclass:"title"},[t._v(t._s(t.systemname))])]),s("div",{staticclass:"desc"},[t._v(" 品格网络最新研发的第五代后台管理系统,采用国际主流的vue框架加蚂蚁科技ant design ui,广泛应用于阿里巴巴,支付宝,饿了么等知名企业。 ")])]),s("div",{staticclass:"login"},[s("a-form",{attrs:{form:t.form},on:{submit:t.onsubmit}},[s("a-tabs",{staticstyle:{padding:"0 2px"},attrs:{size:"large",tabbarstyle:{textalign:"center"}}},[s("a-tab-pane",{key:"1",attrs:{tab:"账户密码登录"}},[t.error?s("a-alert",{staticstyle:{"margin-bottom":"24px"},attrs:{type:"error",closable:!0,message:t.error,showicon:""},on:{close:t.onclose}}):t._e(),s("a-form-item",[s("a-input",{directives:[{name:"decorator",rawname:"v-decorator",value:["name",{rules:[{required:!0,message:"请输入用户名或手机号",whitespace:!0}]}],expression:"[\n 'name',\n {\n rules: [\n {\n required: true,\n message: '请输入用户名或手机号',\n whitespace: true,\n },\n ],\n },\n ]"}],attrs:{autocomplete:"autocomplete",size:"large",placeholder:"请输入用户名/手机号"}},[s("a-icon",{attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),s("a-form-item",[s("a-input",{directives:[{name:"decorator",rawname:"v-decorator",value:["password",{rules:[{required:!0,message:"请输入密码",whitespace:!0}]}],expression:"[\n 'password',\n {\n rules: [\n {\n required: true,\n message: '请输入密码',\n whitespace: true,\n },\n ],\n },\n ]"}],attrs:{size:"large",placeholder:"请输入密码",autocomplete:"autocomplete",type:"password"}},[s("a-icon",{attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1)],1)],1),s("div",[s("a-checkbox",{attrs:{checked:!0}},[t._v("自动登录")]),s("a",{staticstyle:{float:"right"}})],1),s("a-form-item",[s("a-button",{staticstyle:{width:"100%","margin-top":"24px"},attrs:{loading:t.logging,size:"large",htmltype:"submit",type:"primary"}},[t._v("登录")])],1),s("div")],1)],1)]),s("vue-particles",{staticclass:"lizi",attrs:{color:"#fff","particle-opacity":.7,"particles-number":60,"shape-type":"circle","particle-size":4,"lines-color":"#fff","lines-width":1,"line-linked":!0,"line-opacity":.4,"lines-distance":150,"move-speed":2,"hover-effect":!0,"hover-mode":"grab","click-effect":!0,"click-mode":"push"}})],1)},i=[],o=r("5530"),a=function(){var t=this,e=t.$createelement,r=t._self._c||e;return r("div",{staticclass:"common-layout"},[r("div",{staticclass:"content"},[t._t("default")],2),r("page-footer",{attrs:{"link-list":t.footerlinks,copyright:t.copyright}})],1)},n=[],c=r("613e"),h=r("2f62"),f={name:"commonlayout",components:{pagefooter:c["a"]},computed:object(o["a"])({},object(h["d"])("setting",["footerlinks","copyright"]))},u=f,l=(r("3873"),r("2877")),_=object(l["a"])(u,a,n,!1,null,"62918852",null),p=_.exports,d=r("c24f"),a=r("b775"),e=r("89a5"),y=r("8237"),b=r.n(y),r={name:"login",components:{commonlayout:p},data:function(){return{logging:!1,error:"",form:this.$form.createform(this)}},computed:{systemname:function(){return this.$store.state.setting.systemname}},methods:object(o["a"])(object(o["a"])({},object(h["c"])("account",["setuser","setpermissions","setroles"])),{},{onsubmit:function(t){var e=this;t.preventdefault(),this.form.validatefields((function(t){if(!t){e.logging=!0;var r=e.form.getfieldvalue("name"),s=b()(e.form.getfieldvalue("password"));object(d["b"])(r,s).then(e.afterlogin)}}))},afterlogin:function(t){var e=this;this.logging=!1;var r=t.data;if(r.code>=0){var s=r.data,i=s.user,o=s.permissions,a=s.roles;this.setuser(i),this.setpermissions(o),this.setroles(a),object(a["setauthorization"])({token:r.data.token,expireat:new date(r.data.expireat)}),object(d["a"])().then((function(t){var s=t.data.data;object(e["d"])(s),e.$router.push("/workplace"),e.$message.success(r.message,3)}))}else this.error=r.message},onclose:function(){this.error=!1}})},h=r,m=(r("f63c"),object(l["a"])(h,s,i,!1,null,"02440dbc",null)),s=m.exports;e["default"]=s},8237:function(module,exports,__webpack_require__){(function(process,global){var __webpack_amd_define_result__; /** * [js-md5]{@link https://github.com/emn178/js-md5} * * @namespace md5 * @version 0.7.3 * @author chen, yi-cyuan [emn178@gmail.com] * @copyright chen, yi-cyuan 2014-2017 * @license mit */(function(){"use strict";var error="input is invalid type",window="object"===typeof window,root=window?window:{};root.js_md5_no_window&&(window=!1);var web_worker=!window&&"object"===typeof self,node_js=!root.js_md5_no_node_js&&"object"===typeof process&&process.versions&&process.versions.node;node_js?root=global:web_worker&&(root=self);var common_js=!root.js_md5_no_common_js&&"object"===typeof module&&module.exports,amd=__webpack_require__("3c35"),array_buffer=!root.js_md5_no_array_buffer&&"undefined"!==typeof arraybuffer,hex_chars="0123456789abcdef".split(""),extra=[128,32768,8388608,-2147483648],shift=[0,8,16,24],output_types=["hex","array","digest","buffer","arraybuffer","base64"],base64_encode_char="abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(array_buffer){var buffer=new arraybuffer(68);buffer8=new uint8array(buffer),blocks=new uint32array(buffer)}!root.js_md5_no_node_js&&array.isarray||(array.isarray=function(t){return"[object array]"===object.prototype.tostring.call(t)}),!array_buffer||!root.js_md5_no_array_buffer_is_view&&arraybuffer.isview||(arraybuffer.isview=function(t){return"object"===typeof t&&t.buffer&&t.buffer.constructor===arraybuffer});var createoutputmethod=function(t){return function(e){return new md5(!0).update(e)[t]()}},createmethod=function(){var t=createoutputmethod("hex");node_js&&(t=nodewrap(t)),t.create=function(){return new md5},t.update=function(e){return t.create().update(e)};for(var e=0;e>2]|=t[o]<>6,c[i++]=128|63&s):s<55296||s>=57344?(c[i++]=224|s>>12,c[i++]=128|s>>6&63,c[i++]=128|63&s):(s=65536+((1023&s)<<10|1023&t.charcodeat(++o)),c[i++]=240|s>>18,c[i++]=128|s>>12&63,c[i++]=128|s>>6&63,c[i++]=128|63&s);else for(i=this.start;o>2]|=s<>2]|=(192|s>>6)<>2]|=(128|63&s)<=57344?(n[i>>2]|=(224|s>>12)<>2]|=(128|s>>6&63)<>2]|=(128|63&s)<>2]|=(240|s>>18)<>2]|=(128|s>>12&63)<>2]|=(128|s>>6&63)<>2]|=(128|63&s)<=64?(this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hbytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastbyteindex;t[e>>2]|=extra[3&e],e>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hbytes<<3|this.bytes>>>29,this.hash()}},md5.prototype.hash=function(){var t,e,r,s,i,o,a=this.blocks;this.first?(t=a[0]-680876937,t=(t<<7|t>>>25)-271733879<<0,s=(-1732584194^2004318071&t)+a[1]-117830708,s=(s<<12|s>>>20)+t<<0,r=(-271733879^s&(-271733879^t))+a[2]-1126478375,r=(r<<17|r>>>15)+s<<0,e=(t^r&(s^t))+a[3]-1316259209,e=(e<<22|e>>>10)+r<<0):(t=this.h0,e=this.h1,r=this.h2,s=this.h3,t+=(s^e&(r^s))+a[0]-680876936,t=(t<<7|t>>>25)+e<<0,s+=(r^t&(e^r))+a[1]-389564586,s=(s<<12|s>>>20)+t<<0,r+=(e^s&(t^e))+a[2]+606105819,r=(r<<17|r>>>15)+s<<0,e+=(t^r&(s^t))+a[3]-1044525330,e=(e<<22|e>>>10)+r<<0),t+=(s^e&(r^s))+a[4]-176418897,t=(t<<7|t>>>25)+e<<0,s+=(r^t&(e^r))+a[5]+1200080426,s=(s<<12|s>>>20)+t<<0,r+=(e^s&(t^e))+a[6]-1473231341,r=(r<<17|r>>>15)+s<<0,e+=(t^r&(s^t))+a[7]-45705983,e=(e<<22|e>>>10)+r<<0,t+=(s^e&(r^s))+a[8]+1770035416,t=(t<<7|t>>>25)+e<<0,s+=(r^t&(e^r))+a[9]-1958414417,s=(s<<12|s>>>20)+t<<0,r+=(e^s&(t^e))+a[10]-42063,r=(r<<17|r>>>15)+s<<0,e+=(t^r&(s^t))+a[11]-1990404162,e=(e<<22|e>>>10)+r<<0,t+=(s^e&(r^s))+a[12]+1804603682,t=(t<<7|t>>>25)+e<<0,s+=(r^t&(e^r))+a[13]-40341101,s=(s<<12|s>>>20)+t<<0,r+=(e^s&(t^e))+a[14]-1502002290,r=(r<<17|r>>>15)+s<<0,e+=(t^r&(s^t))+a[15]+1236535329,e=(e<<22|e>>>10)+r<<0,t+=(r^s&(e^r))+a[1]-165796510,t=(t<<5|t>>>27)+e<<0,s+=(e^r&(t^e))+a[6]-1069501632,s=(s<<9|s>>>23)+t<<0,r+=(t^e&(s^t))+a[11]+643717713,r=(r<<14|r>>>18)+s<<0,e+=(s^t&(r^s))+a[0]-373897302,e=(e<<20|e>>>12)+r<<0,t+=(r^s&(e^r))+a[5]-701558691,t=(t<<5|t>>>27)+e<<0,s+=(e^r&(t^e))+a[10]+38016083,s=(s<<9|s>>>23)+t<<0,r+=(t^e&(s^t))+a[15]-660478335,r=(r<<14|r>>>18)+s<<0,e+=(s^t&(r^s))+a[4]-405537848,e=(e<<20|e>>>12)+r<<0,t+=(r^s&(e^r))+a[9]+568446438,t=(t<<5|t>>>27)+e<<0,s+=(e^r&(t^e))+a[14]-1019803690,s=(s<<9|s>>>23)+t<<0,r+=(t^e&(s^t))+a[3]-187363961,r=(r<<14|r>>>18)+s<<0,e+=(s^t&(r^s))+a[8]+1163531501,e=(e<<20|e>>>12)+r<<0,t+=(r^s&(e^r))+a[13]-1444681467,t=(t<<5|t>>>27)+e<<0,s+=(e^r&(t^e))+a[2]-51403784,s=(s<<9|s>>>23)+t<<0,r+=(t^e&(s^t))+a[7]+1735328473,r=(r<<14|r>>>18)+s<<0,e+=(s^t&(r^s))+a[12]-1926607734,e=(e<<20|e>>>12)+r<<0,i=e^r,t+=(i^s)+a[5]-378558,t=(t<<4|t>>>28)+e<<0,s+=(i^t)+a[8]-2022574463,s=(s<<11|s>>>21)+t<<0,o=s^t,r+=(o^e)+a[11]+1839030562,r=(r<<16|r>>>16)+s<<0,e+=(o^r)+a[14]-35309556,e=(e<<23|e>>>9)+r<<0,i=e^r,t+=(i^s)+a[1]-1530992060,t=(t<<4|t>>>28)+e<<0,s+=(i^t)+a[4]+1272893353,s=(s<<11|s>>>21)+t<<0,o=s^t,r+=(o^e)+a[7]-155497632,r=(r<<16|r>>>16)+s<<0,e+=(o^r)+a[10]-1094730640,e=(e<<23|e>>>9)+r<<0,i=e^r,t+=(i^s)+a[13]+681279174,t=(t<<4|t>>>28)+e<<0,s+=(i^t)+a[0]-358537222,s=(s<<11|s>>>21)+t<<0,o=s^t,r+=(o^e)+a[3]-722521979,r=(r<<16|r>>>16)+s<<0,e+=(o^r)+a[6]+76029189,e=(e<<23|e>>>9)+r<<0,i=e^r,t+=(i^s)+a[9]-640364487,t=(t<<4|t>>>28)+e<<0,s+=(i^t)+a[12]-421815835,s=(s<<11|s>>>21)+t<<0,o=s^t,r+=(o^e)+a[15]+530742520,r=(r<<16|r>>>16)+s<<0,e+=(o^r)+a[2]-995338651,e=(e<<23|e>>>9)+r<<0,t+=(r^(e|~s))+a[0]-198630844,t=(t<<6|t>>>26)+e<<0,s+=(e^(t|~r))+a[7]+1126891415,s=(s<<10|s>>>22)+t<<0,r+=(t^(s|~e))+a[14]-1416354905,r=(r<<15|r>>>17)+s<<0,e+=(s^(r|~t))+a[5]-57434055,e=(e<<21|e>>>11)+r<<0,t+=(r^(e|~s))+a[12]+1700485571,t=(t<<6|t>>>26)+e<<0,s+=(e^(t|~r))+a[3]-1894986606,s=(s<<10|s>>>22)+t<<0,r+=(t^(s|~e))+a[10]-1051523,r=(r<<15|r>>>17)+s<<0,e+=(s^(r|~t))+a[1]-2054922799,e=(e<<21|e>>>11)+r<<0,t+=(r^(e|~s))+a[8]+1873313359,t=(t<<6|t>>>26)+e<<0,s+=(e^(t|~r))+a[15]-30611744,s=(s<<10|s>>>22)+t<<0,r+=(t^(s|~e))+a[6]-1560198380,r=(r<<15|r>>>17)+s<<0,e+=(s^(r|~t))+a[13]+1309151649,e=(e<<21|e>>>11)+r<<0,t+=(r^(e|~s))+a[4]-145523070,t=(t<<6|t>>>26)+e<<0,s+=(e^(t|~r))+a[11]-1120210379,s=(s<<10|s>>>22)+t<<0,r+=(t^(s|~e))+a[2]+718787259,r=(r<<15|r>>>17)+s<<0,e+=(s^(r|~t))+a[9]-343485551,e=(e<<21|e>>>11)+r<<0,this.first?(this.h0=t+1732584193<<0,this.h1=e-271733879<<0,this.h2=r-1732584194<<0,this.h3=s+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+e<<0,this.h2=this.h2+r<<0,this.h3=this.h3+s<<0)},md5.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,r=this.h2,s=this.h3;return hex_chars[t>>4&15]+hex_chars[15&t]+hex_chars[t>>12&15]+hex_chars[t>>8&15]+hex_chars[t>>20&15]+hex_chars[t>>16&15]+hex_chars[t>>28&15]+hex_chars[t>>24&15]+hex_chars[e>>4&15]+hex_chars[15&e]+hex_chars[e>>12&15]+hex_chars[e>>8&15]+hex_chars[e>>20&15]+hex_chars[e>>16&15]+hex_chars[e>>28&15]+hex_chars[e>>24&15]+hex_chars[r>>4&15]+hex_chars[15&r]+hex_chars[r>>12&15]+hex_chars[r>>8&15]+hex_chars[r>>20&15]+hex_chars[r>>16&15]+hex_chars[r>>28&15]+hex_chars[r>>24&15]+hex_chars[s>>4&15]+hex_chars[15&s]+hex_chars[s>>12&15]+hex_chars[s>>8&15]+hex_chars[s>>20&15]+hex_chars[s>>16&15]+hex_chars[s>>28&15]+hex_chars[s>>24&15]},md5.prototype.tostring=md5.prototype.hex,md5.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,r=this.h2,s=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&e,e>>8&255,e>>16&255,e>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255,255&s,s>>8&255,s>>16&255,s>>24&255]},md5.prototype.array=md5.prototype.digest,md5.prototype.arraybuffer=function(){this.finalize();var t=new arraybuffer(16),e=new uint32array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},md5.prototype.buffer=md5.prototype.arraybuffer,md5.prototype.base64=function(){for(var t,e,r,s="",i=this.array(),o=0;o<15;)t=i[o++],e=i[o++],r=i[o++],s+=base64_encode_char[t>>>2]+base64_encode_char[63&(t<<4|e>>>4)]+base64_encode_char[63&(e<<2|r>>>6)]+base64_encode_char[63&r];return t=i[o],s+=base64_encode_char[t>>>2]+base64_encode_char[t<<4&63]+"==",s};var exports=createmethod();common_js?module.exports=exports:(root.md5=exports,amd&&(__webpack_amd_define_result__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__webpack_amd_define_result__||(module.exports=__webpack_amd_define_result__)))})()}).call(this,__webpack_require__("4362"),__webpack_require__("c8ba"))},a115:function(t,e,r){},f63c:function(t,e,r){"use strict";var s=r("a115"),i=r.n(s);i.a}}]);