|
@@ -11,7 +11,7 @@ DELETE FROM t_menu WHERE id IN (2001,2002,2003,2004,3001,3002,4001,4002,5001,500
|
|
|
-- 1. 数据概览 (Dashboard) - rank 1
|
|
-- 1. 数据概览 (Dashboard) - rank 1
|
|
|
-- =====================================================
|
|
-- =====================================================
|
|
|
INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, icon, show_link, show_parent, `redirect`, keep_alive) VALUES
|
|
INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, icon, show_link, show_parent, `redirect`, keep_alive) VALUES
|
|
|
-(100, 0, 0, '数据概览', 'Dashboard', '/dashboard', '', 1, 'ri:dashboard-line', 1, 1, '/dashboard/index', 1);
|
|
|
|
|
|
|
+(100, 0, 0, '数据概览', 'Dashboard', '/dashboard', '', 1, 'ri:dashboard-line', 1, 0, '/dashboard/index', 1);
|
|
|
|
|
|
|
|
INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, show_link, show_parent) VALUES
|
|
INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, show_link, show_parent) VALUES
|
|
|
(101, 100, 0, '数据概览', 'Dashboard', '/dashboard/index', '', 1, 1, 0);
|
|
(101, 100, 0, '数据概览', 'Dashboard', '/dashboard/index', '', 1, 1, 0);
|
|
@@ -52,6 +52,8 @@ INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `ran
|
|
|
(401, 400, 0, '商品列表', 'ProductList', '/product/list', '', 1, 1, 0);
|
|
(401, 400, 0, '商品列表', 'ProductList', '/product/list', '', 1, 1, 0);
|
|
|
INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, show_link, show_parent) VALUES
|
|
INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, show_link, show_parent) VALUES
|
|
|
(402, 400, 0, '新品申请', 'NewProductApply', '/product/new-apply', '', 2, 1, 0);
|
|
(402, 400, 0, '新品申请', 'NewProductApply', '/product/new-apply', '', 2, 1, 0);
|
|
|
|
|
+INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, show_link, show_parent) VALUES
|
|
|
|
|
+(403, 400, 0, '商品总库', 'MasterLibrary', '/product/master-library', '', 3, 1, 0);
|
|
|
|
|
|
|
|
-- =====================================================
|
|
-- =====================================================
|
|
|
-- 5. 库存管理 (Inventory) - rank 5
|
|
-- 5. 库存管理 (Inventory) - rank 5
|
|
@@ -70,7 +72,7 @@ INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `ran
|
|
|
-- 6. 客户管理 (Customer) - rank 6
|
|
-- 6. 客户管理 (Customer) - rank 6
|
|
|
-- =====================================================
|
|
-- =====================================================
|
|
|
INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, icon, show_link, show_parent, `redirect`, keep_alive) VALUES
|
|
INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, icon, show_link, show_parent, `redirect`, keep_alive) VALUES
|
|
|
-(600, 0, 0, '客户管理', 'Customer', '/customer', '', 6, 'ri:user-heart-line', 1, 1, '/customer/list', 1);
|
|
|
|
|
|
|
+(600, 0, 0, '客户管理', 'Customer', '/customer', '', 6, 'ri:user-heart-line', 1, 0, '/customer/list', 1);
|
|
|
|
|
|
|
|
INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, show_link, show_parent) VALUES
|
|
INSERT INTO t_menu (id, parent_id, menu_type, title, name, path, component, `rank`, show_link, show_parent) VALUES
|
|
|
(601, 600, 0, '客户列表', 'CustomerList', '/customer/list', '', 1, 1, 0);
|
|
(601, 600, 0, '客户列表', 'CustomerList', '/customer/list', '', 1, 1, 0);
|
|
@@ -182,4 +184,5 @@ INSERT INTO t_role_menu (id, role_id, menu_id) VALUES
|
|
|
(90033, 1, 810), (90034, 1, 811), (90035, 1, 812), (90036, 1, 813), (90037, 1, 814),
|
|
(90033, 1, 810), (90034, 1, 811), (90035, 1, 812), (90036, 1, 813), (90037, 1, 814),
|
|
|
(90038, 1, 900), (90039, 1, 901), (90040, 1, 902), (90041, 1, 903), (90042, 1, 904),
|
|
(90038, 1, 900), (90039, 1, 901), (90040, 1, 902), (90041, 1, 903), (90042, 1, 904),
|
|
|
(90043, 1, 1000), (90044, 1, 1001), (90045, 1, 1002), (90046, 1, 1003), (90047, 1, 1004), (90048, 1, 1005), (90049, 1, 1006), (90050, 1, 1007), (90051, 1, 1008),
|
|
(90043, 1, 1000), (90044, 1, 1001), (90045, 1, 1002), (90046, 1, 1003), (90047, 1, 1004), (90048, 1, 1005), (90049, 1, 1006), (90050, 1, 1007), (90051, 1, 1008),
|
|
|
-(90052, 1, 1100);
|
|
|
|
|
|
|
+(90052, 1, 1100),
|
|
|
|
|
+(90053, 1, 403);
|