-- 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;