-- ===================================================== -- MES 质检单导入 菜单与按钮权限 -- 新增按钮权限: -- mes:qc-iqc:import 来料检验列表「批量导入」按钮(parent_id = 5640) -- mes:qc-ipqc:import 过程检验列表「批量导入」按钮(parent_id = 5650) -- mes:qc-oqc:import 出货检验列表「批量导入」按钮(parent_id = 5660) -- -- 执行方式(避免中文菜单名乱码): -- cmd /c "mysql -uroot -p1234 --default-character-set=utf8mb4 ruoyi-vue-pro < docs\sql\mes_qc_import_menu.sql" -- ===================================================== SET NAMES utf8mb4; INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1075418, '来料检验导入', 'mes:qc-iqc:import', 3, 6, 5640, '', '', '', '', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'); INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1075419, '过程检验导入', 'mes:qc-ipqc:import', 3, 6, 5650, '', '', '', '', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'); INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1075420, '出货检验导入', 'mes:qc-oqc:import', 3, 6, 5660, '', '', '', '', 0, b'1', b'1', b'1', '1', NOW(), '1', NOW(), b'0'); -- 与质检检验单其它按钮(查询/创建/更新/删除/导出)授予相同的角色 INSERT INTO `system_role_menu` (`role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2, 1075418, '1', NOW(), '1', NOW(), b'0'), (155, 1075418, '1', NOW(), '1', NOW(), b'0'), (160, 1075418, '1', NOW(), '1', NOW(), b'0'), (162, 1075418, '1', NOW(), '1', NOW(), b'0'), (2, 1075419, '1', NOW(), '1', NOW(), b'0'), (155, 1075419, '1', NOW(), '1', NOW(), b'0'), (160, 1075419, '1', NOW(), '1', NOW(), b'0'), (162, 1075419, '1', NOW(), '1', NOW(), b'0'), (2, 1075420, '1', NOW(), '1', NOW(), b'0'), (155, 1075420, '1', NOW(), '1', NOW(), b'0'), (160, 1075420, '1', NOW(), '1', NOW(), b'0'), (162, 1075420, '1', NOW(), '1', NOW(), b'0');