// 流程状态
export const ProcessStatus = {
  NOT_STARTED: 'not_started',
  IN_PROGRESS: 'in_progress',
  COMPLETED: 'completed',
};

export const ProcessStatusText = {
  [ProcessStatus.NOT_STARTED]: '未开始',
  [ProcessStatus.IN_PROGRESS]: '进行中',
  [ProcessStatus.COMPLETED]: '已结束',
};

export const ProcessStatusColor = {
  [ProcessStatus.NOT_STARTED]: 'default',
  [ProcessStatus.IN_PROGRESS]: 'processing',
  [ProcessStatus.COMPLETED]: 'success',
};

// 审批结果
export const ApprovalResult = {
  PENDING: 'pending',
  APPROVED: 'approved',
  REJECTED: 'rejected',
};

export const ApprovalResultText = {
  [ApprovalResult.PENDING]: '待审批',
  [ApprovalResult.APPROVED]: '审核通过',
  [ApprovalResult.REJECTED]: '审核驳回',
};

export const ApprovalResultColor = {
  [ApprovalResult.PENDING]: 'orange',
  [ApprovalResult.APPROVED]: 'green',
  [ApprovalResult.REJECTED]: 'red',
};
