From e9f13c55203da7e9cc2c1b7cb863a7ecee04b21c Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期二, 31 十月 2023 11:49:43 +0800 Subject: [PATCH] feat: 任务详情组件;按钮组件;子标题组件 --- src/api/task.ts | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/api/task.ts b/src/api/task.ts index a939691..405d0b4 100644 --- a/src/api/task.ts +++ b/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 +} -- Gitblit v1.8.0