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 warehouse record
| -- mysql
| insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.warehouse', '0', '/manager/warehouse', 'warehouse', '0' , '0', '1' , '1');
|
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 仓库信息表', '68', '1', 'manager:warehouse:list', '0', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 仓库信息表', '68', '1', 'manager:warehouse:save', '1', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 仓库信息表', '68', '1', 'manager:warehouse:update', '2', '1', '1');
| insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 仓库信息表', '68', '1', 'manager:warehouse:remove', '3', '1', '1');
|
| -- locale menu name
| warehouse: 'Warehouse',
|
| -- locale field
| warehouse: {
| name: "name",
| code: "code",
| factory: "factory",
| address: "address",
| longitude: "longitude",
| latgitude: "latgitude",
| length: "length",
| width: "width",
| height: "height",
| },
|
| -- ResourceContent
| import warehouse from './warehouse';
|
| case 'warehouse':
| return warehouse;
|
|