mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
不二次认证取消提示框
This commit is contained in:
@@ -25,6 +25,7 @@ export default {
|
||||
statusInfo:'',
|
||||
result:'',
|
||||
newTeacherId:'',
|
||||
isFalse: true,
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -41,10 +42,14 @@ export default {
|
||||
secondExamine({teacherId:this.teacherId,second,}).then(res=>{
|
||||
this.newTeacherId=res.data.replace(/[^0-9]/ig,'')
|
||||
if (res.code==200){
|
||||
this.$router.push({
|
||||
path:'/need/twoathentication',
|
||||
query:{teacherId:this.newTeacherId}
|
||||
})
|
||||
if(second==1){
|
||||
this.$router.push({
|
||||
path:'/need/twoathentication',
|
||||
query:{teacherId:this.newTeacherId}
|
||||
})
|
||||
}else{
|
||||
this.isFalse = false
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -196,7 +201,7 @@ export default {
|
||||
<div v-if="statusInfo.reviewResult==0" class="score" style="color: #4b7900;">恭喜您,您的认证分数为{{ result.avgScore }}分,已经通过认证!</div>
|
||||
<div v-if="statusInfo.reviewResult==1" class="score" style="color: #ff0000">很遗憾,您的认证分数为{{ result.avgScore }}分,没有通过认证!</div>
|
||||
</div>
|
||||
<div class="twoFactorAuthentication" v-if="statusInfo.reviewResult==1">
|
||||
<div class="twoFactorAuthentication" v-if="statusInfo.reviewResult==1&&isFalse&&statusInfo.second!=2">
|
||||
<div class="remind">是否进行二次认证?</div>
|
||||
<div style="display: flex;justify-content: center;align-items: center">
|
||||
<el-button type="primary" @click="getoFactor(1)">是</el-button>
|
||||
|
||||
Reference in New Issue
Block a user