多实例子流程实现
This commit is contained in:
@ -7,25 +7,25 @@ import {AssignmentConfig, FormAssignmentSourceConfig, TimeOutConfig} from './Par
|
||||
import { ApiConfig } from '/@/components/ApiConfig/src/interface';
|
||||
|
||||
import {
|
||||
ApprovalOpinionDisplayType,
|
||||
AuthType,
|
||||
AutoAgreeRule,
|
||||
ButtonType,
|
||||
DesignatedApprover,
|
||||
ElectronicSignatureVerification,
|
||||
NoHandler,
|
||||
NoticePolicyType,
|
||||
OperationType,
|
||||
ProcessStatus,
|
||||
RecordType,
|
||||
TaskPermissions,
|
||||
RejectType,
|
||||
CallActivityType,
|
||||
FinishType,
|
||||
ExecutionType,
|
||||
MemberType,
|
||||
ApproveType,
|
||||
NodeEventExType,
|
||||
ApprovalOpinionDisplayType,
|
||||
AuthType,
|
||||
AutoAgreeRule,
|
||||
ButtonType,
|
||||
DesignatedApprover,
|
||||
ElectronicSignatureVerification,
|
||||
NoHandler,
|
||||
NoticePolicyType,
|
||||
OperationType,
|
||||
ProcessStatus,
|
||||
RecordType,
|
||||
TaskPermissions,
|
||||
RejectType,
|
||||
CallActivityType,
|
||||
FinishType,
|
||||
ExecutionType,
|
||||
MemberType,
|
||||
ApproveType,
|
||||
NodeEventExType, SubProcessType,
|
||||
} from '/@/enums/workflowEnum';
|
||||
import { BpmnNodeKey } from '/@/enums/workflowEnum';
|
||||
|
||||
@ -212,8 +212,18 @@ export interface EndEventConfig extends BasicNodeConfig {
|
||||
*/
|
||||
export interface SubProcessConfig extends BasicNodeConfig {
|
||||
parentId: string; //父节点(流程id)
|
||||
//子流程发起人 (选择的是主流程的某个节点 所以存储的也是子流程节点的id)
|
||||
mainProcessNodeId: string;
|
||||
subProcessType: SubProcessType.MULTIPLE, // 调用类型
|
||||
finishType: FinishType.ALL, //完成条件
|
||||
percentOf: undefined, //百分比数值
|
||||
executionType: ExecutionType.PARALLEL, //执行类型
|
||||
originatorNode: '', //如果调用类型为单实例 子流程发起人
|
||||
originatorType: MemberType.FORM_FIELD, //发起人类型
|
||||
originatorConfig: '', //表单数据
|
||||
approverConfigs: MemberConfig[], //审批人
|
||||
inParams: [], //输入参数
|
||||
outParams: [], //输出参数
|
||||
startEventConfigs: [],
|
||||
endEventConfigs: [],
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user