Browse Source

fix: change materManager myAssignedTask

DESKTOP-USV654P\pc 2 weeks ago
parent
commit
ccbd15a395
2 changed files with 3 additions and 1 deletions
  1. 1 1
      Makefile
  2. 2 0
      src/views/materialManager/taskTodoList/components/viewModal.vue

+ 1 - 1
Makefile

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

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

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