-- save guarantee record -- mysql -- BatteryChargingFull insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.guarantee', '0', '/manager/guarantee', 'guarantee', '0' , '0', '1' , '1'); insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query Guarantee', '', '1', 'manager:guarantee:list', '0', '1', '1'); insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create Guarantee', '', '1', 'manager:guarantee:save', '1', '1', '1'); insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update Guarantee', '', '1', 'manager:guarantee:update', '2', '1', '1'); insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete Guarantee', '', '1', 'manager:guarantee:remove', '3', '1', '1'); -- locale menu name guarantee: 'Guarantee', -- locale field guarantee: { uuid: "uuid", name: "name", scopeType: "scopeType", scopeValue: "scopeValue", cronExpr: "cronExpr", requiredCount: "requiredCount", minSoc: "minSoc", leadTime: "leadTime", }, -- ResourceContent import guarantee from './guarantee'; case 'guarantee': return guarantee;