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
37
38
39
40
41
42
| -- save flowInstance record
| -- mysql
| insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.flowInstance', '0', '/system/flowInstance', 'flowInstance', '0' , '0', '1' , '1');
|
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 实例化子流程主表', '', '1', 'system:flowInstance:list', '0', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 实例化子流程主表', '', '1', 'system:flowInstance:save', '1', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 实例化子流程主表', '', '1', 'system:flowInstance:update', '2', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 实例化子流程主表', '', '1', 'system:flowInstance:remove', '3', '1', '1');
|
| -- locale menu name
| flowInstance: 'FlowInstance',
|
| -- locale field
| flowInstance: {
| flowInstanceNo: "flowInstanceNo",
| taskId: "taskId",
| taskNo: "taskNo",
| nodeInstanceId: "nodeInstanceId",
| nodeCode: "nodeCode",
| flowTemplateId: "flowTemplateId",
| flowTemplateCode: "flowTemplateCode",
| templateVersion: "templateVersion",
| currentStepCode: "currentStepCode",
| currentStepOrder: "currentStepOrder",
| executeParams: "executeParams",
| executeResult: "executeResult",
| errorCode: "errorCode",
| errorMessage: "errorMessage",
| startTime: "startTime",
| endTime: "endTime",
| timeoutAt: "timeoutAt",
| durationSeconds: "durationSeconds",
| retryTimes: "retryTimes",
| lastRetryTime: "lastRetryTime",
| contextData: "contextData",
| },
|
| -- ResourceContent
| import flowInstance from './flowInstance';
|
| case 'flowInstance':
| return flowInstance;
|
|