From 5019ed6016b47221321bf395cd102dc4b51b4724 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 05 二月 2024 09:40:43 +0800
Subject: [PATCH] Mr.Shi
---
company/src/components/business/InsuranceDetails.vue | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/company/src/components/business/InsuranceDetails.vue b/company/src/components/business/InsuranceDetails.vue
index 00dd1c0..d906679 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>
@@ -118,7 +118,7 @@
// 楠岃瘉瑙勫垯
rules: {
},
- reverse: true,
+ reverse: false,
tableData: []
}
},
@@ -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