Browse Source

修复上传文件

ZaiZai 1 year ago
parent
commit
bbb3cb40d1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/tasks/components/hc-data/material-form.vue

+ 1 - 0
src/views/tasks/components/hc-data/material-form.vue

@@ -234,6 +234,7 @@ const uploadFileSuccess = async ({ resData }) => {
         projectId: projectId.value,
         projectId: projectId.value,
         contractId: contractId.value,
         contractId: contractId.value,
         fileList: baseForm.value.fileList,
         fileList: baseForm.value.fileList,
+        taskId: taskInfo.value.id,
         dataId,
         dataId,
     })
     })
     if (!error && code === 200) {
     if (!error && code === 200) {