Commit 6533afbd by 潘琦

乌当生育全程签约逻辑变更;

parent 835b75f3
...@@ -778,7 +778,7 @@ export default { ...@@ -778,7 +778,7 @@ export default {
} }
// 0=待审核 1=审核通过 2=审核不通过 3=审核已取消 // 0=待审核 1=审核通过 2=审核不通过 3=审核已取消
if (data.state === '1') { // 审核通过跳转至首页 if (data.state === '1' && this.pageType === 0) { // 孕产妇审核通过跳转至首页
this.$router.push({ this.$router.push({
path: '/home' path: '/home'
}) })
...@@ -1024,8 +1024,8 @@ export default { ...@@ -1024,8 +1024,8 @@ export default {
} }
}, },
confirmSignature () { confirmSignature () {
if (parseInt(this.pageType) === 0 || parseInt(this.pageType) === 1) { if (parseInt(this.pageType) === 0) {
if (this.signState === '1' && this.isSign === 0) { // 已签约已审核通过 跳转至首页 if (this.signState === '1') { // 已审核通过 跳转至首页
this.$router.push({ this.$router.push({
path: '/home' path: '/home'
}) })
...@@ -1150,7 +1150,7 @@ export default { ...@@ -1150,7 +1150,7 @@ export default {
this.btnDisabled = false this.btnDisabled = false
this.$Indicator.close() this.$Indicator.close()
if (res.code === 200 && res.value) { if (res.code === 200 && res.value) {
if (this.pageType === 0 || this.pageType === 1) { if (this.pageType === 0) {
this.$toast({ this.$toast({
message: '审核周期约三天,请您耐心等待!', message: '审核周期约三天,请您耐心等待!',
position: 'center', position: 'center',
......
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