From 39ae52b3f65e2bba3b6570adb51e791cb3befff7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 02 七月 2025 16:32:29 +0800
Subject: [PATCH] 提交

---
 company/src/components/business/OperaInsuranceApplyWindow.vue |   43 ++++++++++++++++++++++++++++---------------
 1 files changed, 28 insertions(+), 15 deletions(-)

diff --git a/company/src/components/business/OperaInsuranceApplyWindow.vue b/company/src/components/business/OperaInsuranceApplyWindow.vue
index f08683b..021ad31 100644
--- a/company/src/components/business/OperaInsuranceApplyWindow.vue
+++ b/company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -19,15 +19,20 @@
                 <div class="desc_item_label">
                     <div class="desc_item_label_left">
                         <span>鎶曚繚浼佷笟锛歿{ model.companyName }}</span>
-                      <span>淇濆崟鐘舵�侊細<span  :class="'apply-status'+model.status" >{{ model.statusInfo }}</span></span>
+                        <span>淇濆崟鐘舵�侊細
+                            <span style="color: #f95601;" v-if="[5,27].includes(model.status) && model.statusInfo === '寰呯敓鏁�'">{{ model.statusInfo }}</span>
+                            <span :class="'apply-status'+model.status" v-else>{{ model.statusInfo }}</span>
+                        </span>
                         <span>鎻愪氦鏃堕棿锛歿{ model.createDate }}</span>
                     </div>
                   <div class="desc_item_label_right">
                       <el-button type="primary" @click="viewConfirmationLetter">鏌ョ湅鏂规纭涔�</el-button>
+                      <el-button type="primary" v-if="[1].includes(model.solutionType) && model.shenqingdanFile" @click="viewShenqingdan(model.shenqingdanFile)">鏌ョ湅鐢宠鍗�</el-button>
                       <template v-if="userInfo.type === 1">
                         <el-button type="primary" @click="$refs.InsuranceDetails.open('鎶曚繚璇︽儏鍗�',model,0)">瀵煎嚭璇﹀崟</el-button>
                         <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">鏌ョ湅鎶曚繚鍗�</el-button>
 <!--                          $refs.operaverifyPhoneNumberWindew.open('楠岃瘉鎵嬫満鍙�')-->
+<!--                          <el-button v-if="[22].includes(model.status) && model.solutionType === 1" type="primary" @click="viewShenqingdan(model.shenqingdanFile)">鏌ョ湅鐢宠鍗�</el-button>-->
                         <el-button v-if="model.status == 2" type="primary" :disabled="loading" :loading="loading" @click="goSign()">绛剧讲鎶曚繚鍗�</el-button>
                         <el-button v-if="model.status == 5" type="primary" @click="viewBaoxiandan">鏌ョ湅淇濋櫓鍗�</el-button>
                         <el-button v-if="model.status == 4" type="primary" @click="$refs.operaInsuranceApplyAddWindow.open('鎶曚繚鐢宠', {id: dataId})">鍐嶆鎶曚繚</el-button>
@@ -37,17 +42,18 @@
                     <template v-else>
                         <el-button v-if="[12].includes(model.status)" type="primary" @click="review">鎶曚繚澶嶅</el-button>
                       <el-button type="primary" @click="$refs.InsuranceDetails.open('鎶曚繚璇︽儏鍗�',model,0)">瀵煎嚭璇﹀崟</el-button>
-                      <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">鏌ョ湅鎶曚繚鍗�</el-button>
+                      <el-button v-if="[2, 3, 5, 7, 8, 26].includes(model.status) && (model.toubaodanFile || model.toubaodanSignedFile)" type="primary" @click="viewToubaodan">鏌ョ湅鎶曚繚鍗�</el-button>
                       <el-button v-if="[27,5].includes(model.status)" type="primary" @click="viewBaoxiandan">鏌ョ湅淇濋櫓鍗�</el-button>
                       <el-button v-if="[2,10].includes(model.status) && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('涓婁紶鎶曚繚鍗�',model,2)">涓婁紶鎶曚繚鍗�</el-button>
                       <el-button v-if="model.status === 3 && userInfo.type === 0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('涓婁紶淇濋櫓鍗�',model,3)">涓婁紶淇濋櫓鍗�</el-button>
 
 <!--                        <el-button v-if="model.status == 26 && model.solutionType == 1" type="primary" @click="$refs.OperaUnionApplyCheckWindow.open('涓婁紶淇濋櫓鍗�',model,3)">涓婁紶淇濋櫓鍗�</el-button>-->
-
+<!--                        <el-button v-if="[22].includes(model.status) && model.solutionType === 1 && model.shenqingdanFile" type="primary" @click="viewShenqingdan(model.shenqingdanFile)">鏌ョ湅鐢宠鍗�</el-button>-->
                       <el-button  v-if="[6,7,8,11].includes(model.status) && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('椹冲洖閫�鍥炵敵璇�',model,5)">椹冲洖閫�鍥炵敵璇�</el-button>
                       <el-button v-if="[22, 0].includes(model.status) && [0,1].includes(model.solutionType)" type="primary" @click="$refs.InsuranceDetails.open('鎶曚繚瀹℃牳',model,1)">鎶曚繚瀹℃牳</el-button>
                       <el-button v-if="![1, 4, 5].includes(model.status) && [0,1].includes(model.solutionType)" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('閫�鍥炵敵璇�',model,1)">閫�鍥炵敵璇�</el-button>
-                      <el-button v-if="[5,27].includes(model.status) && userInfo.type === 0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('淇敼淇濋櫓鍗�',model,4)">淇敼淇濋櫓鍗�</el-button>
+                      <el-button v-if="[5,27].includes(model.status) && ['寰呯敓鏁�'].includes(model.statusInfo) && userInfo.type === 0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('淇敼淇濋櫓鍗�',model,4)">淇敼淇濋櫓鍗�</el-button>
+
                     </template>
                   </div>
                 </div>
@@ -110,7 +116,7 @@
                     <el-tabs v-model="activeName" @tab-click="handleClick">
                         <el-tab-pane label="淇濆崟浜哄憳" name="0" ></el-tab-pane>
                         <el-tab-pane label="鍔�/鍑忎繚璁板綍"  name="1"></el-tab-pane>
-                        <el-tab-pane label="鏇存崲宸ョ璁板綍" name="2"></el-tab-pane>
+                        <el-tab-pane :label="model.hasDispatchUnit !== 1 ? '鏇存崲娲鹃仯鍗曚綅' : '鏇存崲宸ョ璁板綍'" name="2"></el-tab-pane>
                     </el-tabs>
                 </div>
                 <div class="desc_item_search">
@@ -239,9 +245,9 @@
                             :key="Math.random()"
                             label="鍦ㄤ繚鐘舵��">
                             <template slot-scope="{row}">
-                                <span v-if="row.applyStatus === 0">淇濋殰涓�</span>
-                                <span v-if="row.applyStatus === 1">涓嶅湪淇�</span>
-                                <span v-if="row.applyStatus === 2">寰呯敓鏁�</span>
+                                <span v-if="row.applyStatus === 0" style="color: #00BA92;">淇濋殰涓�</span>
+                                <span v-if="row.applyStatus === 1" style="color: #999;">涓嶅湪淇�</span>
+                                <span v-if="row.applyStatus === 2" style="color: #f95601;">寰呯敓鏁�</span>
                             </template>
                         </el-table-column>
                         <el-table-column
@@ -418,7 +424,7 @@
                             :key="Math.random()"
                             prop="changeNum"
                             align="center"
-                            label="鏇存崲宸ョ浜烘暟">
+                            :label="model.hasDispatchUnit !== 1 ? '鏇存崲娲鹃仯鍗曚綅浜烘暟' : '鏇存崲宸ョ浜烘暟'">
                           <template scope="{row}">
                             {{row.changeNum||0}} 浜�
                           </template>
@@ -518,7 +524,6 @@
 import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow'
 import OperaApplyChangeMonthWindow from '@/components/business/OperaApplyChangeMonthWindow'
 import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow'
-
 import applyReturn from '@/components/enterprise/applyReturn'
 import { getDetail, getSignLink, applyDetailPage,  exportExcel, applyChagneDetailExcel, applyOpt } from '@/api/business/insuranceApply'
 import { findListByDTO } from '@/api/business/dispatchUnit'
@@ -624,6 +629,10 @@
       this.getList()
       this.getDW()
       this.getGZ()
+    },
+    viewShenqingdan(row) {
+      if (!row) return;
+      this.$refs.OperaPdfViewerWindow.open(row.name, row.fileurlFull)
     },
     viewConfirmationLetter() {
       this.$refs.OperaPdfViewerWindow.open('鏌ョ湅鏂规纭涔�', this.model.fanganFile.fileurlFull)
@@ -742,7 +751,7 @@
     exportExcel () {
       if (this.activeName === '0') {
         exportExcel({
-          capacity: 10,
+          capacity: 60000,
           page: this.currentPage,
           model: {
             solutionName: this.tableData[0].solutionsName,
@@ -761,7 +770,7 @@
         })
       } else {
         applyChagneDetailExcel({
-          capacity: 10,
+          capacity: 60000,
           page: this.currentPage,
           model: {
             applyId: this.dataId,
@@ -783,7 +792,7 @@
     getList () {
       if (this.activeName === '0') {
         applyDetailPage({
-          capacity: 10,
+          capacity: 10000,
           page: this.currentPage,
           model: {
             applyId: this.dataId,
@@ -990,14 +999,18 @@
             .desc_item_label {
                 width: 100%;
                 display: flex;
-                align-items: center;
-                justify-content: space-between;
+                align-items: start;
+                flex-direction: column;
                 margin-bottom: 10px;
                 span {
                     font-size: 14px;
                     color: black;
                     margin-right: 30px;
                 }
+                .desc_item_label_right {
+                    width: 100%;
+                    margin: 10px 0;
+                }
             }
             .desc_item_from {
                 width: 100%;

--
Gitblit v1.9.3