haoxuan
2023-10-31 1c22b65361d81ef23bd76d0f76a3dce7ef72fd99
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
}