From d922b18d12b9d37f9279c4732daf6451e79ff601 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 18 三月 2024 14:52:47 +0800 Subject: [PATCH] 注掉alert(JWT失效,即将跳转至登录页)弹窗 --- src/api/task.ts | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/api/task.ts b/src/api/task.ts index 125883a..ca0ee32 100644 --- a/src/api/task.ts +++ b/src/api/task.ts @@ -35,6 +35,7 @@ /** 1 鏈敓浜� 2鐢熶骇涓� 3鐢熶骇瀹屾垚*/ Status: 1 | 2 | 3 procedure: ProcedureProcedure + productProcedureID: string } export interface ProcedureProcedure { @@ -47,11 +48,21 @@ startTime: number endTime: number workHours: string - inputMaterials: inputMaterial[] - outputMaterials: inputMaterial[] + inputMaterials: Material[] + outputMaterials: Material[] workers: Worker[] allProcedureNames: string[] channel: number +} + +export interface ParamsMap { + [keyProp: string]: string +} +export interface ProcedureModel { + number: string + product: string + procedure: string + paramsMap: ParamsMap } export interface Task { @@ -61,13 +72,13 @@ AllProcedures: string[] CurrentProcedureIndex: number CanStarted: boolean + ProcedureModel: ProcedureModel } -export interface inputMaterial { +export interface Material { materialId: string materialName: string amount: number unit: string - background: string date: string } -- Gitblit v1.8.0