diff --git a/src/api/modules/exportList.ts b/src/api/modules/exportList.ts index 16b4ed4..24d0624 100644 --- a/src/api/modules/exportList.ts +++ b/src/api/modules/exportList.ts @@ -1,6 +1,10 @@ import http from "@/api"; // 导出列表 export const getListApi = (params: Record) => { + if (params?.status === "正在导出") { + params.status = 0; + } + return http.get(`exports`, params); }; //状态 diff --git a/src/views/export/list/constant/list/search.ts b/src/views/export/list/constant/list/search.ts index 5ed66f1..77a2ffe 100644 --- a/src/views/export/list/constant/list/search.ts +++ b/src/views/export/list/constant/list/search.ts @@ -28,7 +28,7 @@ export const FORM_DATA: any[] = [ label: "导出失败" }, { - value: 0, + value: "正在导出", label: "正在导出" }, { diff --git a/src/views/export/list/index.vue b/src/views/export/list/index.vue index 893f516..9d38ca0 100644 --- a/src/views/export/list/index.vue +++ b/src/views/export/list/index.vue @@ -2,13 +2,20 @@