|
|
@@ -0,0 +1,93 @@
|
|
|
+-- 注意:该页面对应的前台目录为views/recruitment/post文件夹下
|
|
|
+-- 如果你想更改到其他目录,请修改sql中component字段对应的值
|
|
|
+
|
|
|
+
|
|
|
+-- 主菜单
|
|
|
+INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type,
|
|
|
+ sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description,
|
|
|
+ status, del_flag, rule_flag, create_by, create_time, update_by, update_time,
|
|
|
+ internal_or_external)
|
|
|
+VALUES ('178028566404001', '2061767672122322946', '岗位信息', '/recruitment/postInfoList',
|
|
|
+ 'recruitment/post/PostInfoList', NULL, NULL, 1, NULL, '1', 0.00, 0, NULL, 1, 0, 0, 0, 0, NULL, '1',
|
|
|
+ 0,
|
|
|
+ 0, 'admin', '2026-06-03 00:00:00', NULL, NULL, 0);
|
|
|
+
|
|
|
+-- 新增
|
|
|
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms,
|
|
|
+ perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description,
|
|
|
+ create_by, create_time, update_by, update_time, del_flag, rule_flag, status,
|
|
|
+ internal_or_external)
|
|
|
+VALUES ('178028566404002', '178028566404001', '添加岗位信息', NULL, NULL, 0, NULL, NULL, 2,
|
|
|
+ 'post:post_info:add', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2026-06-03 00:00:00', NULL,
|
|
|
+ NULL,
|
|
|
+ 0, 0, '1', 0);
|
|
|
+
|
|
|
+-- 编辑
|
|
|
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms,
|
|
|
+ perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description,
|
|
|
+ create_by, create_time, update_by, update_time, del_flag, rule_flag, status,
|
|
|
+ internal_or_external)
|
|
|
+VALUES ('178028566404003', '178028566404001', '编辑岗位信息', NULL, NULL, 0, NULL, NULL, 2,
|
|
|
+ 'post:post_info:edit', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2026-06-03 00:00:00', NULL,
|
|
|
+ NULL,
|
|
|
+ 0, 0, '1', 0);
|
|
|
+
|
|
|
+-- 删除
|
|
|
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms,
|
|
|
+ perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description,
|
|
|
+ create_by, create_time, update_by, update_time, del_flag, rule_flag, status,
|
|
|
+ internal_or_external)
|
|
|
+VALUES ('178028566404004', '178028566404001', '删除岗位信息', NULL, NULL, 0, NULL, NULL, 2,
|
|
|
+ 'post:post_info:delete', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2026-06-03 00:00:00', NULL,
|
|
|
+ NULL, 0, 0, '1', 0);
|
|
|
+
|
|
|
+-- 批量删除
|
|
|
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms,
|
|
|
+ perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description,
|
|
|
+ create_by, create_time, update_by, update_time, del_flag, rule_flag, status,
|
|
|
+ internal_or_external)
|
|
|
+VALUES ('178028566404005', '178028566404001', '批量删除岗位信息', NULL, NULL, 0, NULL, NULL, 2,
|
|
|
+ 'post:post_info:deleteBatch', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2026-06-03 00:00:00',
|
|
|
+ NULL, NULL, 0, 0, '1', 0);
|
|
|
+
|
|
|
+-- 导出excel
|
|
|
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms,
|
|
|
+ perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description,
|
|
|
+ create_by, create_time, update_by, update_time, del_flag, rule_flag, status,
|
|
|
+ internal_or_external)
|
|
|
+VALUES ('178028566404006', '178028566404001', '导出excel', NULL, NULL, 0, NULL, NULL, 2,
|
|
|
+ 'post:post_info:exportXls', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2026-06-03 00:00:00',
|
|
|
+ NULL,
|
|
|
+ NULL, 0, 0, '1', 0);
|
|
|
+
|
|
|
+-- 导入excel
|
|
|
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms,
|
|
|
+ perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description,
|
|
|
+ create_by, create_time, update_by, update_time, del_flag, rule_flag, status,
|
|
|
+ internal_or_external)
|
|
|
+VALUES ('178028566404007', '178028566404001', '导入excel', NULL, NULL, 0, NULL, NULL, 2,
|
|
|
+ 'post:post_info:importExcel', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2026-06-03 00:00:00',
|
|
|
+ NULL, NULL, 0, 0, '1', 0);
|
|
|
+
|
|
|
+-- 角色授权(以 admin 角色为例,role_id 可替换)
|
|
|
+INSERT INTO sys_role_permission (id, role_id, permission_id, data_rule_ids, operate_date, operate_ip)
|
|
|
+VALUES ('178028566404008', 'f6817f48af4fb3af11b9e8bf182f618b', '178028566404001', NULL, '2026-06-03 00:00:00',
|
|
|
+ '127.0.0.1');
|
|
|
+INSERT INTO sys_role_permission (id, role_id, permission_id, data_rule_ids, operate_date, operate_ip)
|
|
|
+VALUES ('178028566404009', 'f6817f48af4fb3af11b9e8bf182f618b', '178028566404002', NULL, '2026-06-03 00:00:00',
|
|
|
+ '127.0.0.1');
|
|
|
+INSERT INTO sys_role_permission (id, role_id, permission_id, data_rule_ids, operate_date, operate_ip)
|
|
|
+VALUES ('178028566404010', 'f6817f48af4fb3af11b9e8bf182f618b', '178028566404003', NULL, '2026-06-03 00:00:00',
|
|
|
+ '127.0.0.1');
|
|
|
+INSERT INTO sys_role_permission (id, role_id, permission_id, data_rule_ids, operate_date, operate_ip)
|
|
|
+VALUES ('178028566404011', 'f6817f48af4fb3af11b9e8bf182f618b', '178028566404004', NULL, '2026-06-03 00:00:00',
|
|
|
+ '127.0.0.1');
|
|
|
+INSERT INTO sys_role_permission (id, role_id, permission_id, data_rule_ids, operate_date, operate_ip)
|
|
|
+VALUES ('178028566404012', 'f6817f48af4fb3af11b9e8bf182f618b', '178028566404005', NULL, '2026-06-03 00:00:00',
|
|
|
+ '127.0.0.1');
|
|
|
+INSERT INTO sys_role_permission (id, role_id, permission_id, data_rule_ids, operate_date, operate_ip)
|
|
|
+VALUES ('178028566404013', 'f6817f48af4fb3af11b9e8bf182f618b', '178028566404006', NULL, '2026-06-03 00:00:00',
|
|
|
+ '127.0.0.1');
|
|
|
+INSERT INTO sys_role_permission (id, role_id, permission_id, data_rule_ids, operate_date, operate_ip)
|
|
|
+VALUES ('178028566404014', 'f6817f48af4fb3af11b9e8bf182f618b', '178028566404007', NULL, '2026-06-03 00:00:00',
|
|
|
+ '127.0.0.1');
|