浏览代码

fix: 周日报项目列表筛选

qiny 1 年之前
父节点
当前提交
9dea8ad66a

+ 1 - 1
client/src/views/OaSystem/personnelManagement/components/AmountOfWork.vue

@@ -167,7 +167,7 @@ const getAllProject = async () => {
       params: {
         pageSize: -1,
         userId: userInfo.id ?? '',
-        xmzList: [1, 4] // 仅可对进行中和已验收的项目进行填报
+        xmztList: [1, 4] // 仅可对进行中和已验收的项目进行填报
       }
     },
     '/business'

+ 1 - 1
client_h5/src/pages/myLogs/http.ts

@@ -34,7 +34,7 @@ export const http = {
       // xmzList: [1, 4],
     };
     // 同 不太优雅的方式 (仅可对进行中和已验收的项目进行填报)
-    const url = `${api.project}?xmzList%5B0%5D=1&%5B1%5D=4`;
+    const url = `${api.project}?xmztList%5B0%5D=1&%5B1%5D=4`;
     const result: any = await request.get(url, { params });
     return result.msg == "success" ? result.data.records : [];
   },