From b594c6680116745912ed943afd00a9b896496c76 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期一, 30 十月 2023 11:26:43 +0800
Subject: [PATCH] feat: 任务组件添加选中状态;全局状态管理添加当前选中任务

---
 src/api/task.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/api/task.ts b/src/api/task.ts
index a939691..7fdcdf1 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,7 @@
 export interface TasksResponse {
   Tasks: Task[]
   TaskCount: number
-  workers: Workers[]
+  workers: Worker[]
   Prompt: Prompt
   ChannelAmount: number
 }

--
Gitblit v1.8.0