From 01ee694a3bb8048372fc793a8de314d70b688b35 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期日, 18 十月 2026 22:36:21 +0800
Subject: [PATCH] 修改了工位

---
 src/utils/statusFormatter.ts |   27 ++++++++++++++++++++++++---
 1 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/src/utils/statusFormatter.ts b/src/utils/statusFormatter.ts
index 1578c1b..997a9a1 100644
--- a/src/utils/statusFormatter.ts
+++ b/src/utils/statusFormatter.ts
@@ -1,5 +1,5 @@
 /**
- *
+ * 璁惧鐘舵��
  */
 export const DevStateOptions = [
   {label: "绌洪棽", value: 0},
@@ -17,7 +17,28 @@
 }
 
 /**
- *
+ * 妫�鏌ョ姸鎬�
+ */
+export const CheckStateOptions = [
+  {label: "寰呮鏌�", value: 0},
+  {label: "宸查鐢�", value: 5},
+  {label: "宸茶鏈�", value: 10},
+  {label: "宸叉媶鏈�", value: 20},
+  {label: "宸插綍鍏�", value: 25},
+  {label: "棰嗙敤鏀惧純", value: 30},
+  {label: "瀹夎鏀惧純", value: 35},
+  {label: "宸查仐澶�", value: 40},
+  {label: "妫�鏌ユ斁寮�", value: 50},
+  {label: "妫�鏌ュ畬鎴�", value: 60},
+]
+
+export const tranlateCheckState = (state) => {
+  const stateOption = CheckStateOptions.find(obj => obj.value === state)
+  return  stateOption?.label || '-'
+}
+
+/**
+ * 鎺掗槦鐘舵��
  */
 export const queueStatusConvert = (status: number) => {
   if (3 === status)
@@ -35,7 +56,7 @@
   else if (15 === status)
     return '宸插彫鍥�';
   else if (20 === status)
-    return '鍊欒瘖涓�';
+    return '鍑嗗涓�';   // 2026-10-16锛氬師銆屽�欒瘖涓�嶇粺涓�鏀瑰悕涓恒�屽噯澶囦腑銆嶏紙涓庡瓧鍏� ecg_queue_status 涓�鑷达級
   else if (30 === status)
     return '灏辫瘖涓�';
   else if (33 === status)

--
Gitblit v1.9.3