Browse Source

feat(types): 在ICollaborator添加permissions属性

LuoHaoxuan 3 năm trước cách đây
mục cha
commit
793f2d701d
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      types/src/interface/process.ts

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

@@ -153,10 +153,17 @@ export interface SimpleDynamicStep {
   executorName?: string;
 }
 
+export interface ICollaboratorPermission {
+  form: string[];
+  cost: string[];
+  profile: string[];
+}
+
 // 3合1协审人信息
 export interface ICollaborator {
   ID: string; // 用户ID
   deadline: string; //  截至时间
+  permissions?: ICollaboratorPermission[]; // 协审权限
 }
 // 3合1参与者信息
 export interface IProcedureParticipantInfo {