自主授权

beta-enc
yishiqihuasheng 2 years ago
parent d7c1535c99
commit 0bdb8f48bb
  1. 14
      jianshui-ui/src/views/freedom/login.vue

@ -48,7 +48,7 @@
</el-form-item>
<el-form-item label="登陆方式" prop="loginType">
<el-select v-model="ruleForm.loginType" placeholder="" style="width: 100%">
<el-option label="账密手机号" value="1"></el-option>
<el-option label="账密" value="1"></el-option>
<el-option label="扫码登陆" value="2"></el-option>
</el-select>
</el-form-item>
@ -94,14 +94,14 @@
</el-form>
<el-form :model="ruleForm" ref="ruleForm" label-width="100px" class="demo-ruleForm" size="medium" v-if="ruleForm.showthree">
<el-row>
<el-row style="margin-left: 500px">
<el-col :xl="12" :lg="12" >
<el-result icon="success" title="" subTitle="">
</el-result>
</el-col>
</el-row>
<p style="text-align: center;margin-bottom: 30px">授权成功,任务可能需要5-10分钟请耐心等待...</p>
<span @click="changeShow()" style="color: #787be8;text-decoration-line: underline;margin-left: 50%">重新授权</span>
<span @click="changeShow()" style="color: #787be8;text-decoration-line: underline;margin-left: 48%">重新授权</span>
</el-form>
</div>
</template>
@ -121,8 +121,8 @@ export default {
return {
ruleForm: {
smsCode : "",
showone : false,
showtwo : true,
showone : true,
showtwo : false,
showthree : false,
nsrsbh: '',
nsrdq: '',
@ -224,13 +224,13 @@ export default {
// ajax
submitNoteResult(this.ruleForm.traceno,this.ruleForm.nsrsbh,this.ruleForm.smsCode,this.ruleForm.nsrInfo.zjh)
.then(res=>{
if (res.msg == "10011"){
if (res.msg == "10012"){
this.ruleForm.showone = false;
this.ruleForm.showtwo = false;
this.ruleForm.showthree = true;
this.loading = false;
clearInterval(timer)
}else if(res.msg == "10012"){
}else if(res.msg == "10011"){
this.ruleForm.showone = false;
this.ruleForm.showtwo = true;
this.ruleForm.showthree = false;

Loading…
Cancel
Save