From 09e2bfc605d3031335dae7ae79d05d51d55b53bf Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sun, 30 Jun 2024 22:49:37 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E8=B0=83=E6=95=B4=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=BC=94=E7=A4=BA,=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AttachmentUpload.vue | 9 ++++---- .../AllocationSummaryDetail.vue | 5 +++-- .../DetailComponent/FileComponent.vue | 2 +- src/utils/request.js | 14 ++++++------ .../AllocationSummaryDetailMoblie.vue | 4 ++-- src/views/project-demand/summary/add.vue | 8 ++++--- .../AllocationSummaryDetailMobile.vue | 2 +- .../mobledetail/SpecialFundDetailMobile.vue | 3 ++- .../mobledetail/StepsMoblie.vue | 22 +++++++++---------- .../mobledetail/SummaryDetailMoblie.vue | 22 ++++++++++++++----- src/views/system/department/index.vue | 5 +++++ 11 files changed, 59 insertions(+), 37 deletions(-) diff --git a/src/components/AttachmentUpload.vue b/src/components/AttachmentUpload.vue index 9742001..68101c4 100644 --- a/src/components/AttachmentUpload.vue +++ b/src/components/AttachmentUpload.vue @@ -222,9 +222,6 @@ const singleFileList = ref([]) if (props.formData.fileList !== null && props.formData.fileList?.length > 0) { allFileList.value = props.formData.fileList } -watch(() => props.showTable, (newVal) => { - props.showTable = newVal -}, {deep: true}) watch(() => props.showSingleTable, (newVal) => { props.showSingleTable = newVal }, {deep: true}) @@ -237,7 +234,7 @@ watch(() => props.formData.fileList, (newVal) => { } }, {deep: true}) watch(() => props.otherFileList, (newVal) => { - // console.log('newotherFileList', newVal, props.formData) + // console.log('newotherFileList', newVal) if (props.preview) { if (props.formData.fileList === null || props.formData.fileList?.length === 0) { allFileList.value = newVal @@ -250,6 +247,10 @@ watch(() => props.otherFileList, (newVal) => { allFileList.value = newVal } }, {deep: true}) + +watch(() => props.showTable, (newVal) => { + props.showTable = newVal +}, {deep: true}) watch(() => props.singleList, (newVal) => { // console.log('singleFile', newVal) singleFileList.value = newVal diff --git a/src/components/DetailComponent/AllocationSummaryDetail.vue b/src/components/DetailComponent/AllocationSummaryDetail.vue index e4d866c..99b20ff 100644 --- a/src/components/DetailComponent/AllocationSummaryDetail.vue +++ b/src/components/DetailComponent/AllocationSummaryDetail.vue @@ -1,5 +1,5 @@ - + 导出 @@ -16,7 +16,6 @@ {{scope.row.researchStage==1?'开发阶段':'研究阶段'}} - -- @@ -30,6 +29,8 @@ + +