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 @@ + +