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 | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/company/src/components/business/InsuranceDetails.vue b/company/src/components/business/InsuranceDetails.vue
index e378b58..52bb12c 100644
--- a/company/src/components/business/InsuranceDetails.vue
+++ b/company/src/components/business/InsuranceDetails.vue
@@ -86,6 +86,9 @@
<!-- <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>
<el-button type="primary" :loading="isWorking.export" @click="exportDetail">瀵煎嚭璇﹀崟</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(){
@@ -172,7 +176,9 @@
.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