relu-bpmn
Version:
RELU快速开发平台bpmn组件
32 lines (31 loc) • 1.27 kB
JavaScript
import { reluConfigBpmnContextPad } from '../../../contextPad';
import { bpmnLaunchFlow, typeLaunchFlow } from '../../../variableName';
const { getData, addData, updateData, delData, interfaceData, message, launch, schedule, connect, copy, paste, del } = reluConfigBpmnContextPad;
const reluLaunchConfig = {
name: typeLaunchFlow,
shapeType: bpmnLaunchFlow,
element: {
label: 'Task',
actionName: 'replace-with-task',
className: 'bpmn-icon-task',
target: {
type: bpmnLaunchFlow,
},
},
renderer: {
icon: 'icon-ym icon-ym-flow-node-branch',
iconColor: '#5ED87F',
titleColor: 'linear-gradient(90deg, #B6F7BB 0%, #5ED87F 100%)',
background: '#ffffff',
attr: { x: 0, y: 0, rx: 8, width: 200, height: 88 },
rendererName: '发起审批',
bodyDefaultText: '请设置发起审批',
},
contextPad: {
default: false,
customization: { getData, addData, updateData, delData, interfaceData, message, launch, schedule, connect, copy, del },
otherCustomization: { getData, addData, updateData, delData, interfaceData, message, launch, schedule, connect, copy, paste, del },
},
properties: {},
};
export { reluLaunchConfig };