From 30e79efb27f1544593f9bb39bfaeb1e8b1719f59 Mon Sep 17 00:00:00 2001
From: xlsea <m@xlsea.cn>
Date: Sat, 22 Feb 2025 11:24:57 +0800
Subject: [PATCH] =?UTF-8?q?fix(1.4.0-beta1):=20=E4=BF=AE=E5=A4=8D=E9=A6=96?=
=?UTF-8?q?=E9=A1=B5=E7=9C=8B=E6=9D=BF=E8=B7=B3=E8=BD=AC=E7=8A=B6=E6=80=81?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/typings/api.d.ts | 4 ++--
src/views/job/batch/index.vue | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/typings/api.d.ts b/src/typings/api.d.ts
index 1f3eac6..b0438d7 100644
--- a/src/typings/api.d.ts
+++ b/src/typings/api.d.ts
@@ -1171,8 +1171,8 @@ declare namespace Api {
/** JobBatch search params */
type JobBatchSearchParams = CommonType.RecordNullable<
- Pick<Api.JobBatch.JobBatch, 'groupName' | 'jobName' | 'taskBatchStatus' | 'jobId' | 'taskType'> &
- CommonSearchParams & { datetimeRange?: [string, string] }
+ Pick<Api.JobBatch.JobBatch, 'groupName' | 'jobName' | 'jobId' | 'taskType'> &
+ CommonSearchParams & { datetimeRange?: [string, string]; taskBatchStatus: Common.TaskBatchStatus[] }
>;
/** JobBatch list */
diff --git a/src/views/job/batch/index.vue b/src/views/job/batch/index.vue
index 7e22fac..918cb7b 100644
--- a/src/views/job/batch/index.vue
+++ b/src/views/job/batch/index.vue
@@ -27,7 +27,7 @@ const { bool: detailVisible, setTrue: openDetail } = useBoolean(false);
const { bool: detailLog, setBool: setDetailLog } = useBoolean(false);
const jobName = history.state.jobName;
const jobId = history.state.jobId;
-const taskBatchStatus = history.state.taskBatchStatus;
+const taskBatchStatus = [history.state.taskBatchStatus];
const { columnChecks, columns, data, getData, loading, mobilePagination, searchParams, resetSearchParams } = useTable({
apiFn: fetchGetJobBatchList,