From db465857afa8a79b4451201a982511cd3a6ce325 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 18 十二月 2024 16:23:14 +0800 Subject: [PATCH] 设备管理: 更改设置状态时 只允许同时更新备注 --- src/utils/statusFormatter.ts | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils/statusFormatter.ts b/src/utils/statusFormatter.ts index f1cb570..7b3ac10 100644 --- a/src/utils/statusFormatter.ts +++ b/src/utils/statusFormatter.ts @@ -6,7 +6,7 @@ {label: "宸查鐢�", value: 5}, {label: "宸茶鏈�", value: 10}, {label: "宸查仐澶�", value: 20}, - {label: "寰呯淮淇�", value: 30}, + {label: "宸叉崯鍧�", value: 30}, {label: "缁翠慨涓�", value: 40}, {label: "宸叉姤搴�", value: 50} ] @@ -20,7 +20,9 @@ * 鍙彿灞忎娇鐢� */ export const queueStatusConvert = (status: number) => { - if (5 === status) + if (3 === status) + return '宸茶繃鍙�-鎺掗槦'; + else if (5 === status) return '宸茶繃鍙�'; else if (7 === status) return '宸茶繃鍙�-瀹夎'; -- Gitblit v1.9.3