fix(1.4.0-beta1): 修复首页看板跳转状态问题
This commit is contained in:
parent
dad7680d16
commit
30e79efb27
4
src/typings/api.d.ts
vendored
4
src/typings/api.d.ts
vendored
@ -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 */
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user