Commit f9130961 by 潘琦

已签约未审核提示并且关闭当前页;

parent 48af8d90
...@@ -997,11 +997,21 @@ export default { ...@@ -997,11 +997,21 @@ export default {
} }
}, },
confirmSignature () { confirmSignature () {
if (this.signState === '1') { // 待审核 跳转至首页 if (this.signState === '1') { // 审核通过 跳转至首页
this.$router.push({ this.$router.push({
path: '/home' path: '/home'
}) })
return return
} else if (this.signState === '0') { // 未审核通过 关闭页面
this.$toast({
message: '签约成功,请等待审核!',
position: 'center',
duration: 3000
})
setTimeout(function () {
wx.closeWindow()
}, 2500)
return
} }
this.BaseValidateHandle() this.BaseValidateHandle()
...@@ -1119,7 +1129,7 @@ export default { ...@@ -1119,7 +1129,7 @@ export default {
position: 'center', position: 'center',
duration: 3000 duration: 3000
}) })
if (this.signState === '0' || this.signState === '2' || this.signState === '') { // 待审核、签约驳回、第一次签约 if (this.signState === '2' || this.signState === '') { // 签约驳回、第一次签约
setTimeout(function () { setTimeout(function () {
wx.closeWindow() wx.closeWindow()
}, 2500) }, 2500)
......
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