#
vincentlu
1 天以前 befebaf1b91877843acccc31d04f77f2258a501d
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
-- 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;