src/api/task.ts
@@ -48,7 +48,7 @@ workHours: string inputMaterials: string outputMaterials: string workers: Workers[] workers: Worker[] allProcedureNames: string[] channel: number } @@ -62,7 +62,7 @@ CanStarted: boolean } export interface Workers { export interface Worker { workerId: string workerName: string phoneNum: string @@ -78,7 +78,11 @@ export interface TasksResponse { Tasks: Task[] TaskCount: number workers: Workers[] workers: Worker[] Prompt: Prompt ChannelAmount: number } export interface TasksGroupByChannel { [channel: number]: TasksResponse }