数据字典集中治理
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import type { Dict } from "./types";
|
||||
import { createDict } from "./utils";
|
||||
|
||||
const items = [
|
||||
{ value: "TODO", label: "待处理", color: "info", order: 1 },
|
||||
{ value: "DOING", label: "进行中", color: "warning", order: 2 },
|
||||
{ value: "DONE", label: "已完成", color: "success", order: 3 },
|
||||
{ value: "BLOCKED", label: "阻塞", color: "danger", order: 4 },
|
||||
{ value: "DRAFT", label: "草稿", color: "info", order: 10 },
|
||||
{ value: "SUBMITTED", label: "已提交", color: "warning", order: 11 },
|
||||
{ value: "APPROVED", label: "已审批", color: "success", order: 12 },
|
||||
{ value: "REJECTED", label: "已驳回", color: "danger", order: 13 },
|
||||
{ value: "PAID", label: "已支付", color: "success", order: 14 },
|
||||
{ value: "CLOSED", label: "已关闭", color: "success", order: 20 },
|
||||
{ value: "OPEN", label: "开放", color: "info", order: 19 },
|
||||
{ value: "FOLLOW_UP", label: "随访中", color: "warning", order: 18 },
|
||||
{ value: "OVERDUE", label: "已逾期", color: "danger", order: 30 },
|
||||
{ value: "SCREENING", label: "筛选中", color: "info", order: 40 },
|
||||
{ value: "ENROLLED", label: "已入组", color: "success", order: 41 },
|
||||
{ value: "COMPLETED", label: "已完成", color: "success", order: 42 },
|
||||
{ value: "DROPPED", label: "已脱落", color: "danger", order: 43 },
|
||||
];
|
||||
|
||||
export const statusDict: Dict = createDict(items);
|
||||
Reference in New Issue
Block a user