From 4be10170bc9a1546537762e03f2c963d61d2f6ea Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 22 二月 2024 09:16:24 +0800
Subject: [PATCH] mrshi

---
 company/src/components/business/OperaApplyChangeDetailWindow.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/company/src/components/business/OperaApplyChangeDetailWindow.vue b/company/src/components/business/OperaApplyChangeDetailWindow.vue
index aebc85a..1702dc1 100644
--- a/company/src/components/business/OperaApplyChangeDetailWindow.vue
+++ b/company/src/components/business/OperaApplyChangeDetailWindow.vue
@@ -24,7 +24,7 @@
                           <el-button type="primary" @click="$refs.ApplyChangeDetails.open('鍔犲噺淇濊鍗�',apply,model)">瀵煎嚭璇﹀崟</el-button>
                           <el-button v-if="[5, 8].includes(model.status)" type="primary" @click="$refs.reinsurance.open('鍔犲噺淇濈敵璇�', {id: dataId, applyChangId: modelId})">鍐嶆鎶曚繚</el-button>
                           <el-button type="primary" v-if="model.status == 0" @click="goSign">绛剧讲鐢宠鍗�</el-button>
-                          <el-button v-if="[0, 1, 2, 3, 7].includes(model.status)" type="primary" @click="$refs.add_subtract_return.open('鐢宠閫�鍥�', { id: modelId })">鐢宠閫�鍥�</el-button>
+                          <el-button v-if="[0, 1, 3, 7].includes(model.status)" type="primary" @click="$refs.add_subtract_return.open('鐢宠閫�鍥�', { id: modelId })">鐢宠閫�鍥�</el-button>
                           <el-button v-if="model.status == 5" type="primary" @click="viewApplyFile">鏌ョ湅鐢宠鍗�</el-button>
                           <el-button v-if="model.status == 2" type="primary" @click="viewPidan">鏌ョ湅鎵瑰崟</el-button>
                           <el-button v-if="[5, 8].includes(model.status)" type="primary" @click="closeOrder">鍏抽棴璁㈠崟</el-button>
@@ -51,9 +51,11 @@
                             label="鎵瑰崟鍙�">
                         </el-table-column>
                         <el-table-column
-                            prop="applyCode"
                             align="center"
                             label="淇濆崟鍙�">
+                            <template slot-scope="{row}">
+                                <el-button type="text" @click="$refs.OperaInsuranceApplyDetails.open('鎶曚繚璇︽儏', { id: row.applyId })">{{row.applyCode}}</el-button>
+                            </template>
                         </el-table-column>
                         <el-table-column
                             prop="solutionsName"
@@ -188,6 +190,8 @@
         <reinsurance ref="reinsurance" @success="successEvent" />
         <!--    鎹㈠巶鐢宠    -->
         <factoryChange ref="factoryChange" @success="successEvent" />
+        <!--    鎶曚繚璇︽儏    -->
+        <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" @success="successEvent" />
       <template v-slot:footer>
         <el-button @click="visible=false">杩斿洖</el-button>
       </template>
@@ -203,6 +207,7 @@
 import reinsurance from '@/components/enterprise/reinsurance'
 import factoryChange from '@/components/enterprise/factoryChange'
 import add_subtract_return from '@/components/enterprise/add_subtract_return'
+import OperaInsuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow'
 import {
   getDetail,
   getChangeDetail,
@@ -223,7 +228,8 @@
       add_subtract_return,
       OperaInsuranceApply,
       reinsurance,
-      factoryChange
+      factoryChange,
+      OperaInsuranceApplyDetails
   },
   data () {
     return {

--
Gitblit v1.9.3