支持计划任务日期范围

This commit is contained in:
ji ruo committed 2026-10-09 23:50:05 +08:00
1 parent 6a2bba4637
commit 98321d8262
12 files changed
+238 -35

No files matched your search

+2
View File
@@ -252,6 +252,7 @@ export type ScheduleInput = {
timezone_mode?: "beijing" | "system";
schedule_type: "once" | "weekly";
run_date?: string;
end_date?: string;
weekdays?: number[];
start_time: string;
end_time?: string;
@@ -266,6 +267,7 @@ function schedulePayload(input: ScheduleInput) {
timezone_mode: input.timezone_mode ?? "beijing",
schedule_type: input.schedule_type,
run_date: input.run_date ?? "",
end_date: input.end_date ?? "",
weekdays: input.weekdays ?? [],
start_time: input.start_time,
end_time: input.end_time ?? "",
+1
View File
@@ -723,6 +723,7 @@ export interface TaskSchedule {
timezone?: string;
schedule_type: "once" | "weekly";
run_date?: string;
end_date?: string;
weekdays: number[];
start_time: string;
end_time?: string;