From a34c1293e82c0afacacecfc1fb850afe27b4873b Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期五, 03 十一月 2023 11:31:58 +0800 Subject: [PATCH] feat: 问题诊断列表弹窗对接接口数据,抽离轮询时间配置,添加设备切换按钮 --- src/api/task.ts | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/api/task.ts b/src/api/task.ts index 8be45af..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 { @@ -96,6 +105,6 @@ } export interface CraftParamsResponse { - number: string + Number: string Params: CraftParam[] } -- Gitblit v1.8.0