relu-bpmn
Version:
RELU快速开发平台bpmn组件
37 lines (36 loc) • 1.09 kB
JavaScript
import { reluConfigBpmnContextPad } from '../../../contextPad';
import { bpmnParallel, typeParallel } from '../../../variableName';
const { approver } = reluConfigBpmnContextPad;
const reluParallelConfig = {
name: typeParallel,
shapeType: bpmnParallel,
element: {
label: 'Task',
actionName: 'replace-with-task',
className: 'bpmn-icon-task',
target: {
type: typeParallel,
},
},
palette: {
name: 'create.relu-task',
group: 'model',
className: 'icon-relu-create icon-relu-task',
title: '创建一个类型为relu-task的任务节点',
},
renderer: {
icon: 'icon-ym icon-ym-flow-node-approve',
iconColor: '#1DACEB',
titleColor: '#C0EDF8',
background: '#ffffff',
attr: { x: 0, y: 0, width: 90, rx: 16, height: 32 },
rendererName: '并行分支',
bodyDefaultText: '请设置审批人',
},
contextPad: {
default: false,
customization: { approver },
},
properties: {},
};
export { reluParallelConfig };