فهرست منبع

feat(types): 修改三合一审批流程需要用的接口

LuoHaoxuan 3 سال پیش
والد
کامیت
e5242895a1
3فایلهای تغییر یافته به همراه18 افزوده شده و 9 حذف شده
  1. 1 0
      types/src/interface/approvalStatus.ts
  2. 1 0
      types/src/interface/gatherExecutor.ts
  3. 16 9
      types/src/interface/process.ts

+ 1 - 0
types/src/interface/approvalStatus.ts

@@ -2,6 +2,7 @@ export interface executorMember {
   ID: string;
   approvalStatus: string;
   approvalTime: number | string;
+  approvalComment: string;
 }
 
 export interface IApprovalStatus {

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

@@ -7,6 +7,7 @@ export interface IExecutorApprovaledPermission {
 
 export interface IGatherExecutor {
   ID: string;
+  dataID: string;
   gatherID: string;
   name: string;
   setType: string;

+ 16 - 9
types/src/interface/process.ts

@@ -120,6 +120,13 @@ export interface IProcess {
   afterAuditMoney?: number; // 审后的金额
 }
 
+export interface Members {
+  ID: string;
+  approvalStatus: string;
+  approvalTime: number | string;
+  approvalComment: string;
+}
+
 // 3合1执行者
 export interface IProcessExecutor {
   ID: string;
@@ -131,18 +138,18 @@ export interface IProcessExecutor {
   name: string;
   reportTime?: string; // 三合一审批流程第一位的上报时间
   approvaledPermission: IExecutorApprovaledPermission[];
-  members?: {
-    ID: string;
-    approvalStatus: string;
-    approvalTime: number | string;
-    approvalComment: string;
-  }[];
+  members?: Members[];
 }
 
 // 3合1参与者信息
 export interface IProcedureParticipantInfo {
   approvalWay: string;
-  executor: IProcessExecutor;
+  executor: {
+    ID: string;
+    configure: string[];
+    members?: Members[];
+    reportTime?: string;
+  };
 }
 
 // 3合1分支判断信息
@@ -177,8 +184,8 @@ export interface IProcedureItem {
   approvalStatus: string;
   content: string;
   approvalTime: string;
-  executorID?: string;
-  members?: executorMember[];
+  executor?: IProcessExecutor;
+  // members?: executorMember[];
   approvalWay?: string;
   nextProcessSectorType?: SectorType;
 }