fix(1.4.0-beta1): 修复首页看板跳转状态问题

This commit is contained in:
xlsea 2025-02-22 11:24:57 +08:00
parent dad7680d16
commit 30e79efb27
2 changed files with 3 additions and 3 deletions

View File

@ -1171,8 +1171,8 @@ declare namespace Api {
/** JobBatch search params */ /** JobBatch search params */
type JobBatchSearchParams = CommonType.RecordNullable< type JobBatchSearchParams = CommonType.RecordNullable<
Pick<Api.JobBatch.JobBatch, 'groupName' | 'jobName' | 'taskBatchStatus' | 'jobId' | 'taskType'> & Pick<Api.JobBatch.JobBatch, 'groupName' | 'jobName' | 'jobId' | 'taskType'> &
CommonSearchParams & { datetimeRange?: [string, string] } CommonSearchParams & { datetimeRange?: [string, string]; taskBatchStatus: Common.TaskBatchStatus[] }
>; >;
/** JobBatch list */ /** JobBatch list */

View File

@ -27,7 +27,7 @@ const { bool: detailVisible, setTrue: openDetail } = useBoolean(false);
const { bool: detailLog, setBool: setDetailLog } = useBoolean(false); const { bool: detailLog, setBool: setDetailLog } = useBoolean(false);
const jobName = history.state.jobName; const jobName = history.state.jobName;
const jobId = history.state.jobId; 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({ const { columnChecks, columns, data, getData, loading, mobilePagination, searchParams, resetSearchParams } = useTable({
apiFn: fetchGetJobBatchList, apiFn: fetchGetJobBatchList,