diff --git a/src/components/AttachmentUpload.vue b/src/components/AttachmentUpload.vue index 2b4969b..9d3c72d 100644 --- a/src/components/AttachmentUpload.vue +++ b/src/components/AttachmentUpload.vue @@ -370,8 +370,12 @@ const handleDelete = (row, type) => { _singleFileValue.value.splice(_singleFileValue.value.findIndex((item) => item.fileId === row.fileId), 1); isSingleFile.value = false } else { - isHaveOneFile.value=false allFileList.value.splice(allFileList.value.findIndex((item) => item.fileId === row.fileId), 1); + if(allFileList.value&&allFileList.value?.length==0){ + isHaveOneFile.value=false + }else{ + isHaveOneFile.value=true + } } } }); diff --git a/src/components/DetailComponent/ProjectApply.vue b/src/components/DetailComponent/ProjectApply.vue index 66d94fa..c78db14 100644 --- a/src/components/DetailComponent/ProjectApply.vue +++ b/src/components/DetailComponent/ProjectApply.vue @@ -480,7 +480,6 @@ const getFileParam = (item) => { } } const handleSubmit = async () => { - console.log(' projectPersonUserList.value', projectPersonUserList.value) let files = [] if (props.mode === 'resubmit') { attachment.value.allFileList.forEach(item => { @@ -491,6 +490,7 @@ const handleSubmit = async () => { files.push(getFileParam(item)) }) } + // console.info("🚀 ~method:handleSubmit -----", files,attachment.value.isHaveOneFile) if (!attachment.value.isHaveOneFile) { attachment.value.validate() ElNotification({ @@ -510,7 +510,7 @@ const handleSubmit = async () => { deploymentId: deploymentId.value, requirementId: route.query.id, fileList: files, - singleFile: attachment.value.singleFile, + // singleFile: attachment.value.singleFile, projectId: projectId.value, preProcess: JSON.stringify(localFormData.value.preProcess) } diff --git a/src/views/project-management/implementation/share.vue b/src/views/project-management/implementation/share.vue index 453faf4..27d73a8 100644 --- a/src/views/project-management/implementation/share.vue +++ b/src/views/project-management/implementation/share.vue @@ -232,7 +232,8 @@ const searchConfig = reactive([ prop: 'researchPersonnel', component: 'el-input', props: { - placeholder: '请输入研发人员查询' + placeholder: '请输入研发人员查询', + clearable: true, } }, { diff --git a/src/views/project-management/implementation/updateTable.vue b/src/views/project-management/implementation/updateTable.vue index 5aa427c..8f3836a 100644 --- a/src/views/project-management/implementation/updateTable.vue +++ b/src/views/project-management/implementation/updateTable.vue @@ -18,28 +18,30 @@ - - + + + + + + + + + {{ tableForm.startTime }} - - + + + + + + + + + + + {{ tableForm.endTime }}