From 88a6ad160b69793d649a3324e6ba57b654617915 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 16 Oct 2025 09:58:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20base=20=E6=B7=BB=E5=8A=A0enum.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/enum.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 utils/enum.js diff --git a/utils/enum.js b/utils/enum.js new file mode 100644 index 0000000..304bc86 --- /dev/null +++ b/utils/enum.js @@ -0,0 +1,8 @@ +export const actStateEnum = Object.freeze({ + 0: { text: '草稿中', type: 'primary' }, + 1: { text: '进行中', type: 'primary' }, + 2: { text: '被退回', type: 'error' }, + 3: { text: '被撤回', type: 'warning' }, + 4: { text: '已完成', type: 'success' }, + 5: { text: '已关闭', type: 'default' }, +}) \ No newline at end of file