From fe3af72b806d42d60b099fe5795e40c390b1cd29 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 08 五月 2024 10:37:44 +0800
Subject: [PATCH] 提交一把

---
 company/src/components/business/OperaWtbApplyShopWindow.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/company/src/components/business/OperaWtbApplyShopWindow.vue b/company/src/components/business/OperaWtbApplyShopWindow.vue
index 39cddd5..2cd5ddd 100644
--- a/company/src/components/business/OperaWtbApplyShopWindow.vue
+++ b/company/src/components/business/OperaWtbApplyShopWindow.vue
@@ -11,7 +11,7 @@
                 <div class="desc_item_label" v-if="userInfo.type === 1 && model.status ===27 ">
                     <div class="desc_item_label_left">
                         <span>淇濋櫓鍒版湡杩樻湁 <b style="color: #F95601;">{{model.loseEfficacyDays ? model.loseEfficacyDays : '-'}}</b> 澶�</span>
-                        <el-button type="primary" v-if="model.status === 27" @click="$refs.OperaInsuranceApply.open('缁繚', { id: dataId, type: 1 })">涓�閿画淇�</el-button>
+                        <el-button type="primary" v-if="model.status === 27" @click="$refs.OperaInsuranceApplyAddWindow.open('缁繚', {id: dataId,type: 1 })">涓�閿画淇�</el-button>
                         <el-button type="primary" v-if="model.status === 27 && model.loseEfficacyDays" @click="$refs.additionSubtractionApplication.open('鍔犲噺淇濈敵璇�', { id: dataId })">鍔犲噺淇濈敵璇�</el-button>
                         <el-button type="primary" v-if="model.status === 27 && model.loseEfficacyDays" @click="$refs.factoryChange.open('鏇存崲娲鹃仯鍗曚綅鐢宠', { id: dataId })">鏇存崲娲鹃仯鍗曚綅鐢宠</el-button>
                     </div>
@@ -454,7 +454,7 @@
         <!--    浼佷笟鐢宠閫�鍥�    -->
         <applyReturn ref="applyReturn" @success="successEvent" />
         <!--    鏂板鎶曚繚    -->
-        <OperaInsuranceApplyWindow ref="OperaInsuranceApply" @success="successEvent" />
+        <OperaInsuranceApplyAddWindow ref="OperaInsuranceApplyAddWindow" @success="successEvent" />
         <!--    鍔犲噺淇濈敵璇�    -->
         <additionSubtractionApplication ref="additionSubtractionApplication" @success="successEvent" />
         <!--    鏇存崲娲鹃仯鍗曚綅鐢宠    -->
@@ -500,6 +500,7 @@
 
 <script>
 import BaseOpera from '@/components/base/BaseOpera'
+import OperaInsuranceApplyAddWindow from '@/components/enterprise/OperaInsuranceApplyAddWindow'
 import GlobalWindow from '@/components/common/GlobalWindow'
 import InsuranceDetails from '@/components/business/InsuranceDetails'
 import OperaWtbApplyCheckWindow from '@/components/business/OperaWtbApplyCheckWindow'
@@ -507,9 +508,7 @@
 import factoryChange from '@/components/enterprise/factoryChange'
 import operaverifyPhoneNumberWindew from '@/components/business/operaverifyPhoneNumberWindew'
 import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow'
-import OperaInsuranceApplyWindow from '@/components/enterprise/OperaInsuranceApplyWindow'
 import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow'
-
 import applyReturn from '@/components/enterprise/applyReturn'
 import {
   getDetail,
@@ -534,7 +533,7 @@
     InsuranceDetails,
     OperaWtbApplyCheckWindow,
     applyReturn,
-    OperaInsuranceApplyWindow,
+    OperaInsuranceApplyAddWindow,
     additionSubtractionApplication,
     factoryChange,
     OperaApplyChangeDetailWindow,
@@ -606,11 +605,10 @@
   },
   methods: {
     open (title, target) {
-      this.visible = true
       this.title = title
       this.model = {}
-      this.num=0
-      this.timer=null
+      this.num= 0
+      this.timer= null
       this.dataId = null
       this.dataId = target.id
       this.form.businessId = target.id
@@ -626,6 +624,8 @@
       this.formInline.startTimeS = ''
       this.formInline.type = ''
       this.activeName = '0'
+
+      this.visible = true
       this.getDetail()
       this.getList()
       this.getDW()

--
Gitblit v1.9.3