zx/public/kefu/js/chunk-d00c4e8c.8eca1f21.js

1 line
5.9 KiB
JavaScript
Raw Normal View History

2024-07-02 15:32:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d00c4e8c"],{"0e7a":function(t,e,n){},"51cd":function(t,e,n){"use strict";n("0e7a")},"608d":function(t,e,n){"use strict";n("b9cf")},"9ed6":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page-account"},[n("div",{staticClass:"page_wrapper"},[n("div",{staticClass:"text"},[n("div",{staticClass:"title"},[t._v(t._s(t.config.site_name||""))]),t._v(" "),n("div",{staticClass:"info"},[t._v("让客户服务如此简单")])]),t._v(" "),n("div",{staticClass:"container containerSamll"},[n("div",{staticClass:"index_from page-account-container"},[t.isWeixin?n("div",[t._m(1),t._v(" "),n("div",{ref:"qrcode",staticClass:"erweima"})]):n("div",[t._m(0),t._v(" "),n("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:t.loginForm,rules:t.loginRules,autocomplete:"on","label-position":"left"},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin(e)}}},[n("el-form-item",{attrs:{prop:"account"}},[n("el-input",{ref:"account",attrs:{placeholder:"用户名","prefix-icon":"el-icon-user",name:"username",type:"text",tabindex:"1",autocomplete:"on"},model:{value:t.loginForm.account,callback:function(e){t.$set(t.loginForm,"account",e)},expression:"loginForm.account"}})],1),t._v(" "),n("el-form-item",{attrs:{prop:"password"}},[n("el-input",{key:t.passwordType,ref:"password",attrs:{type:t.passwordType,placeholder:"密码",name:"password",tabindex:"2","auto-complete":"on","prefix-icon":"el-icon-lock"},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}}),t._v(" "),n("span",{staticClass:"show-pwd",on:{click:t.showPwd}},[n("svg-icon",{attrs:{"icon-class":"password"===t.passwordType?"eye":"eye-open"}})],1)],1),t._v(" "),n("el-form-item",{staticClass:"captcha",attrs:{prop:"code"}},[n("div",{staticClass:"captcha"},[n("el-input",{ref:"username",staticStyle:{width:"168px"},attrs:{"prefix-icon":"el-icon-message",placeholder:"验证码",name:"username",type:"text",tabindex:"3",autocomplete:"on"},model:{value:t.loginForm.code,callback:function(e){t.$set(t.loginForm,"code",e)},expression:"loginForm.code"}}),t._v(" "),n("div",{staticClass:"imgs",on:{click:function(e){return t.getCaptcha()}}},[n("img",{attrs:{src:t.captchatImg}})])],1)]),t._v(" "),n("el-button",{staticStyle:{width:"100%","margin-bottom":"30px"},attrs:{loading:t.loading,type:"primary"},nativeOn:{click:function(e){return e.preventDefault(),t.handleLogin(e)}}},[t._v("登录\n ")])],1)],1)])]),t._v(" "),-1==t.version.status?n("div",{staticClass:"record_number"},[t._v("Copyright "+t._s(t.version.year)+" "),n("a",{attrs:{href:"http://"+t.version.url,target:"_blank"}},[t._v(t._s(t.version.url))])]):n("div",{staticClass:"record_number"},[t._v("Copyright "+t._s(t.version.Copyright))])])])},o=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page-account-top"},[n("div",{staticClass:"page-account-top-logo"},[n("span",[t._v("客服登录")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page-account-top"},[n("div",{staticClass:"page-account-top-logo"},[n("span",[t._v("微信扫码登录")])])])}],a=(n("ac6a"),n("456d"),n("42e3")),r=(n("d044"),n("5f87"),n("a78e")),s=n.n(r),c={name:"Login",data:function(){var t=function(t,e,n){e?n():n(new Error("请输入用户名"))},e=function(t,e,n){e?e.length<6?n(new Error("请输入不少于6位数的密码")):n():n(new Error("请输入密码"))};return{fullWidth:document.body.clientWidth,swiperOption:{pagination:{el:".pagination"},autoplay:{enabled:!0,disableOnInteraction:!1,delay:3e3}},captchatImg:"",loginLogo:"",swiperList:[],loginForm:{account:"",password:"",key:"",code:""},loginRules:{account:[{required:!0,trigger:"blur",validator:t}],password:[{required:!0,trigger:"blur",validator:e}],code:[{required:!0,message:"请输入正确的验证码",trigger:"blur"}]},passwordType:"password",isWeixin:!1,capsTo