Przeglądaj źródła

feat(types): process

qinlaiqiao 4 lat temu
rodzic
commit
d18cf2fb38
1 zmienionych plików z 8 dodań i 0 usunięć
  1. 8 0
      types/src/interface/process.ts

+ 8 - 0
types/src/interface/process.ts

@@ -6,8 +6,16 @@ export enum SectorType {
   CONDITION = 'condition', // 条件
 }
 
+export enum ProcessStatus {
+  waiting = 'waiting', // 待审批
+  approved = 'approved', // 审批通过
+  activating = 'activating', // 当前流程
+  failed = 'failed', //  审批退回
+}
+
 // 审批方式
 export enum ApprovalWay {
+  report = 'report', // 上报审批
   ACCOUNT = 'account', // 指定用户
   JOINTLYSIGN = 'jointlySign', // 会签
   ORSIGN = 'orSign', // 或签