瀏覽代碼

chore(api): 适配“查询系统方案列表”接口

ccnnde 2 月之前
父節點
當前提交
c4d9d3e81e
共有 1 個文件被更改,包括 9 次插入5 次删除
  1. 9 5
      src/views/components/Graphics.vue

+ 9 - 5
src/views/components/Graphics.vue

@@ -995,7 +995,11 @@ const getCaseProjects = async (name: string, system:boolean, template:boolean, c
   }
   const ret: any = await axios.post(
     `/api/data/${collection}/list`,
-    data ,
+    {
+      pageIndex: current,
+      pageSize,
+      ...data
+    },
     // {
     //   // query: {
     //   //   tags: "系统方案"
@@ -1008,10 +1012,10 @@ const getCaseProjects = async (name: string, system:boolean, template:boolean, c
     //   template
     // },
     {
-      params: {
-        current,
-        pageSize,
-      },
+      // params: {
+      //   current,
+      //   pageSize,
+      // },
     }
   );