Przeglądaj źródła

feat(types): 修改IProcedureParticipantInfo接口executor字段对应的值

LuoHaoxuan 3 lat temu
rodzic
commit
da890adbc8

+ 6 - 1
types/src/interface/gatherExecutor.ts

@@ -13,6 +13,11 @@ export interface IGatherExecutor {
   businessType: BusinessTypeKey;
   participantMode: string;
   approvaledPermission: IExecutorApprovaledPermission[];
-  members: string[];
   businessID: string;
+  members?: {
+    ID: string;
+    approvalStatus: string;
+    approvalTime: number | string;
+    approvalComment: string;
+  }[];
 }

+ 5 - 2
types/src/interface/process.ts

@@ -1,7 +1,10 @@
 import { ReportTree } from './report';
 import { CptModelName, SubModelName, ActionType } from './base';
 import { BusinessTypeKey } from './gather';
-import { IExecutorApprovaledPermission } from './gatherExecutor';
+import {
+  IExecutorApprovaledPermission,
+  IGatherExecutor,
+} from './gatherExecutor';
 import { executorMember } from './approvalStatus';
 
 // 环节类型
@@ -143,7 +146,7 @@ export interface IExecutor {
 // 3合1参与者信息
 export interface IProcedureParticipantInfo {
   approvalWay: string;
-  executor: IExecutor;
+  executor: IGatherExecutor;
 }
 
 // 3合1分支判断信息