You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
172 KiB
JavaScript
9 lines
172 KiB
JavaScript
3 years ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["home"],{"066f":function(t,e,r){},"0b53":function(t,e,r){},"1c81":function(t,e,r){},2943:function(t,e,r){"use strict";r("6b56")},"485b":function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return o})),r.d(e,"c",(function(){return a}));var i=r("a27e");function n(t){return Object(i["a"])({url:"/salewarehouse/register/save",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/salewarehouse/register/getCheckcode",method:"post",data:t})}function a(t){return Object(i["a"])({url:"/salewarehouse/reset/passwd",method:"post",data:t})}},"4e8f":function(t,e,r){"use strict";r("0b53")},"5bc0":function(t,e,r){"use strict";r("76af")},"6b56":function(t,e,r){},"70f5":function(t,e,r){},"76af":function(t,e,r){},"7a6e":function(t,e,r){"use strict";r.r(e);var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"error401"},[r("div",{staticClass:"error401-body-con"},[t._m(0),r("p",{staticClass:"error401-body-con-message"},[t._v("You don't have permission")]),r("div",{staticClass:"error401-btn-con"},[r("a",{staticClass:"error401-home-button",attrs:{href:"/"}},[t._v("返回首页")]),r("div",{staticClass:"error401-block-button",on:{click:t.backPage}},[t._v("返回上一页")])])])])},n=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"error401-body-con-title"},[t._v("4"),r("span",{staticClass:"error401-0-span"},[t._v("0")]),r("span",{staticClass:"error401-key-span"},[t._v("3")])])}],o={name:"Error401",methods:{backPage:function(){this.$router.go(-1)}}},a=o,s=(r("2943"),r("2877")),c=Object(s["a"])(a,i,n,!1,null,null,null);e["default"]=c.exports},"7c8c":function(t,e,r){"use strict";r("066f")},"97cd":function(t,e,r){"use strict";r.r(e);var i=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},n=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"ms-doc"})])}],o={data:function(){return{}}},a=o,s=(r("7c8c"),r("2877")),c=Object(s["a"])(a,i,n,!1,null,"53300195",null);e["default"]=c.exports},"9ed6":function(t,e,r){"use strict";r.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"login-container"},[i("el-form",{ref:"ruleForm",staticClass:"card-box login-form",attrs:{autocomplete:"on",model:t.ruleForm,rules:t.rules,"label-position":"left"}},[i("el-card",{staticClass:"box-card"},[i("div",{staticStyle:{"text-align":"center","margin-top":"10px"}},[i("img",{attrs:{alt:"element-logo",src:r("cf05")}})]),i("h3",{staticClass:"title"},[t._v("用户登录")]),i("el-form-item",{staticClass:"item",staticStyle:{"margin-top":"-20px"},attrs:{prop:"username"}},[i("el-input",{attrs:{placeholder:"账号",name:"userName",autocomplete:"on"},model:{value:t.ruleForm.userName,callback:function(e){t.$set(t.ruleForm,"userName",e)},expression:"ruleForm.userName"}},[i("i",{staticClass:"el-input__icon",attrs:{slot:"prefix"},slot:"prefix"},[i("icon-svg",{attrs:{"icon-class":"user"}})],1)])],1),i("el-form-item",{staticClass:"item",attrs:{prop:"password"}},[i("el-input",{attrs:{placeholder:"密码",name:"pwd",type:t.isShowPwd?"text":"password",autocomplete:"on"},nativeOn:{keyup:function(e){return!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin(e)}},model:{value:t.ruleForm.pwd,callback:function(e){t.$set(t.ruleForm,"pwd",e)},expression:"ruleForm.pwd"}},[i("i",{staticClass:"el-input__icon",attrs:{slot:"prefix"},slot:"prefix"},[i("icon-svg",{attrs:{"icon-class":"pwd"}})],1),i("i",{staticClass:"el-input__icon",attrs:{slot:"suffix"},on:{click:function(e){t.isShowPwd=!t.isShowPwd}},slot:"suffix"},[i("icon-svg",{attrs:{"icon-class":"eye"}})],1)])],1),i("el-form-item",{staticClass:"item",staticStyle:{"background-color":"white"},attrs:{prop:"verificationCode"}},[i("Verify",{ref:"checkV",attrs:{showButton:!1,barSize:{width:"305px",height:"37px"},vOffset:5,type:3},on:{success:function(e){t.verifyAlert("success")},error:function(e){t.verifyAlert("error")}}})],1),i("div",{staticStyle:{"text-ali
|
||
|
/*!
|
||
|
* clipboard.js v2.0.8
|
||
|
* https://clipboardjs.com/
|
||
|
*
|
||
|
* Licensed MIT © Zeno Rocha
|
||
|
*/
|
||
|
(function(e,r){t.exports=r()})(0,(function(){return function(){var t={134:function(t,e,r){"use strict";r.d(e,{default:function(){return O}});var i=r(279),n=r.n(i),o=r(370),a=r.n(o),s=r(817),c=r.n(s);function l(t){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function f(t,e,r){return e&&p(t.prototype,e),r&&p(t,r),t}var h=function(){function t(e){u(this,t),this.resolveOptions(e),this.initSelection()}return f(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var t="rtl"===document.documentElement.getAttribute("dir");this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var e=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(e,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var t=this,e=this.createFakeElement();this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(e),this.selectedText=c()(e),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=c()(this.target),this.copyText()}},{key:"copyText",value:function(){var t;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==l(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}(),d=h;function m(t){return m="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}fu
|
||
|
//# sourceMappingURL=home.58925fb8.js.map
|