From 849cf3797ff13a55a2b17ac11e0df406b5b85d71 Mon Sep 17 00:00:00 2001 From: zyd Date: Tue, 11 Oct 2022 22:51:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E9=A1=B5=E9=9D=A2BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../creatProcess/qbrk/common/formEditList.vue | 17 ++++++++--------- .../pages/creatProcess/qbrk/step5.vue | 2 +- .../pages/creatProcess/qbrk/stepC3.vue | 5 ++--- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/common/formEditList.vue b/src/pages/processCenter/pages/creatProcess/qbrk/common/formEditList.vue index dd4b28c67..1377682b5 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/common/formEditList.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/common/formEditList.vue @@ -968,7 +968,6 @@ export default { this.zrbmOptions = res.data.ZRBMCLASS // 责任部门 this.gkglbmOptions=res.data.GKGLBM;//归口管理部门 this.cbcdOptions=res.data.DEGREESTANDARD;//采标程度 - this.$emit('emitDataLoading',false) } }, @@ -986,15 +985,15 @@ export default { mounted () { if(this.formSub && this.formSub.standSort && this.formSub.standSort !== ''){ this.getDataAsync() - this.form = this.formSub + this.form = JSON.parse(JSON.stringify(this.formSub)) console.log(this.QTWJBUSSFileListSub) - this.FBGBUSSFileList= this.FBGBUSSFileListSub - this.BZSMBUSSFileList= this.BZSMBUSSFileListSub - this.LSBBBUSSFileList= this.LSBBBUSSFileListSub - this.QTWJBUSSFileList= this.QTWJBUSSFileListSub - this.GLWJBUSSFileList= this.GLWJBUSSFileListSub - this.summaryFileList= this.summaryFileListSub - this.madelSubList= this.madelSubListSub + this.FBGBUSSFileList= this.FBGBUSSFileListSub?JSON.parse(JSON.stringify(this.FBGBUSSFileListSub)):[] + this.LSBBBUSSFileList= this.LSBBBUSSFileListSub?JSON.parse(JSON.stringify(this.LSBBBUSSFileListSub)):[] + this.BZSMBUSSFileList=this.BZSMBUSSFileListSub?JSON.parse(JSON.stringify(this.BZSMBUSSFileListSub)):[] + this.QTWJBUSSFileList= this.QTWJBUSSFileListSub?JSON.parse(JSON.stringify(this.QTWJBUSSFileListSub)):[] + this.GLWJBUSSFileList= this.GLWJBUSSFileListSub?JSON.parse(JSON.stringify(this.GLWJBUSSFileListSub)):[] + this.summaryFileList= this.summaryFileListSub?JSON.parse(JSON.stringify(this.summaryFileListSub)):[] + this.madelSubList= this.madelSubListSub?JSON.parse(JSON.stringify(this.madelSubListSub)):[] } }, watch: { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue index a5c66ef99..59b2883c8 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step5.vue @@ -1458,7 +1458,7 @@ }else { const nowTime = new Date().getTime() // 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.iframeUrl = kkFileViewUrl+'/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl))+'&office.preview.type=pdf'; } this.iframeLoading = false this.$forceUpdate() diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue b/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue index 64b50e824..b1c0b5e45 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/stepC3.vue @@ -50,8 +50,7 @@ ref="selection" tooltip-effect="dark" style="width: 100%;margin-bottom: 20px;overflow-y:auto;height:auto;border-bottom: 1px solid #EBEEF5;" - :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', - fontWeight: 'bold', height: '48px'}" + :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',fontWeight: 'bold', height: '48px'}" :data="form.fileModelList" border default-expand-all> @@ -802,7 +801,7 @@ // 任务分解单数据 taskTableData: [] }, - tablePHeight:'', + tablePHeight:'auto', tableHeight: { standardTableHeight: null },