Commit f1af7483 by 潘琦

张家港生育全程签约代码简化;

parent f809fc3f
......@@ -1156,17 +1156,17 @@ export default {
})
return false
}
this.signCanvasW = this.$refs.signCanvasBlock.offsetWidth
if (this.signState === '1' && this.isSign === 1) { // 已审核未签约
this.SignatureSheetVisible = true
this.modalVisible = true
this.signCanvasW = this.$refs.signCanvasBlock.offsetWidth
} else {
if (this.pageType === 0) {
this.$MessageBox.confirm('是否直接签约?').then(action => {
this.isSign = 0 // 已签约
this.SignatureSheetVisible = true
this.modalVisible = true
this.signCanvasW = this.$refs.signCanvasBlock.offsetWidth
}).catch(() => {
console.log('cancel')
this.isSign = 1 // 未签约
......@@ -1176,7 +1176,6 @@ export default {
this.isSign = 0 // 已签约
this.SignatureSheetVisible = true
this.modalVisible = true
this.signCanvasW = this.$refs.signCanvasBlock.offsetWidth
}
}
},
......
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