From 8eab3953abda9dbe1dbd3a225d760ecd826181cc Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Sat, 11 May 2024 16:53:19 +0800 Subject: [PATCH] fix: performance menu hidden --- database/install/sys_menu.sql | 4 ++-- database/upgrade/upg_sys_menu.sql | 22 ++++++++++++++++++++++ database/upgvue3/upg_sys_menu.sql | 22 ++++++++++++++++++++++ 3 files changed, 46 insertions(+), 2 deletions(-) diff --git a/database/install/sys_menu.sql b/database/install/sys_menu.sql index 2060fc99..c11c07fe 100644 --- a/database/install/sys_menu.sql +++ b/database/install/sys_menu.sql @@ -11,7 +11,7 @@ Target Server Version : 100338 (10.3.38-MariaDB) File Encoding : 65001 - Date: 10/05/2024 17:25:35 + Date: 11/05/2024 16:51:57 */ SET NAMES utf8mb4; @@ -145,7 +145,7 @@ INSERT INTO `sys_menu` VALUES (2099, 'menu.perf', 0, 5, 'perfManage', NULL, '1', INSERT INTO `sys_menu` VALUES (2100, 'menu.perf.task', 2099, 1, 'taskManage', 'perfManage/taskManage/index', '1', '1', 'M', '0', '1', 'perfManage:taskManage:index', 'icon-wofaqi', 'supervisor', 1700000000000, 'admin', 1713177036412, 'menu.perf.taskRemark'); INSERT INTO `sys_menu` VALUES (2101, 'menu.perf.data', 2099, 2, 'perfData', 'perfManage/perfData/index', '1', '1', 'M', '0', '1', 'perfManage:perfData:index', 'icon-soutubiao', 'supervisor', 1700000000000, 'admin', 1713177042915, 'menu.perf.dataRemark'); INSERT INTO `sys_menu` VALUES (2102, 'menu.perf.report', 2099, 3, 'perfReport', 'perfManage/perfReport/index', '1', '0', 'M', '0', '0', 'perfManage:perfReport:index', 'icon-gonggaodayi', 'supervisor', 1700000000000, NULL, 0, 'menu.perf.reportRemark'); -INSERT INTO `sys_menu` VALUES (2103, 'menu.perf.threshold', 2099, 4, 'perfThreshold', 'perfManage/perfThreshold/index', '1', '0', 'M', '1', '1', 'perfManage:perfThreshold:index', 'icon-zhuanrang', 'supervisor', 1700000000000, 'admin', 1712807935215, 'menu.perf.thresholdRemark'); +INSERT INTO `sys_menu` VALUES (2103, 'menu.perf.threshold', 2099, 4, 'perfThreshold', 'perfManage/perfThreshold/index', '1', '0', 'M', '0', '1', 'perfManage:perfThreshold:index', 'icon-zhuanrang', 'supervisor', 1700000000000, 'supervisor', 1715417264697, 'menu.perf.thresholdRemark'); INSERT INTO `sys_menu` VALUES (2104, 'menu.perf.kpi', 2099, 5, 'goldTarget', 'perfManage/goldTarget/index', '1', '1', 'M', '1', '1', 'perfManage:goldTarget:index', 'icon-soutubiao', 'supervisor', 1700000000000, NULL, 0, 'menu.perf.kpiRemark'); INSERT INTO `sys_menu` VALUES (2105, 'menu.perf.customTarget', 2099, 6, 'customTarget', 'perfManage/customTarget/index', '1', '1', 'M', '0', '0', 'perfManage:customTarget:index', 'icon-fanhui1', 'supervisor', 1700000000000, 'admin', 1712807948673, 'menu.perf.customTargetRemark'); INSERT INTO `sys_menu` VALUES (2106, 'menu.perf.set', 2099, 7, 'perfSet', 'perfManage/perfSet/index', '1', '0', 'M', '0', '0', 'perfManage:perfSet:index', 'icon-gonggao', 'supervisor', 1700000000000, NULL, 0, 'menu.perf.setRemark'); diff --git a/database/upgrade/upg_sys_menu.sql b/database/upgrade/upg_sys_menu.sql index a629987a..5b0f5dc3 100644 --- a/database/upgrade/upg_sys_menu.sql +++ b/database/upgrade/upg_sys_menu.sql @@ -1143,6 +1143,28 @@ SET WHERE `menu_id` = 2095; +UPDATE `omc_db`.`sys_menu` +SET + `menu_name` = 'menu.perf.threshold', + `parent_id` = 2099, + `menu_sort` = 4, + `path` = 'perfThreshold', + `component` = 'perfManage/perfThreshold/index', + `is_frame` = '1', + `is_cache` = '0', + `menu_type` = 'M', + `visible` = '0', + `status` = '1', + `perms` = 'perfManage:perfThreshold:index', + `icon` = 'icon-zhuanrang', + `create_by` = 'supervisor', + `create_time` = 1700000000000, + `update_by` = 'supervisor', + `update_time` = 1715417264697, + `remark` = 'menu.perf.thresholdRemark' +WHERE + `menu_id` = 2103; + -- end: remove SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_sys_menu.sql b/database/upgvue3/upg_sys_menu.sql index a629987a..5b0f5dc3 100644 --- a/database/upgvue3/upg_sys_menu.sql +++ b/database/upgvue3/upg_sys_menu.sql @@ -1143,6 +1143,28 @@ SET WHERE `menu_id` = 2095; +UPDATE `omc_db`.`sys_menu` +SET + `menu_name` = 'menu.perf.threshold', + `parent_id` = 2099, + `menu_sort` = 4, + `path` = 'perfThreshold', + `component` = 'perfManage/perfThreshold/index', + `is_frame` = '1', + `is_cache` = '0', + `menu_type` = 'M', + `visible` = '0', + `status` = '1', + `perms` = 'perfManage:perfThreshold:index', + `icon` = 'icon-zhuanrang', + `create_by` = 'supervisor', + `create_time` = 1700000000000, + `update_by` = 'supervisor', + `update_time` = 1715417264697, + `remark` = 'menu.perf.thresholdRemark' +WHERE + `menu_id` = 2103; + -- end: remove SET FOREIGN_KEY_CHECKS = 1;