From 5725e0d4bcbc3aa721c1672f43d3e5fa6f06bb2b Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 03 四月 2024 14:02:56 +0800
Subject: [PATCH] git ch
---
company/src/components/business/InsuranceDetails.vue | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/company/src/components/business/InsuranceDetails.vue b/company/src/components/business/InsuranceDetails.vue
index 00dd1c0..52bb12c 100644
--- a/company/src/components/business/InsuranceDetails.vue
+++ b/company/src/components/business/InsuranceDetails.vue
@@ -83,8 +83,11 @@
</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-if="type==2" v-slot:footer>
+ <el-button @click="visible=false">杩斿洖</el-button>
</template>
<template v-else v-slot:footer>
<el-button type="primary" :loading="isWorking.export" @click="exportComFilesDo">浼佷笟璇佷欢</el-button>
@@ -118,7 +121,7 @@
// 楠岃瘉瑙勫垯
rules: {
},
- reverse: true,
+ reverse: false,
tableData: []
}
},
@@ -135,6 +138,7 @@
this.model = target
this.type=type
this.form.id=target.id
+ this.form.checkInfo=''
this.getDetailListDo()
},
getDetailListDo(){
@@ -165,14 +169,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 +195,6 @@
.catch(e => {
console.log(e)
this.$message.error('鏁版嵁涓嬭浇澶辫触锛�')
- })
- .finally(() => {
- this.isWorking = false
})
})
.catch(() => {
--
Gitblit v1.9.3