Commit 470b556c authored by 吴冠's avatar 吴冠

msg

parent bbb608ef
...@@ -158,6 +158,8 @@ ...@@ -158,6 +158,8 @@
this.$router.push("/") this.$router.push("/")
},1500) },1500)
/* this.$message.success(msg) */ /* this.$message.success(msg) */
}else{
this.$message.error(msg)
} }
if(code==502){ if(code==502){
/* 审核未通过 说明拒绝原因 */ /* 审核未通过 说明拒绝原因 */
...@@ -169,12 +171,19 @@ ...@@ -169,12 +171,19 @@
} }
if(code==501){ if(code==501){
/* 审核中 */ /* 审核中 */
this.$message.error(msg)
Cookies.set("code",data.code) Cookies.set("code",data.code)
this.$router.push('/login/auditStatus') this.$router.push('/login/auditStatus')
}/* else{ }/* else{
Cookies.set("code",data.code) Cookies.set("code",data.code)
this.$router.push('/login/auditStatus') this.$router.push('/login/auditStatus')
} */ } */
if(code==503){
/* 禁用 */
this.$message.error(msg)
Cookies.set("code",data.code)
this.$router.push('/login/auditStatus')
}
} }
} catch (err) { } catch (err) {
console.log(err); console.log(err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment