ソースを参照

fix: change materManager myAssignedTask

DESKTOP-USV654P\pc 2 週間 前
コミット
ccbd15a395

+ 1 - 1
Makefile

@@ -12,7 +12,7 @@ build:
 
 commit:
 	git add . && \
-	git commit --no-verify -m "fix: change course statistics"
+	git commit --no-verify -m "fix: change materManager myAssignedTask"
 
 checkPre:
 	git checkout pre

+ 2 - 0
src/views/materialManager/taskTodoList/components/viewModal.vue

@@ -158,10 +158,12 @@
   const handelDownload = async () => {
     try {
       setModalProps({ loading: true });
+      const values = getForm().getFieldsValue();
       const postData = {
         materialTaskId: taskDataInfo.value.id,
         state: status.value,
       };
+      Object.assign(postData, values);
       const data = await postMaterialtaskDownloadFileExportQuery(postData);
       downloadByData(
         data.data,