zx/public/system/js/chunk-ddacec54.9613a217.js

1 line
36 KiB
JavaScript
Raw Permalink Normal View History

2024-07-02 15:32:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ddacec54"],{"101b":function(e,t,n){"use strict";n("9e97")},"10cc":function(e,t,n){},"32a9":function(e,t,n){"use strict";n("c17c")},"47d3":function(e,t,n){"use strict";n("9345")},"73ac":function(e,t,n){"use strict";n("cb54")},"8bf2":function(e,t,n){e.exports=n.p+"system/img/wutu.d797d845.png"},9345:function(e,t,n){},"9e97":function(e,t,n){},c17c:function(e,t,n){},c7de:function(e,t,n){e.exports=n.p+"system/img/ren.c7bc0d99.png"},cb54:function(e,t,n){},da33:function(e,t,n){"use strict";n("10cc")},f28d:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},i=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("iframe",{attrs:{src:"https://api.crmeb.com/",frameborder:"0",height:"100%",width:"100%",id:"iframe"}})])}],a=(n("a481"),n("c80c")),r=(n("96cf"),n("3b8d")),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-row",[n("el-col",{attrs:{span:24}},[n("div",{staticClass:"index_from page-account-container"},[n("div",{staticClass:"page-account-top "},[n("span",{staticClass:"page-account-top-tit"},[e._v("一号通账户登录")])]),e._v(" "),n("el-form",{ref:"formInline",attrs:{model:e.formInline,rules:e.ruleInline},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSubmit("formInline")}},nativeOn:{submit:function(e){e.preventDefault()}}},[n("el-form-item",{staticClass:"maxInpt",attrs:{prop:"sms_account"}},[n("el-input",{attrs:{type:"text",prefix:"ios-contact-outline",placeholder:"请输入手机号"},model:{value:e.formInline.account,callback:function(t){e.$set(e.formInline,"account",t)},expression:"formInline.account"}})],1),e._v(" "),n("el-form-item",{staticClass:"maxInpt",attrs:{prop:"sms_token"}},[n("el-input",{attrs:{type:"password",prefix:"ios-lock-outline",placeholder:"请输入密码"},model:{value:e.formInline.password,callback:function(t){e.$set(e.formInline,"password",t)},expression:"formInline.password"}})],1),e._v(" "),n("el-form-item",{staticClass:"maxInpt"},[n("el-button",{staticClass:"btn",attrs:{type:"primary"},on:{click:function(t){return e.handleSubmit("formInline")}}},[e._v("登录")])],1)],1),e._v(" "),n("div",{staticClass:"page-account-other"},[n("span",{on:{click:e.changePassword}},[e._v("忘记密码 |")]),e._v(" "),n("span",{on:{click:e.changeReg}},[e._v("注册账户")])])],1)])],1)},c=[],l=(n("7f7f"),n("90e7")),u={name:"login",data:function(){var e=function(e,t,n){if(!t)return n(new Error("请填写手机号"));/^1[3456789]\d{9}$/.test(t)?n():n(new Error("手机号格式不正确!"))};return{formInline:{account:"",password:""},ruleInline:{account:[{required:!0,validator:e,trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},created:function(){var e=this;document.onkeydown=function(t){var n=window.event.keyCode;13===n&&e.handleSubmit("formInline")}},methods:{handleSubmit:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;Object(l["o"])(t.formInline).then(function(){var e=Object(r["a"])(Object(a["a"])().mark((function e(n){return Object(a["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$message.success("登录成功!"),t.$emit("on-Login");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.message)}))}))},changePassword:function(){this.$emit("change")},changeReg:function(){this.$emit("changes")}}},m=u,p=(n("32a9"),n("2877")),h=Object(p["a"])(m,o,c,!1,null,"16500284",null),f=h.exports,d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-row",{attrs:{justify:"center",align:"middle"}},[n("el-col",{staticClass:"mb50",staticStyle:{"margin-top":"70px"},attrs:{span:24}},[n("el-steps",{attrs:{active:e.current,"align-center":"","finish-status":"success"}},[n("el-step",{attrs:{title:"验证账号信息"}}),e._v(" "),n("el-step",{attrs:{title:"修改账户密码"}}),e._v(" "),n("el-step",{attrs:{title:"登录"}})],1)],1),e.