From 02bc3bfe47e3d5311a0bb041c94e70a34b1ca73c Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 09 四月 2024 09:03:01 +0800
Subject: [PATCH] git ch

---
 company/src/components/business/detailsEntrustedInsurance.vue |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/company/src/components/business/detailsEntrustedInsurance.vue b/company/src/components/business/detailsEntrustedInsurance.vue
index cf7baf5..a668ef5 100644
--- a/company/src/components/business/detailsEntrustedInsurance.vue
+++ b/company/src/components/business/detailsEntrustedInsurance.vue
@@ -451,13 +451,13 @@
       dataId: null,
       signTitle: '鎵嬫満鍙烽獙璇�',
       fileTitle: '鏌ョ湅鎶曚繚鍗�',
-      fileFlag:0,
+      fileFlag: 0,
       visibleFile: false,
       fileData: [],
       model: {},
       form: {
         businessId: null,
-        phone: this.$store.state.userInfo.company.phone,
+        phone: this.$store.state.userInfo.company ? this.$store.state.userInfo.company.phone:null,
         code: '',
         type: 0
       },
@@ -508,7 +508,6 @@
       this.fileData = []
       this.taobaodanFileData = []
       this.baoxiandanFileData = []
-      this.dataId = null
       this.dataId = target.id
       this.form.businessId = target.id
       this.formInline.applyStatus = ''
@@ -770,19 +769,12 @@
     viewToubaodan () {
       this.fileData = this.taobaodanFileData;
       this.visibleFile=true
+      this.fileTitle='鏌ョ湅鎶曚繚鍗�'
       this.fileFlag = 0
-     /* if (this.model.toubaodanSignedFile && this.model.toubaodanSignedFile.fileurlFull) {
-        setTimeout(() => {
-          window.open(this.model.toubaodanSignedFile.fileurlFull)
-        }, 500)
-      } else if (this.model.toubaodanFile && this.model.toubaodanFile.fileurlFull) {
-        setTimeout(() => {
-          window.open(this.model.toubaodanFile.fileurlFull)
-        }, 500)
-      }*/
     },
     viewBaoxiandan () {
       this.fileFlag = 1
+      this.fileTitle='鏌ョ湅淇濋櫓鍗�'
       this.fileData = this.baoxiandanFileData;
       this.visibleFile=true
      /* if (this.model.baoxiandanFile && this.model.baoxiandanFile.fileurlFull) {

--
Gitblit v1.9.3