You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
10 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-25d00723"],{"00dd":function(e,t,s){e.exports=s.p+"static/img/login_left.e1ecfbd5.png"},"15aa":function(e,t,s){e.exports=s.p+"static/img/yxt-logo.0607a5f3.png"},"1cdb":function(e,t,s){"use strict";s("aabc")},aabc:function(e,t,s){},dc3f9:function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"login"},[e._m(0),t("div",{staticClass:"main"},[t("img",{staticStyle:{width:"50%",height:"100%"},attrs:{src:s("00dd")}}),t("div",{directives:[{name:"show",rawName:"v-show",value:0==e.register,expression:"register==0"}],staticClass:"main-right"},[t("span",{staticClass:"main-right-title"},[e._v("欢迎登录商享通管理后台")]),t("div",{staticClass:"main-right-table"},[t("div",{class:1==e.tableIndex?"main-right-table-text1":"main-right-table-text3",staticStyle:{cursor:"pointer"},on:{click:function(t){return e.tableClick(1)}}},[e._v(" 密码登录")]),t("div",{class:2==e.tableIndex?"main-right-table-text2":"main-right-table-text4",staticStyle:{cursor:"pointer"},on:{click:function(t){return e.tableClick(2)}}},[e._v(" 验证码登录")])]),t("div",{directives:[{name:"show",rawName:"v-show",value:1==e.tableIndex,expression:"tableIndex==1"}],staticClass:"main-right-table-password"},[t("el-input",{staticClass:"input",attrs:{placeholder:"请输入手机号/邮箱",clearable:""},model:{value:e.loginForm.userName,callback:function(t){e.$set(e.loginForm,"userName",t)},expression:"loginForm.userName"}}),t("el-input",{staticClass:"input",attrs:{placeholder:"请输入密码",type:"password","show-password":""},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}})],1),t("div",{directives:[{name:"show",rawName:"v-show",value:2==e.tableIndex,expression:"tableIndex==2"}],staticClass:"main-right-table-code"},[t("el-input",{staticClass:"input",attrs:{placeholder:"请输入手机号/邮箱",clearable:""},model:{value:e.loginForm.userName,callback:function(t){e.$set(e.loginForm,"userName",t)},expression:"loginForm.userName"}}),t("div",{staticStyle:{display:"flex","flex-direction":"row","align-items":"center",width:"100%"}},[t("el-input",{staticClass:"input",staticStyle:{flex:"1","margin-right":"10px"},attrs:{maxlength:"6",placeholder:"请输入验证码"},model:{value:e.loginForm.verifyCode,callback:function(t){e.$set(e.loginForm,"verifyCode",t)},expression:"loginForm.verifyCode"}}),t("span",{class:e.sendCodeType?"sendCode1":"sendCode2",staticStyle:{cursor:"pointer"},on:{click:e.sendCode}},[e._v(e._s(e.sendCodeText))])],1)],1),t("el-button",{staticStyle:{width:"65%","margin-top":"30px","font-size":"25px","line-height":"40px"},attrs:{type:"primary",size:"small"},on:{click:e.login}},[e._v("登录")]),t("div",{staticClass:"main-right-bom"},[t("el-checkbox",{staticClass:"main-right-bom-left",model:{value:e.checkbox,callback:function(t){e.checkbox=t},expression:"checkbox"}},[e._v("7天内免登录")])],1)],1)])])},o=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"logoTitle",staticStyle:{"margin-left":"50px","margin-top":"50px"}},[t("img",{staticStyle:{width:"250px",height:"50px","margin-right":"10px"},attrs:{src:s("15aa")}})])}],a=s("7742"),n=s("1d71");function r(e,t,s){var i=new Date;i.setDate(i.getDate()+s),document.cookie=e+"="+t+"; expires="+i}function d(e){for(var t=document.cookie.split("; "),s=0;s<t.length;s++){var i=t[s].split("=");if(i[0]==e)return i[1]}return""}function l(e){r(e,1,-1)}var g={data:function(){return{checkbox:!1,register:0,registerStep:1,tableIndex:1,sendCodeText:"发送验证码",sendCodeType:!1,totalTime:10,timer:"",sendCodeText2:"发送验证码",sendCodeType2:!1,totalTime2:10,timer2:"",check:!1,registerInfo:{mobile:"",userSid:"",sourceSid:"d936f1ba-03c3-11ec-bf08-48452053aa45"},loginForm:{userName:"",password:"",verifyCode:"",type:"1"},loading:!1,loginCode:!1,showMsg:!1,forgetPwd:!1,nopassword:{userPhone:"",userName:""},options:n["b"],selectedOptions:[],companyList:[]}},created:function(){d("pas")&&d("name")?(this.loginForm.userNa