Commit 2cb97849 by 潘琦

乌当签约页签约以后审核未通过停留在当前页,审核通过则进入首页;

parent a644bc7a
......@@ -778,11 +778,11 @@ export default {
}
// 0=待审核 1=审核通过 2=审核不通过 3=审核已取消
if (data.state === '1' && this.pageType === 0) { // 孕产妇审核通过跳转至首页
if (data.state === '1' && (this.pageType === 0 || this.pageType === 1)) { // 审核通过跳转至首页
this.$router.push({
path: '/home'
})
} else if (data.state === '0' && this.pageType === 0) {
} else if (data.state === '0' && (this.pageType === 0 || this.pageType === 1)) {
this.$toast({
message: '审核周期约三天,请您耐心等待!',
position: 'center',
......@@ -1163,13 +1163,13 @@ export default {
}
} else if (this.pageType === 1) {
this.$toast({
message: '保存成功!',
message: '审核周期约三天,请您耐心等待!',
position: 'center',
duration: 3000
})
this.$router.push({
path: '/home'
})
// this.$router.push({
// path: '/home'
// })
}
} else if (res.data.code !== 200) {
this.$toast({
......
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