From a1e4d36f3ab3eb2e10373adfffebda4430e0ea3f Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期二, 27 十月 2026 09:41:51 +0800
Subject: [PATCH] feat(device): 核查计划检查日期精确到日;提前审核增加归档提醒;删除放开至未开始/待批准行

---
 src/utils/index.js |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/utils/index.js b/src/utils/index.js
index ea6ec87..8b109c5 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -387,4 +387,15 @@
 export function isNumberStr(str) {
   return /^[+-]?(0|([1-9]\d*))(\.\d+)?$/g.test(str)
 }
+
+// 淇瀛楀吀缁撴瀯锛氬悗绔瓧鍏搁」 鈫� { value, label, type }
+export function dictToValue(arr) {
+  return arr.map((m) => {
+    return {
+      value: m.dictValue,
+      label: m.dictLabel,
+      type: m.listClass
+    }
+  })
+}
  

--
Gitblit v1.9.3