From 85e3ae12448e1ee9c37fd2e59ed929e1582d1293 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Thu, 24 Feb 2022 10:19:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E4=BC=81=E6=A0=87=E6=8A=80=E6=9C=AF=E6=A0=87=E5=87=86=20?= =?UTF-8?q?=E4=BC=9A=E7=AD=BE=E6=84=8F=E8=A7=81=20=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=9D=A1=E6=AC=BE=20=E5=8A=A0=E8=BD=BD=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/processCenter/pages/creatProcess/qbrk/step5.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue index de81523ab..137d0336a 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue @@ -490,6 +490,7 @@ :label="item.name" :name="item.id" > + 正在加载文档 @@ -977,6 +978,7 @@ } }] }, + iframeLoading:false, iframeUrl:"", showForm:{ modelNum: '', @@ -1431,6 +1433,7 @@ }, methods: { previewShow(attId) { + this.iframeLoading = true return new Promise((resolve, reject) => { getBusStandFileByAttId({ attId @@ -1447,6 +1450,7 @@ // window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName) this.iframeUrl = kkFileViewUrl+'/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)); } + this.iframeLoading = false this.$forceUpdate() resolve(history) }