fix : 修复项目立项上传文件bug

This commit is contained in:
2024-06-04 17:10:32 +08:00
parent 8b5868fde6
commit 8f1cc442ac
4 changed files with 14 additions and 13 deletions

View File

@@ -106,7 +106,7 @@ const searchConfig = reactive([
props: {
placeholder: '请选择状态',
clearable: true,
cacheKey: 'project_initiation'
cacheKey: 'project_filing'
}
},
// {

View File

@@ -115,6 +115,7 @@ const compositeParam = (item) => {
const getAttachment = (val) => {
console.log('上传文件getAttachment', val)
file.value = compositeParam(val)
formData.value.singleFile = compositeParam(val)
}
const getOtherFile = (val) => {
console.log('上传文件getOtherFile', val)
@@ -163,7 +164,6 @@ const handleSubmit = (instance) => {
singleFile: singleFile,
projectId: route.query.projectId,
}
console.log('params', params)
let res = await projectApply(params)
ElNotification({