From 3d69806588add38f981b02bfe70771588d9520fa Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 31 十月 2023 10:17:56 +0800
Subject: [PATCH] index文件
---
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