diff --git a/jianshui-ui/src/views/freedom/login.vue b/jianshui-ui/src/views/freedom/login.vue
index c7e62f1..d8454b2 100644
--- a/jianshui-ui/src/views/freedom/login.vue
+++ b/jianshui-ui/src/views/freedom/login.vue
@@ -2,7 +2,7 @@
自主授权登陆
-
+
@@ -82,7 +82,7 @@
-
+
短信验证码已发送,请提交短信验证码
@@ -92,6 +92,17 @@
返回授权
+
+
+
+
+
+
+
+
+ 授权成功,任务可能需要5-10分钟,请耐心等待...
+ 返回授权
+
@@ -110,7 +121,9 @@
return {
ruleForm: {
smsCode : "",
- show : true,
+ showone : true,
+ showtwo : false,
+ showthree : false,
nsrsbh: '',
nsrdq: '',
loginType: '1',
@@ -166,7 +179,9 @@
login(this.ruleForm).then(res=>{
if (res.code == 200){
this.ruleForm.traceno = res.msg;
- this.ruleForm.show = false;
+ this.ruleForm.showone = false;
+ this.ruleForm.showtwo = true;
+ this.ruleForm.showthree = false;
}else {
this.$alert("登陆失败,失败原因"+res.msg+"")
}
@@ -180,13 +195,24 @@
},
submitFormWithMsgCode(){
submitNote(this.ruleForm.traceno,this.ruleForm.nsrsbh,this.ruleForm.smsCode,this.ruleForm.nsrInfo.zjh)
- .then();
+ .then(res=>{
+ if (res.data.code == "S000"){
+ this.ruleForm.showone = false;
+ this.ruleForm.showtwo = false;
+ this.ruleForm.showthree = true;
+
+ }else {
+ alter(res.data.msg)
+ }
+ });
},
resetForm(formName) {
this.$refs[formName].resetFields();
},
changeShow(){
- this.ruleForm.show = true;
+ this.ruleForm.showone = true;
+ this.ruleForm.showtwo = false;
+ this.ruleForm.showthree = false;
}
}