1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| -- save flowStepTemplate record
| -- mysql
| insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.flowStepTemplate', '0', '/system/flowStepTemplate', 'flowStepTemplate', '0' , '0', '1' , '1');
|
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 子流程步骤模板', '', '1', 'system:flowStepTemplate:list', '0', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 子流程步骤模板', '', '1', 'system:flowStepTemplate:save', '1', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 子流程步骤模板', '', '1', 'system:flowStepTemplate:update', '2', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 子流程步骤模板', '', '1', 'system:flowStepTemplate:remove', '3', '1', '1');
|
| -- locale menu name
| flowStepTemplate: 'FlowStepTemplate',
|
| -- locale field
| flowStepTemplate: {
| flowId: "flowId",
| flowCode: "flowCode",
| stepOrder: "stepOrder",
| stepCode: "stepCode",
| stepName: "stepName",
| stepType: "stepType",
| actionType: "actionType",
| actionConfig: "actionConfig",
| inputMapping: "inputMapping",
| outputMapping: "outputMapping",
| conditionExpression: "conditionExpression",
| skipOnFail: "skipOnFail",
| retryEnabled: "retryEnabled",
| retryConfig: "retryConfig",
| timeoutSeconds: "timeoutSeconds",
| },
|
| -- ResourceContent
| import flowStepTemplate from './flowStepTemplate';
|
| case 'flowStepTemplate':
| return flowStepTemplate;
|
|