Commit 835b75f3 by 潘琦

乌当区签约儿童和孕产妇签约流程与张家港孕产妇签约统一;

parent f1af7483
......@@ -1160,7 +1160,6 @@ export default {
if (this.signState === '1' && this.isSign === 1) { // 已审核未签约
this.SignatureSheetVisible = true
this.modalVisible = true
} else {
if (this.pageType === 0) {
this.$MessageBox.confirm('是否直接签约?').then(action => {
......
......@@ -1024,6 +1024,24 @@ export default {
}
},
confirmSignature () {
if (parseInt(this.pageType) === 0 || parseInt(this.pageType) === 1) {
if (this.signState === '1' && this.isSign === 0) { // 已签约已审核通过 跳转至首页
this.$router.push({
path: '/home'
})
return
} else if (this.signState === '0') { // 未审核通过 关闭页面
this.$toast({
message: '审核周期约三天,请您耐心等待!',
position: 'center',
duration: 3000
})
setTimeout(function () {
wx.closeWindow()
}, 2500)
return
}
}
this.BaseValidateHandle()
if (this.pageType === 1) { // 子女
let downState = true
......@@ -1132,7 +1150,7 @@ export default {
this.btnDisabled = false
this.$Indicator.close()
if (res.code === 200 && res.value) {
if (this.pageType === 0) {
if (this.pageType === 0 || this.pageType === 1) {
this.$toast({
message: '审核周期约三天,请您耐心等待!',
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