Переглянути джерело

feat(types): 在IParticipantConfig添加[key: string]: any;

LuoHaoxuan 3 роки тому
батько
коміт
2f8d1e09bb
1 змінених файлів з 1 додано та 3 видалено
  1. 1 3
      types/src/interface/process.ts

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

@@ -252,6 +252,7 @@ export interface IParticipantConfig {
   institutionRoles?: string[];
   fixedCollaborators?: IFixedCollaboratorConfig[];
   cooperations?: { type: string; value: string }[];
+  [key: string]: any;
 }
 
 export interface IProcedureParticipantExecutor {
@@ -536,9 +537,6 @@ export interface ITodo {
 
 export interface IApprovalTodo extends ITodo {
   data: IApprovalTodoData;
-  isWarning?: boolean;
-  isEmergency?: boolean;
-  stayTime?: number; // 停留时间
 }
 
 export enum ChangeRecord {