Przeglądaj źródła

feat(types): 流程增加范围类型

caipin 3 lat temu
rodzic
commit
fac8f8b1d3
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      types/src/interface/process.ts

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

@@ -335,10 +335,16 @@ export interface IApproval {
   createdTime: number;
   process: IProcess[];
   templateProcess?: IProcedureProcess[]; // 三合一需要用的流程模板
+  scope?: IScopeType[];
   subjectID?: string;
   businessType?: BusinessTypeKey;
 }
 
+export interface IScopeType {
+  type: string;
+  value: string;
+}
+
 export enum ApprovalStatus {
   CREATED = 'created', // 创建完成
   PROCESSING = 'processing', // 正在审批