From 778c10923ce7adf233f8a6b820d5824aa2402843 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 31 十月 2023 20:28:01 +0800 Subject: [PATCH] 加工数+目标数的组件+设备状态的组件 --- src/api/task.ts | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/api/task.ts b/src/api/task.ts index a939691..cd886f0 100644 --- a/src/api/task.ts +++ b/src/api/task.ts @@ -16,6 +16,7 @@ startTime: number endTime: number Status: number + finishNumber: number } export interface Procedure { @@ -48,7 +49,7 @@ workHours: string inputMaterials: string outputMaterials: string - workers: Workers[] + workers: Worker[] allProcedureNames: string[] channel: number } @@ -62,7 +63,7 @@ CanStarted: boolean } -export interface Workers { +export interface Worker { workerId: string workerName: string phoneNum: string @@ -78,7 +79,11 @@ export interface TasksResponse { Tasks: Task[] TaskCount: number - workers: Workers[] + workers: Worker[] Prompt: Prompt ChannelAmount: number } + +export interface TasksGroupByChannel { + [channel: number]: TasksResponse +} -- Gitblit v1.8.0