From f55d6c3c4f13e1564899d3c88cbe698537aefcf9 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 18 六月 2024 10:21:42 +0800
Subject: [PATCH] sssssssssss

---
 company/src/components/business/OperaInsuranceApplyWindow.vue |   36 ++++++++++++++++++++++++------------
 1 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/company/src/components/business/OperaInsuranceApplyWindow.vue b/company/src/components/business/OperaInsuranceApplyWindow.vue
index 5467066..8c7d0bb 100644
--- a/company/src/components/business/OperaInsuranceApplyWindow.vue
+++ b/company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -11,7 +11,7 @@
                 <div class="desc_item_label" v-if="userInfo.type === 1 &&(model.statusCollect === 2 || model.statusCollect === 3)">
                     <div class="desc_item_label_left">
                         <span>淇濋櫓鍒版湡杩樻湁 <b style="color: #F95601;">{{model.loseEfficacyDays ? model.loseEfficacyDays : '-'}}</b> 澶�</span>
-                        <el-button type="primary" v-if="model.statusCollect === 2 || model.statusCollect === 3" @click="$refs.OperaInsuranceApply.open('缁繚', { id: dataId, type: 1 })">涓�閿画淇�</el-button>
+                        <el-button type="primary" v-if="model.statusCollect === 2 || model.statusCollect === 3" @click="$refs.OperaInsuranceApplyAddWindow.open('缁繚', {id: dataId,type: 1 })">涓�閿画淇�</el-button>
                         <el-button type="primary" v-if="model.statusCollect === 2" @click="$refs.additionSubtractionApplication.open('鍔犲噺淇濈敵璇�', { id: dataId })">鍔犲噺淇濈敵璇�</el-button>
                         <el-button type="primary" v-if="model.statusCollect === 2" @click="$refs.factoryChange.open('鏇存崲娲鹃仯鍗曚綅鐢宠', { id: dataId })">鏇存崲娲鹃仯鍗曚綅鐢宠</el-button>
                     </div>
@@ -29,7 +29,7 @@
 <!--                          $refs.operaverifyPhoneNumberWindew.open('楠岃瘉鎵嬫満鍙�')-->
                         <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.OperaInsuranceApply.open('鎶曚繚鐢宠', {id: dataId})">鍐嶆鎶曚繚</el-button>
+                        <el-button v-if="model.status == 4" type="primary" @click="$refs.OperaInsuranceApplyAddWindow.open('鎶曚繚鐢宠', {id: dataId})">鍐嶆鎶曚繚</el-button>
                         <el-button v-if="[0, 2, 3, 10].includes(model.status)" type="danger" @click="$refs.applyReturn.open('鐢宠閫�鍥�', {id: dataId})">鐢宠閫�鍥�</el-button>
                         <el-button v-if="model.status == 4" type="primary" @click="closeOrder">鍏抽棴璁㈠崟</el-button>
                       </template>
@@ -80,7 +80,7 @@
                         <el-table-column
                             prop="serviceDays"
                             align="center"
-                            label="鍦ㄤ繚鏃堕暱锛堝ぉ锛�">
+                            label="淇濆崟鏃堕暱锛堝ぉ锛�">
                         </el-table-column>
                         <el-table-column
                             prop="currentFee"
@@ -294,7 +294,7 @@
                                 <span :class="'change-status'+row.status" v-if="row.status === 5 || row.status === 8">宸查��鍥�</span>
                                 <span :class="'change-status'+row.status" v-if="row.status === 6">宸插叧闂�</span>
                                 <span :class="'change-status'+row.status" v-if="row.status === 7">寰呭嚭鍗�</span>
-                                <span :class="'change-status'+row.status" v-if="row.status === 9">鎶曚繚涓�</span>
+                                <span :class="'change-status'+row.status" v-if="row.status === 9">鎵规敼鐢宠涓�</span>
                             </template>
                         </el-table-column>
                         <el-table-column
@@ -333,6 +333,12 @@
                             align="center"
                             label="鎵瑰噺鐢熸晥鏃ユ湡">
                         </el-table-column>
+                        <el-table-column
+                            :key="Math.random()"
+                            prop="fee"
+                            align="center"
+                            label="璐圭敤鍙樻洿(鍏�)">
+                        </el-table-column>
                       <el-table-column
                           :key="Math.random()"
                           prop="remark"
@@ -370,7 +376,7 @@
                                 <span :class="'change-status'+row.status" v-if="row.status === 5 || row.status === 8">宸查��鍥�</span>
                                 <span :class="'change-status'+row.status" v-if="row.status === 6">宸插叧闂�</span>
                               <span :class="'change-status'+row.status" v-if="row.status === 7">寰呭嚭鍗�</span>
-                              <span :class="'change-status'+row.status" v-if="row.status === 9">鎶曚繚涓�</span>
+                              <span :class="'change-status'+row.status" v-if="row.status === 9">鎵规敼鐢宠涓�</span>
                             </template>
                         </el-table-column>
                         <el-table-column
@@ -423,7 +429,7 @@
                     </div>
                 </div>
                 <div class="desc_item_review">
-                    <div class="desc_item_review_label">瀹℃牳娴佺▼</div>
+                    <div class="desc_item_review_label">鎿嶄綔璁板綍</div>
                   <el-timeline :reverse="reverse">
                     <el-timeline-item
                         v-for="(activity, index) in activities"
@@ -449,7 +455,7 @@
         <!--    浼佷笟鐢宠閫�鍥�    -->
         <applyReturn ref="applyReturn" @success="successEvent" />
         <!--    鏂板鎶曚繚    -->
-        <OperaInsuranceApply ref="OperaInsuranceApply" @success="successEvent" />
+        <OperaInsuranceApplyAddWindow ref="OperaInsuranceApplyAddWindow" @success="successEvent" />
         <!--    鍔犲噺淇濈敵璇�    -->
         <additionSubtractionApplication ref="additionSubtractionApplication" @success="successEvent" />
         <!--    鏇存崲娲鹃仯鍗曚綅鐢宠    -->
@@ -460,6 +466,7 @@
         <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" @success="successEvent"/>
         <!--    楠岃瘉鎵嬫満鍙�    -->
         <operaverifyPhoneNumberWindew ref="operaverifyPhoneNumberWindew" @success="goSign" />
+        <OperaPdfViewerWindow ref="OperaPdfViewerWindow" />
         <template v-slot:footer>
             <el-button @click="visible=false">杩斿洖</el-button>
         </template>
@@ -482,18 +489,20 @@
 import { findListByDTO } from "@/api/business/dispatchUnit";
 import { fetchList } from "@/api/business/applyChange";
 import { findListByDTO as worktypeFindListByDTO } from "@/api/business/worktype";
-import OperaInsuranceApply from '@/components/enterprise/OperaInsuranceApplyWindow'
+import OperaInsuranceApplyAddWindow from '@/components/enterprise/OperaInsuranceApplyAddWindow'
 import { mapState } from 'vuex'
 
+import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
 export default {
   name: 'OperaInsuranceApplyWindow1',
   extends: BaseOpera,
   components: {
       GlobalWindow,
+    OperaPdfViewerWindow,
       InsuranceDetails,
       OperaInsuranceApplyCheckWindow,
       applyReturn,
-      OperaInsuranceApply,
+    OperaInsuranceApplyAddWindow,
       additionSubtractionApplication,
       factoryChange,
       OperaApplyChangeDetailWindow,
@@ -776,18 +785,21 @@
     viewToubaodan(){
        if(this.model.toubaodanSignedFile && this.model.toubaodanSignedFile.fileurlFull){
          setTimeout(() => {
-           window.open(this.model.toubaodanSignedFile.fileurlFull)
+           this.$refs.OperaPdfViewerWindow.open('鏌ョ湅鎶曚繚鍗�',this.model.toubaodanSignedFile.fileurlFull)
+           // window.open(this.model.toubaodanSignedFile.fileurlFull)
          }, 500);
 
        } else if(this.model.toubaodanFile && this.model.toubaodanFile.fileurlFull){
          setTimeout(() => {
-           window.open(this.model.toubaodanFile.fileurlFull)
+           this.$refs.OperaPdfViewerWindow.open('鏌ョ湅鎶曚繚鍗�',this.model.toubaodanFile.fileurlFull)
+           // window.open(this.model.toubaodanFile.fileurlFull)
              },500)
        }
     },
     viewBaoxiandan(){
       if(this.model.baoxiandanFile && this.model.baoxiandanFile.fileurlFull){
-        window.open(this.model.baoxiandanFile.fileurlFull)
+        this.$refs.OperaPdfViewerWindow.open('鏌ョ湅淇濋櫓鍗�',this.model.baoxiandanFile.fileurlFull)
+        // window.open(this.model.baoxiandanFile.fileurlFull)
       }
     },
     handleSizeChange(val){

--
Gitblit v1.9.3