Kaynağa Gözat

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

LuoHaoxuan 3 yıl önce
ebeveyn
işleme
793f2d701d
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  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 {