From 1da741e8519e13d8f92824bf8ef15b92800b70fc Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@gmail.com> Date: 星期六, 28 六月 2025 16:27:30 +0800 Subject: [PATCH] # --- zy-acs-flow/src/utils/common.js | 19 ------------------- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/zy-acs-flow/src/utils/common.js b/zy-acs-flow/src/utils/common.js index 790d6e3..2083ca8 100644 --- a/zy-acs-flow/src/utils/common.js +++ b/zy-acs-flow/src/utils/common.js @@ -1,4 +1,3 @@ -import * as Colors from '@mui/material/colors'; export const extractNavMenus = (data) => { if (!data) { @@ -51,21 +50,3 @@ }); return result; }; - -export const getTaskStsColor = (taskStatus) => { - if (!taskStatus) { - return Colors.grey[500]; - } - switch (taskStatus) { - case '绛夊緟涓�': - return Colors.amber[500]; - case '宸插垎閰�': - return Colors.blue[500]; - case '杩涜涓�': - return Colors.green[500]; - case '宸插畬鎴�': - return Colors.blueGrey[500]; - default: - return Colors.amber[500]; - } -} \ No newline at end of file -- Gitblit v1.9.1