From 556227f639fc5d5bc7b35c3da437634d8215d263 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期四, 11 四月 2024 09:31:02 +0800
Subject: [PATCH] 提交一把

---
 company/src/views/index.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/company/src/views/index.vue b/company/src/views/index.vue
index 48a58aa..34ee197 100644
--- a/company/src/views/index.vue
+++ b/company/src/views/index.vue
@@ -126,6 +126,7 @@
       </div>
     </div>
     <OperaInsuranceApplyWindow ref="operaInsuranceApplyWindow" @success="handleCurrentChange0()"/>
+    <OperaInsuranceApplyShopWindow ref="operaInsuranceApplyShopWindow" @success="handleCurrentChange0()"/>
     <dispatchUnitDetailsPlat ref="dispatchUnitDetailsPlat" @success="handleCurrentChange0()"/>
     <OperaSettleClaimsWindow ref="operaSettleClaimsWindow" @success="handleCurrentChange2()"/>
     <OperaApplyChangeUnitDetailWindow ref="operaApplyChangeUnitDetailWindow" @success="handleCurrentChange0()"/>
@@ -138,6 +139,7 @@
 import * as echarts from 'echarts'
 import { mapState } from 'vuex'
 import OperaInsuranceApplyWindow from '@/components/business/OperaInsuranceApplyWindow'
+import OperaInsuranceApplyShopWindow from '@/components/business/OperaInsuranceApplyShopWindow'
 import dispatchUnitDetailsPlat from '@/components/business/dispatchUnitDetailsPlat'
 import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow'
 import OperaSettleClaimsWindow from '@/components/business/OperaSettleClaimsWindow'
@@ -151,7 +153,8 @@
     OperaTaxesWindow,
     OperaSettleClaimsWindow,
     OperaApplyChangeDetailWindow,
-    OperaApplyChangeUnitDetailWindow
+    OperaApplyChangeUnitDetailWindow,
+    OperaInsuranceApplyShopWindow
   },
   name: 'Index',
   data () {
@@ -241,7 +244,11 @@
   methods: {
     detail (obj) {
       if (obj.objType === 0) {
-        this.$refs.operaInsuranceApplyWindow.open('鎶曚繚鐢宠璇︽儏', { id: obj.objId })
+        if(obj.solutionType == 1){
+          this.$refs.operaInsuranceApplyWindow.open('鎶曚繚鐢宠璇︽儏', { id: obj.objId })
+        }else{
+          this.$refs.operaInsuranceApplyWindow.open('鎶曚繚鐢宠璇︽儏', { id: obj.objId })
+        }
       } else if (obj.objType === 1) {
         this.$refs.operaApplyChangeDetailWindow.open('鍔犲噺淇濊鎯�', { id: obj.objId, applyId: obj.param1 })
       } else if (obj.objType === 2) {

--
Gitblit v1.9.3