From 49522fcc80c31225bcd7bab78315206567e84146 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期六, 16 十一月 2024 09:26:55 +0800
Subject: [PATCH] 优化

---
 company/src/components/business/OperaCompanyDescWindow.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/company/src/components/business/OperaCompanyDescWindow.vue b/company/src/components/business/OperaCompanyDescWindow.vue
index 666b788..eaf6c4a 100644
--- a/company/src/components/business/OperaCompanyDescWindow.vue
+++ b/company/src/components/business/OperaCompanyDescWindow.vue
@@ -179,6 +179,7 @@
         <OperaCompanyWindow ref="operaCompanyWindow" @success="callback"/>
         <!-- 淇敼淇濋櫓鏂规 -->
         <modification ref="modification" @success="callback"/>
+        <OperaPdfViewerWindow ref="operaPdfViewerWindow" />
         <!-- 淇敼鎵嬫満鍙� -->
         <el-dialog
             title="鏇存敼缁戝畾鎵嬫満鍙�"
@@ -217,13 +218,14 @@
 import GlobalWindow from '@/components/common/GlobalWindow'
 import OperaCompanyWindow from '@/components/business/OperaCompanyWindow'
 import modification from '@/components/business/modification'
+import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
 import { getById, updatePhone } from '@/api/business/company'
 import { listForCompany } from '@/api/business/solutions'
 import { sendSms } from '@/api/business/smsEmail'
 export default {
   name: 'OperaCompanyDescWindow',
   extends: BaseOpera,
-  components: { GlobalWindow, OperaCompanyWindow, modification },
+  components: { GlobalWindow, OperaCompanyWindow, modification, OperaPdfViewerWindow },
   data () {
     return {
       ruleForm: {
@@ -250,7 +252,7 @@
   },
   methods: {
     openFile(url) {
-      window.open(url)
+      this.$refs.operaPdfViewerWindow.open('鏂规纭涔�', url)
     },
     close () {
       this.visiblePhone = false

--
Gitblit v1.9.3