From 43f2fe7fa6ec90b957d3182730e5c726b7158ced Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 23 九月 2024 14:49:49 +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 b3ee583..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.deepPurple[500]; - case '宸插垎閰�': - return Colors.lightBlue[600]; - case '杩涜涓�': - return Colors.teal[700]; - case '宸插畬鎴�': - return Colors.blueGrey[500]; - default: - return Colors.amber[500]; - } -} \ No newline at end of file -- Gitblit v1.9.1