From e44c74ab8bdc51dcd027307e147ae3ab602edb00 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 10 四月 2025 17:58:37 +0800
Subject: [PATCH] 检查状态 显示

---
 src/utils/statusFormatter.ts |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/utils/statusFormatter.ts b/src/utils/statusFormatter.ts
index 1578c1b..5dbfd98 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)

--
Gitblit v1.9.3