From f6b0e262db2af5ca2e5ed76f95e746c1dd3c58e3 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 01 二月 2024 15:17:47 +0800
Subject: [PATCH] 开发业务接口
---
company/src/components/business/InsuranceDetails.vue | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/company/src/components/business/InsuranceDetails.vue b/company/src/components/business/InsuranceDetails.vue
index 00dd1c0..427249e 100644
--- a/company/src/components/business/InsuranceDetails.vue
+++ b/company/src/components/business/InsuranceDetails.vue
@@ -83,7 +83,7 @@
</div>
<template v-if="type==1" v-slot:footer>
<el-button type="primary" :loading="isWorking.export" @click="check(0)">鎻愪氦閫氳繃</el-button>
- <el-button type="danger" :loading="isWorking.export" @click="check(1)">瀹℃牳涓嶉�氳繃</el-button>
+<!-- <el-button type="danger" :loading="isWorking.export" @click="check(1)">瀹℃牳涓嶉�氳繃</el-button>-->
<el-button @click="visible=false">鍙栨秷</el-button>
</template>
<template v-else v-slot:footer>
@@ -165,14 +165,16 @@
},
check(type){
this.form.dealBackApply = type;
- this.$dialog.exportConfirm('纭杩涜璇ユ搷浣滃悧锛�')
+ this.$dialog.messageConfirm('纭杩涜璇ユ搷浣滃悧锛�')
.then(() => {
this.isWorking = true
check(this.form)
.then(response => {
this.visible = false
this.$emit('success')
- })
+ }).catch(err => {
+ this.$tip.apiFailed(err)
+ })
})
.catch(() => {
})
@@ -189,9 +191,6 @@
.catch(e => {
console.log(e)
this.$message.error('鏁版嵁涓嬭浇澶辫触锛�')
- })
- .finally(() => {
- this.isWorking = false
})
})
.catch(() => {
--
Gitblit v1.9.3