CRM_25-12-09#story#7686,调度APP中救援责任险参保咨询问题优化
This commit is contained in:
@@ -65,6 +65,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
showPoup: false,
|
showPoup: false,
|
||||||
used:false,
|
used:false,
|
||||||
|
saveLoading: true,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
@@ -73,12 +74,19 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async saveHandle() {
|
async saveHandle() {
|
||||||
await sendInsuranceEmail();
|
if( this.saveLoading ) {
|
||||||
this.$toast('操作成功');
|
try {
|
||||||
this.showPoup=false
|
this.saveLoading = false;
|
||||||
setTimeout(()=>{
|
await sendInsuranceEmail();
|
||||||
this.goBack()
|
this.$toast('操作成功');
|
||||||
},1500)
|
this.showPoup = false
|
||||||
|
setTimeout(() => {
|
||||||
|
this.goBack()
|
||||||
|
}, 1500)
|
||||||
|
} finally {
|
||||||
|
this.saveLoading = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user