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) }