|
|
@@ -118,6 +118,44 @@ export interface IProcess {
|
|
|
afterAuditMoney?: number; // 审后的金额
|
|
|
}
|
|
|
|
|
|
+// 3合1执行者
|
|
|
+export interface IExecutor {
|
|
|
+ ID: string;
|
|
|
+ permission: string[];
|
|
|
+ configure: string[];
|
|
|
+}
|
|
|
+
|
|
|
+// 3合1参与者信息
|
|
|
+export interface IProcedureParticipantInfo {
|
|
|
+ approvalWay: string;
|
|
|
+ executor: IExecutor;
|
|
|
+}
|
|
|
+
|
|
|
+// 3合1分支判断信息
|
|
|
+export interface IConditionItem {
|
|
|
+ field: string;
|
|
|
+ type: string;
|
|
|
+ symbol: string;
|
|
|
+ value: string;
|
|
|
+}
|
|
|
+
|
|
|
+// 3合1分支条件信息
|
|
|
+export interface IConditionInfoItem {
|
|
|
+ ID: string;
|
|
|
+ specificCondition: IConditionItem[][];
|
|
|
+ // eslint-disable-next-line prettier/prettier, no-use-before-define
|
|
|
+ process: IProcedureProcess;
|
|
|
+}
|
|
|
+
|
|
|
+// 3合1步骤中的一个环节
|
|
|
+export interface IProcedureProcess {
|
|
|
+ ID: string;
|
|
|
+ name: string;
|
|
|
+ sectorType: string;
|
|
|
+ participantInfo: IProcedureParticipantInfo;
|
|
|
+ conditionInfo: IConditionInfoItem[];
|
|
|
+}
|
|
|
+
|
|
|
export interface IApproval {
|
|
|
ID: string;
|
|
|
name: string;
|
|
|
@@ -147,7 +185,7 @@ export interface IProjectApproval extends IApproval {
|
|
|
status: ApprovalStatus; // 状态
|
|
|
approvalTime?: number; // 审批通过时间
|
|
|
currentProcessID?: string; // 当前正处于哪个环节ID
|
|
|
- businessID?: string; //业务ID
|
|
|
+ businessID?: string; // 业务ID
|
|
|
}
|
|
|
|
|
|
// 流程过程中存储的数据
|