diff --git a/src/views/ebiz/sale/InsuranceTip.vue b/src/views/ebiz/sale/InsuranceTip.vue index a62a604df..b4ea2950d 100644 --- a/src/views/ebiz/sale/InsuranceTip.vue +++ b/src/views/ebiz/sale/InsuranceTip.vue @@ -210,13 +210,29 @@ export default { }, // 点击签名 sign(val) { + console.log('签名参数',this.saleInsuredInfo.idNo,this.saleInsuredInfo.name,'keyword'+':'+ '签字日期','pageNo'+':'+ '1','index'+':'+ '1','offset'+':'+ '-150','pos'+':'+ '3') let that = this + let time = 4 this.$toast.loading({ duration: 0, // 持续展示 toast forbidClick: true, // 禁用背景点击 loadingType: 'spinner', message: '加载中……' }) + let timer = setInterval(() => { + time-- + if (time <= 0) { + time = 0 + clearInterval(timer) + this.$toast.clear() + } + }, 1000) + // this.$toast.loading({ + // duration: 0, // 持续展示 toast + // forbidClick: true, // 禁用背景点击 + // loadingType: 'spinner', + // message: '加载中……' + // }) if (val == '0') { if (this.detailJump != '1') { if (this.relationToAppnt == '1') { @@ -234,7 +250,7 @@ export default { offset: '-150', pos: '3' }).then(data => { - this.$toast.clear() + // this.$toast.clear() if (JSON.parse(data).state == '1') { this.base64 = decodeURI(JSON.parse(data).sign) this.appntSign.documentStatus = '3'