From 291bf570b2106cb99b0e689af7d6ccaacc9e5c1c Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 25 十二月 2024 18:10:42 +0800 Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3 --- src/utils/constants.ts | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 360cf05..a291a0d 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -451,3 +451,33 @@ ENABLE: 1, // 启用 DISABLE: 0 // 禁用 } + +export const CommonEnabledBool = { + ENABLE: true, // 启用 + DISABLE: false // 禁用 +} + +export const CommonInfraBool = { + TRUE: true, // 启用 + FALSE: false // 禁用 +} + +// ========== BPM 模块 ========== + +export const BpmModelType = { + BPMN: 10, // BPMN 设计器 + SIMPLE: 20 // 简易设计器 +} + +export const BpmModelFormType = { + NORMAL: 10, // 流程表单 + CUSTOM: 20 // 业务表单 +} + +export const BpmProcessInstanceStatus = { + NOT_START: -1, // 未开始 + RUNNING: 1, // 审批中 + APPROVE: 2, // 审批通过 + REJECT: 3, // 审批不通过 + CANCEL: 4 // 已取消 +} -- Gitblit v1.9.3