From c06965849f7f85fac75746845004647b629c47fb Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期一, 27 十一月 2023 14:42:55 +0800
Subject: [PATCH] feat: 报工列表弹窗/对接上报接口/报工弹窗回显

---
 src/api/device.ts |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/api/device.ts b/src/api/device.ts
index ceaaec2..1cd58f4 100644
--- a/src/api/device.ts
+++ b/src/api/device.ts
@@ -1,9 +1,18 @@
+export interface DeviceMap {
+  deviceID: string
+  deviceName: string
+  /** true鏃舵病鏈夊伐鑹哄弬鏁颁笉鍏佽涓嬪彂  false鏃舵病鏈夊伐鑹哄弬鏁板厑璁镐笅鍙�*/
+  needSetProcessParams: boolean
+}
+
 export interface Devices {
+  /** 鏈満璁惧缂栫爜 */
   systemDeviceID: string
   currentDeviceID: string
   systemDeviceStatus: number
-  clusterStatus: string
+  /** 闆嗙兢鐘舵�� master涓昏妭鐐� slave浠庤妭鐐�  绌轰覆浠h〃涓嶅湪闆嗙兢涓�  */
+  clusterStatus: 'master' | 'slave' | ''
   clusterNodeQuantity: number
   systemDeviceRunSince: number
-  deviceIDList: string[]
+  deviceList: DeviceMap[]
 }

--
Gitblit v1.8.0