feat: 新增流程定义页面

This commit is contained in:
xlsea
2025-05-22 22:56:59 +08:00
parent 32c241564d
commit 11aba9e2c8
19 changed files with 899 additions and 15 deletions

10
src/constants/workflow.ts Normal file
View File

@ -0,0 +1,10 @@
import { transformRecordToOption } from '@/utils/common';
/** workflow publish status */
export const workflowPublishStatusRecord: Record<Api.Workflow.WorkflowPublishStatus, string> = {
'0': '未发布',
'1': '已发布',
'9': '失效'
};
export const workflowPublishStatusOptions = transformRecordToOption(workflowPublishStatusRecord);