From 3a45da15c947c2d478a44a51bd0f926647b1b841 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 11 四月 2025 16:33:17 +0800
Subject: [PATCH] 提交

---
 company/src/components/business/detailsEntrustedInsurance.vue |   46 +++++++++++++++++++++++++++++++++-------------
 1 files changed, 33 insertions(+), 13 deletions(-)

diff --git a/company/src/components/business/detailsEntrustedInsurance.vue b/company/src/components/business/detailsEntrustedInsurance.vue
index 9572d2d..a77060b 100644
--- a/company/src/components/business/detailsEntrustedInsurance.vue
+++ b/company/src/components/business/detailsEntrustedInsurance.vue
@@ -50,33 +50,49 @@
             <el-table-column
                 prop="startTime"
                 align="center"
-                label="淇濋櫓鐢熸晥璧锋湡">
+                :label="getUnionApplyTimeTitle(1,model)">
             </el-table-column>
             <el-table-column
                 prop="endTime"
                 align="center"
-                label="淇濋櫓鐢熸晥姝㈡湡">
+                :label="getUnionApplyTimeTitle(0,model)">
             </el-table-column>
             <el-table-column
                 prop="insureNum"
                 align="center"
                 label="鎶曚繚浜烘暟">
+              <template slot-scope="{row}">
+                <span>{{row.insureNum||0}} 浜�</span>
+              </template>
             </el-table-column>
-            <el-table-column prop="guaranteeNum"  align="center" label="鍦ㄤ繚浜烘暟" ></el-table-column>
+            <el-table-column prop="guaranteeNum"  align="center" label="鍦ㄤ繚浜烘暟" >
+              <template slot-scope="{row}">
+                <span>{{row.guaranteeNum||0}} 浜�</span>
+              </template>
+            </el-table-column>
             <el-table-column
                 prop="serviceDays"
                 align="center"
-                label="淇濆崟鏃堕暱锛堝ぉ锛�">
+                label="淇濆崟鏃堕暱">
+              <template slot-scope="{row}">
+                <span>{{row.serviceDays||0}} 澶�</span>
+              </template>
             </el-table-column>
             <el-table-column
                 prop="currentFee"
                 align="center"
-                label="宸蹭骇鐢熻垂鐢�(鍏�)">
+                label="宸蹭骇鐢熻垂鐢�">
+              <template slot-scope="{row}">
+                <span>{{row.currentFee!=null?row.currentFee+' 鍏�': '-'}}</span>
+              </template>
             </el-table-column>
             <el-table-column
                 prop="fee"
                 align="center"
-                label="鎬昏垂鐢�(鍏�)">
+                label="鎬昏垂鐢�">
+              <template slot-scope="{row}">
+                <span>{{row.fee!=null?row.fee+' 鍏�': '-'}}</span>
+              </template>
             </el-table-column>
           </el-table>
         </div>
@@ -158,7 +174,7 @@
                 label="鎬у埆">
               <template slot-scope="{row}">
                 <span v-if="row.sex === 0">鐢�</span>
-                <span v-else>濂�</span>
+                <span  v-if="row.sex === 1">濂�</span>
               </template>
             </el-table-column>
             <el-table-column
@@ -189,13 +205,13 @@
                 :key="Math.random()"
                 prop="startTime"
                 align="center"
-                label="淇濋櫓鐢熸晥璧锋湡">
+                :label="getUnionApplyTimeTitle(1,model)">
             </el-table-column>
             <el-table-column
                 :key="Math.random()"
                 prop="endTime"
                 align="center"
-                label="淇濋櫓鐢熸晥姝㈡湡">
+                :label="getUnionApplyTimeTitle(0,model)">
             </el-table-column>
             <el-table-column
                 :key="Math.random()"
@@ -403,7 +419,7 @@
     <el-dialog
       :title="fileTitle"
       :visible.sync="visibleFile"
-      width="500px"
+      width="800px"
       :modal="true"
       :show-close="true"
       :close-on-click-modal="false"
@@ -412,7 +428,11 @@
       <div class="desc_item_from" v-for="(item, index) in fileData" :key="index"  style="margin-bottom: 15px">
         <span v-if="index ==0">{{item.name}}锛�</span>
         <span v-if="index >0">琚繚闄╀汉锛坽{item.name}}锛夋湇鍔¤垂锛歿{item.serverCost || 0}}鍏�/浜� {{fileFlag=== 0?"鎶曚繚鍗�":"淇濋櫓鍗�"}}锛�</span>
-        <a style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl" @click="openFile(item.file.fileurlFull)">鍦ㄧ嚎棰勮</a><span v-if="!item.file || !item.file.fileurl">鏈笂浼�</span>
+        <a  style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl && index ==0" @click="openFile(item.file.fileurlFull,item.name)">鍦ㄧ嚎棰勮</a>
+        <a   style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl && index !=0 &&fileFlag=== 0" @click="openFile(item.file.fileurlFull,'琚繚闄╀汉锛�'+item.name+'锛夋姇淇濆崟')">鍦ㄧ嚎棰勮</a>
+        <a   style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl && index !=0 &&fileFlag!= 0" @click="openFile(item.file.fileurlFull,'琚繚闄╀汉锛�'+item.name+'锛変繚闄╁崟')">鍦ㄧ嚎棰勮</a>
+        <span v-if="!item.file || !item.file.fileurl">鏈笂浼�</span>
+
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button @click="visibleFile=false">鍏� 闂�</el-button>
@@ -787,9 +807,9 @@
         this.$tip.apiFailed(err)
       })
     },
-    openFile (url) {
+    openFile (url,title) {
       setTimeout(() => {
-        this.$refs.OperaPdfViewerWindow.open('鍟嗘埛鎶曚繚鍗�',url)
+        this.$refs.OperaPdfViewerWindow.open(title ||'鍦ㄧ嚎棰勮',url)
         // window.open(url)
       }, 500)
     },

--
Gitblit v1.9.3