From 02bc3bfe47e3d5311a0bb041c94e70a34b1ca73c Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 09 四月 2024 09:03:01 +0800
Subject: [PATCH] git ch

---
 company/src/components/business/InsuranceDetails.vue |   42 ++++++++++--------------------------------
 1 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/company/src/components/business/InsuranceDetails.vue b/company/src/components/business/InsuranceDetails.vue
index e378b58..9951c2e 100644
--- a/company/src/components/business/InsuranceDetails.vue
+++ b/company/src/components/business/InsuranceDetails.vue
@@ -10,32 +10,6 @@
           <div class="top">
             {{title}}
           </div>
-<!--            <div class="box_header">
-                <div class="box_header_item">
-                    <div class="box_header_item_label">鎶曚繚浼佷笟</div>
-                    <div class="box_header_item_val">{{ model.companyName }}</div>
-                </div>
-                <div class="box_header_item">
-                    <div class="box_header_item_label">淇濋櫓鏂规</div>
-                    <div class="box_header_item_val">{{ model.solutionsName }}</div>
-                </div>
-                <div class="box_header_item">
-                    <div class="box_header_item_label">淇濋櫓鐢熸晥璧锋湡</div>
-                    <div class="box_header_item_val">{{ model.startTime }}</div>
-                </div>
-                <div class="box_header_item">
-                    <div class="box_header_item_label">淇濋櫓鐢熸晥姝㈡湡</div>
-                    <div class="box_header_item_val">{{model.endTime}}</div>
-                </div>
-                <div class="box_header_item">
-                    <div class="box_header_item_label">鎶曚繚浜烘暟</div>
-                    <div class="box_header_item_val">{{ model.insureNum }}</div>
-                </div>
-                <div class="box_header_item">
-                    <div class="box_header_item_label">鎬昏垂鐢�(鍏�)</div>
-                    <div class="box_header_item_val">{{model.fee}}</div>
-                </div>
-            </div>-->
           <div class="box_table">
             <div class="box_table_head">
               <div class="box_table_head_item">鎶曚繚浼佷笟</div>
@@ -51,7 +25,7 @@
               <div class="box_table_content_item box_table_content_header">{{ model.startTime }}</div>
               <div class="box_table_content_item box_table_content_header">{{ model.endTime }}</div>
               <div class="box_table_content_item box_table_content_header">{{ model.insureNum }}</div>
-              <div class="box_table_content_item box_table_content_header">{{model.fee}}</div>
+              <div class="box_table_content_item box_table_content_header">{{model.fee!=null?model.fee:'-'}}</div>
             </div>
           </div>
             <div class="box_table">
@@ -86,11 +60,15 @@
 <!--            <el-button type="danger"  :loading="isWorking.export" @click="check(1)">瀹℃牳涓嶉�氳繃</el-button>-->
             <el-button @click="visible=false">鍙栨秷</el-button>
         </template>
+        <template v-else-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>
             <el-button @click="visible=false">鍙栨秷</el-button>
         </template>
+      </div>
     </GlobalWindow>
 </template>
 
@@ -118,7 +96,7 @@
                 // 楠岃瘉瑙勫垯
                 rules: {
                 },
-                reverse: true,
+                reverse: false,
                 tableData: []
             }
         },
@@ -135,6 +113,7 @@
               this.model = target
               this.type=type
               this.form.id=target.id
+              this.form.checkInfo=''
               this.getDetailListDo()
             },
            getDetailListDo(){
@@ -172,7 +151,9 @@
                       .then(response => {
                         this.visible = false
                         this.$emit('success')
-                      })
+                      }).catch(err => {
+                    this.$tip.apiFailed(err)
+                  })
                 })
                 .catch(() => {
                 })
@@ -189,9 +170,6 @@
                       .catch(e => {
                         console.log(e)
                         this.$message.error('鏁版嵁涓嬭浇澶辫触锛�')
-                      })
-                      .finally(() => {
-                        this.isWorking = false
                       })
                 })
                 .catch(() => {

--
Gitblit v1.9.3