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
8.4 KiB

4 months ago
"use strict";(self["webpackChunkagile_portal_front"]=self["webpackChunkagile_portal_front"]||[]).push([[665],{77665:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"find-password container"},[t("h3",{staticClass:"title"},[e._v("忘记密码")]),t("el-card",{staticClass:"procees-contaner"},[t("el-steps",{attrs:{active:e.processActive,"align-center":""}},[t("el-step",{attrs:{title:"填写账号信息",description:""}}),t("el-step",{attrs:{title:"设置新密码",description:""}}),t("el-step",{attrs:{title:"完成",description:""}})],1),1==e.processActive?t("el-form",{ref:"form",attrs:{rules:e.rules,model:e.form,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"用户名",prop:"username"}},[t("el-input",{model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),e.form.phonenumber?t("el-form-item",{attrs:{label:"注册手机号"}},[t("el-col",{attrs:{span:20}},[t("span",[e._v(e._s(e.form.phonenumber))])]),t("el-col",{attrs:{span:4}})],1):e._e(),t("el-form-item",{attrs:{label:"短信验证码",prop:"code"}},[t("el-col",{attrs:{span:20}},[t("el-input",{attrs:{placeholder:"请输入验证码"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}})],1),t("el-col",{attrs:{span:4}},[t("el-button",{directives:[{name:"show",rawName:"v-show",value:10===e.countDown,expression:"countDown === 10"}],staticClass:"btn-get-code",attrs:{size:"small",type:"primary",plain:""},on:{click:e.getSmgCode}},[e._v("获取验证码")]),t("el-button",{directives:[{name:"show",rawName:"v-show",value:10!==e.countDown,expression:"countDown !== 10"}],staticClass:"btn-get-code",attrs:{size:"small",disabled:""}},[e._v("重新获取("+e._s(e.countDown)+")")])],1)],1),t("el-form-item",{attrs:{label:""}},[t("el-button",{attrs:{type:"primary"},on:{click:e.processActiveAdd}},[e._v(" 下一步")])],1)],1):e._e(),2==e.processActive?t("el-form",{ref:"form",attrs:{rules:e.rules,model:e.form,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"新密码",prop:"password"}},[t("el-input",{attrs:{type:e.flagType,"auto-complete":"off",placeholder:""},on:{input:e.strengthColor},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}},[t("i",{staticClass:"el-input__icon el-icon-view",staticStyle:{cursor:"pointer"},attrs:{slot:"suffix"},on:{click:function(t){return e.getFlageye()}},slot:"suffix"})]),t("div",{staticClass:"divClass"},[t("span",{class:"1"==e.passwords?"weak":"2"==e.passwords?"medium":"3"==e.passwords?"strong":""}),t("span",{class:"2"==e.passwords?"medium":"3"==e.passwords?"strong":""}),t("span",{class:"3"==e.passwords?"strong":""})])],1),t("el-form-item",{attrs:{label:"确认密码",prop:"passwords"}},[t("el-input",{attrs:{type:"password"},model:{value:e.form.passwords,callback:function(t){e.$set(e.form,"passwords",t)},expression:"form.passwords"}})],1),t("el-form-item",{attrs:{label:""}},[t("el-button",{attrs:{type:"primary"},on:{click:e.processActiveRome}},[e._v(" 上一步")]),t("el-button",{attrs:{type:"primary"},on:{click:e.handleAuthon}},[e._v(" 提交")])],1)],1):e._e(),3==e.processActive?t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"0px"}},[t("el-form-item",{attrs:{label:""}},[t("div",{staticClass:"success-tips",staticStyle:{color:"#1ae51ad1","font-size":"24px","font-weight":"600","text-align":"center"}},[t("i",{staticClass:"icon el-icon-success"}),e._v(" 修改成功")]),t("div",{staticClass:"go-back",staticStyle:{"text-align":"center"}},[t("span",{staticStyle:{color:"red","font-size":"18px","font-weight":"bold"}},[e._v(e._s(e.remainingTime))]),e._v("秒后 "),t("span",[e._v("自动返回登录页")])]),t("div",{staticClass:"btn-back",staticStyle:{"text-align":"center"}},[t("el-button",{attrs:{type:"primary"}},[t("router-link",{attrs:{to:"/login"}},[e._v("立即返回")])],1)],1)])],1):e._e()],1)],1)},o=[],n=(r(32564),r(83710),r(32900)),a=r(12223),i=r(41051);const l={name:"FindPwd",data:function(){return{isShowMenu:!1,passw