From ad5c2bf44c99d299cbb5b8182675aec514d55a57 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 20 六月 2024 15:38:37 +0800
Subject: [PATCH] 提交一把

---
 company/src/views/enterprise/myPolicy.vue |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/company/src/views/enterprise/myPolicy.vue b/company/src/views/enterprise/myPolicy.vue
index cebff07..c268ab0 100644
--- a/company/src/views/enterprise/myPolicy.vue
+++ b/company/src/views/enterprise/myPolicy.vue
@@ -100,6 +100,7 @@
                     </template>
                 </el-table-column>
                 <el-table-column prop="insureNum" label="鎶曚繚浜烘暟"></el-table-column>
+                <el-table-column prop="guaranteeNum" label="鍦ㄤ繚浜烘暟"></el-table-column>
                 <el-table-column label="鎶曚繚鏃堕暱锛堝ぉ锛�">
                     <template slot-scope="{row}">
                         <span>{{(row.serviceDays - row.loseEfficacyDays) < 0 ? `-` : row.serviceDays - row.loseEfficacyDays}}</span>
@@ -140,7 +141,7 @@
             </pagination>
         </template>
         <!--    鏂板鎶曚繚    -->
-        <OperaInsuranceApplyWindow ref="OperaInsuranceApplyWindow" @success="handlePageChange" />
+        <OperaInsuranceApplyWindow ref="OperaInsuranceApplyWindow" @success="result" />
         <!--    鎶曚繚璇︽儏    -->
         <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" @success="handlePageChange" />
       <OperaWtbApplyShopWindow ref="OperaWtbApplyShopWindow" @success="handlePageChange" />
@@ -150,12 +151,11 @@
         <renewalInsurance ref="renewalInsurance" @success="handlePageChange" />
     </TableLayout>
 </template>
-
 <script>
 import BaseTable from '@/components/base/BaseTable'
 import TableLayout from '@/layouts/TableLayout'
 import Pagination from '@/components/common/Pagination'
-import OperaInsuranceApplyWindow from '@/components/enterprise/OperaInsuranceApplyWindow'
+import OperaInsuranceApplyWindow from '@/components/enterprise/OperaInsuranceApplyAddWindow'
 import OperaInsuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow'
 import additionSubtractionApplication from '@/components/enterprise/additionSubtractionApplication'
 import renewalInsurance from '@/components/enterprise/renewalInsurance'
@@ -215,6 +215,17 @@
         this.$refs.OperaInsuranceApplyDetails.open('鎶曚繚璇︽儏', { id: row.id })
       }
     },
+    result(flag,param){
+      console.log(flag,param)
+      if(param && param.godetail && param.id){
+        if (param.type == 1) {
+          this.$refs.OperaWtbApplyShopWindow.open('濮旀墭鎶曚繚璇︽儏', { id: param.id })
+        } else {
+          this.$refs.OperaInsuranceApplyDetails.open('鎶曚繚璇︽儏', { id: param.id })
+        }
+      }
+      this.handlePageChange()
+    },
     see () {
       this.searchForm.statusCollect = '7'
       this.search()

--
Gitblit v1.9.3