zhangjie 2 жил өмнө
parent
commit
5c774c103a
1 өөрчлөгдсөн 28 нэмэгдсэн , 12 устгасан
  1. 28 12
      src/modules/paper/api.js

+ 28 - 12
src/modules/paper/api.js

@@ -105,24 +105,40 @@ export const paperQuestionUnitDeleteApi = ({ unitid, questionId }) => {
 
 // audit-paper
 export const auditPaperWaitPageListApi = (datas) => {
-  return $httpWithMsg.post(`${QUESTION_API}/find_pending_trial_paper`, {
-    params: datas,
-  });
+  return $httpWithMsg.post(
+    `${QUESTION_API}/find_pending_trial_paper`,
+    {},
+    {
+      params: datas,
+    }
+  );
 };
 export const auditPaperAuditedPageListApi = (datas) => {
-  return $httpWithMsg.post(`${QUESTION_API}/find_my_audit_paper`, {
-    params: datas,
-  });
+  return $httpWithMsg.post(
+    `${QUESTION_API}/find_my_audit_paper`,
+    {},
+    {
+      params: datas,
+    }
+  );
 };
 export const auditPaperApplyPageListApi = (datas) => {
-  return $httpWithMsg.post(`${QUESTION_API}/find_my_paper_status`, {
-    params: datas,
-  });
+  return $httpWithMsg.post(
+    `${QUESTION_API}/find_my_paper_status`,
+    {},
+    {
+      params: datas,
+    }
+  );
 };
 export const auditPaperUnsubmitPageListApi = (datas) => {
-  return $httpWithMsg.post(`${QUESTION_API}/find_will_submit_paper`, {
-    params: datas,
-  });
+  return $httpWithMsg.post(
+    `${QUESTION_API}/find_will_submit_paper`,
+    {},
+    {
+      params: datas,
+    }
+  );
 };
 
 export const auditPaperApi = (datas) => {