Browse Source

feat(types): 流程权限配置调整

lipk 2 năm trước cách đây
mục cha
commit
2a7366b72d
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      types/src/interface/process.ts

+ 7 - 1
types/src/interface/process.ts

@@ -59,7 +59,7 @@ export enum RolePermission {
   DELETE_BUSINESS = 'deleteBusiness', // 删除业务
   RESUME_BUSINESS = 'resumeBusiness', // 恢复业务
   VIEW_RECYCLEBIN = 'viewRecycleBin', // 查看回收站
-  ADD_BUSINESS = 'addBusiness', // 查看业务
+  ADD_BUSINESS = 'addBusiness', // 创建业务
   ENABLE_LEDGER = 'enableLedger', // 业务台账
 }
 
@@ -404,6 +404,12 @@ export interface IApproval {
     autoCode?: { type: ECodeRule; value?: string; digits?: string };
   };
   sort?: number;
+  completedExecutor: string[];
+  completedPermission: {
+    matterID: string;
+    executorID: string;
+    permission: string[];
+  }[];
 }
 
 export enum ApprovalStatus {