From cba1f712244a6fcafc5b3a23a129775f95539cb9 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期六, 24 十月 2026 23:07:26 +0800
Subject: [PATCH] fix(mes): 修正赋能管理菜单路径

---
 .gitignore                                      |    1 +
 sql/mysql/xgdl_enablement_menu_fix_20261024.sql |   14 ++++++++++++++
 sql/mysql/ruoyi-vue-pro.sql                     |    4 ++--
 3 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index b4a2414..ac30e78 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,6 +32,7 @@
 !sql/mysql/xgdl_aftersales_return_link_repair_20261024.sql
 !sql/mysql/xgdl_aftersales_refund_confirm_20261024.sql
 !sql/mysql/hrm_attendance_location_20261024.sql
+!sql/mysql/xgdl_enablement_menu_fix_20261024.sql
 *.md
 !docs/xgdl-business-flow-alignment-20261024.md
 *.xlsx
diff --git a/sql/mysql/ruoyi-vue-pro.sql b/sql/mysql/ruoyi-vue-pro.sql
index 2317cc5..e34b62f 100644
--- a/sql/mysql/ruoyi-vue-pro.sql
+++ b/sql/mysql/ruoyi-vue-pro.sql
@@ -3176,12 +3176,12 @@
 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 (5899, 'SN 鐮佺敓鎴�', 'mes:wm-sn:create', 3, 2, 5897, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2026-03-05 01:30:21', '1', '2026-03-05 01:30:21', 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 (5900, 'SN 鐮佸垹闄�', 'mes:wm-sn:delete', 3, 4, 5897, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2026-03-05 01:30:21', '1', '2026-03-05 01:30:21', 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 (5901, 'SN 鐮佸鍑�', 'mes:wm-sn:export', 3, 5, 5897, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2026-03-05 01:30:21', '1', '2026-03-05 01:30:21', 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 (5906, '鏉$爜閰嶇疆', '', 2, 15, 5780, 'barcode/config', 'fa:barcode', 'mes/wm/barcode/config/index', 'MesWmBarcodeConfig', 0, b'0', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 21:05:20', 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 (5906, '鏉$爜閰嶇疆', '', 2, 15, 5780, 'barcode/config', 'fa:barcode', 'wls/barcode/config/index', 'MesWmBarcodeConfig', 0, b'0', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 21:05:20', 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 (5907, '鏉$爜閰嶇疆鏌ヨ', 'mes:wm-barcode-config:query', 3, 1, 5906, '', '', '', '', 0, b'1', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 21:09:11', 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 (5908, '鏉$爜閰嶇疆鍒涘缓', 'mes:wm-barcode-config:create', 3, 2, 5906, '', '', '', '', 0, b'1', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 21:09:16', 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 (5909, '鏉$爜閰嶇疆鏇存柊', 'mes:wm-barcode-config:update', 3, 3, 5906, '', '', '', '', 0, b'1', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 21:09:21', 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 (5910, '鏉$爜閰嶇疆鍒犻櫎', 'mes:wm-barcode-config:delete', 3, 4, 5906, '', '', '', '', 0, b'1', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 21:09:26', 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 (5911, '璧嬭兘绠$悊', '', 2, 15, 5780, 'barcode', 'fa:qrcode', 'mes/wm/barcode/index', 'MesWmBarcode', 0, b'1', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 10:01:03', 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 (5911, '璧嬭兘绠$悊', '', 2, 15, 5780, 'barcode', 'fa:qrcode', 'wls/barcode/index', 'MesWmBarcode', 0, b'1', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 10:01:03', 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 (5912, '鏉$爜娓呭崟鏌ヨ', 'mes:wm-barcode:query', 3, 1, 5911, '', '', '', '', 0, b'1', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 09:58:59', 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 (5913, '鏉$爜娓呭崟鍒涘缓', 'mes:wm-barcode:create', 3, 2, 5911, '', '', '', '', 0, b'1', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 09:59:03', 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 (5914, '鏉$爜娓呭崟鏇存柊', 'mes:wm-barcode:update', 3, 3, 5911, '', '', '', '', 0, b'1', b'1', b'1', '1', '2026-03-05 14:37:20', '1', '2026-03-06 09:59:08', b'0');
diff --git a/sql/mysql/xgdl_enablement_menu_fix_20261024.sql b/sql/mysql/xgdl_enablement_menu_fix_20261024.sql
new file mode 100644
index 0000000..2a37173
--- /dev/null
+++ b/sql/mysql/xgdl_enablement_menu_fix_20261024.sql
@@ -0,0 +1,14 @@
+-- 淇鈥滆祴鑳界鐞�/鏉$爜閰嶇疆鈥濊彍鍗曠粍浠惰矾寰勩��
+-- 鍓嶇浠撳偍鐗╂祦椤甸潰宸茶縼绉诲埌 src/views/wls锛屾棫 mes/wm 璺緞鏃犳硶鍔犺浇椤甸潰銆�
+
+UPDATE `system_menu`
+SET `component` = 'wls/barcode/index',
+    `update_time` = NOW()
+WHERE `id` = 5911
+  AND `deleted` = b'0';
+
+UPDATE `system_menu`
+SET `component` = 'wls/barcode/config/index',
+    `update_time` = NOW()
+WHERE `id` = 5906
+  AND `deleted` = b'0';

--
Gitblit v1.9.3