From 33bdc00cdee41fa0e8d315f4bb2c3fc13ed0df10 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 02 十一月 2023 19:30:50 +0800 Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/bulletin-board-style1 into wn --- src/api/task.ts | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/api/task.ts b/src/api/task.ts index 405d0b4..125883a 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 { @@ -46,8 +47,8 @@ startTime: number endTime: number workHours: string - inputMaterials: string - outputMaterials: string + inputMaterials: inputMaterial[] + outputMaterials: inputMaterial[] workers: Worker[] allProcedureNames: string[] channel: number @@ -60,6 +61,14 @@ AllProcedures: string[] CurrentProcedureIndex: number CanStarted: boolean +} +export interface inputMaterial { + materialId: string + materialName: string + amount: number + unit: string + background: string + date: string } export interface Worker { @@ -86,3 +95,16 @@ export interface TasksGroupByChannel { [channel: number]: TasksResponse } + +/** + * 宸ヨ壓鍙傛暟 + */ +export interface CraftParam { + Key: string + Value: string +} + +export interface CraftParamsResponse { + Number: string + Params: CraftParam[] +} -- Gitblit v1.8.0