feat: 字典数据多语言翻译新增网元路由菜单

This commit is contained in:
TsMask
2024-04-10 17:08:09 +08:00
parent 4c0508ef17
commit 24fc8c02d3
7 changed files with 32 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -35,7 +35,9 @@ CREATE TABLE IF NOT EXISTS `sys_dict_data` (
`update_time` bigint(20) NULL DEFAULT 0 COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`dict_code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4036 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典数据表' ROW_FORMAT = Dynamic;
) ENGINE = InnoDB AUTO_INCREMENT = 10000 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典数据表' ROW_FORMAT = Dynamic;
ALTER TABLE `sys_dict_data` AUTO_INCREMENT = 10000;
-- ----------------------------
-- Records of sys_dict_data
@@ -161,5 +163,11 @@ INSERT IGNORE INTO `sys_dict_data` VALUES (118, 0, 'dictData.ne_info_status.0',
INSERT IGNORE INTO `sys_dict_data` VALUES (119, 1, 'dictData.ne_info_status.1', '1', 'ne_info_status', '', '', '1', 'supervisor', 1706620000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (120, 2, 'dictData.ne_info_status.2', '2', 'ne_info_status', '', '', '1', 'supervisor', 1706620000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (121, 3, 'dictData.ne_info_status.3', '3', 'ne_info_status', '', '', '1', 'supervisor', 1706620000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (122, 0, 'ne_license_status.0', '0', 'ne_license_status', '', 'warning', '1', 'supervisor', 1706620000000, 'supervisor', 1712720196537, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (123, 1, 'ne_license_status.1', '1', 'ne_license_status', '', 'processing', '1', 'supervisor', 1706620000000, 'supervisor', 1712720201349, '');
-- 指定记录条件更新
UPDATE `sys_dict_data` SET `dict_value` = 'Module Tracing' WHERE `dict_code` = 3425;
SET FOREIGN_KEY_CHECKS = 1;

View File

@@ -638,5 +638,14 @@ INSERT IGNORE INTO `sys_dict_data` VALUES (2114, 2114, 'dictData.ne_info_status.
INSERT IGNORE INTO `sys_dict_data` VALUES (2115, 2115, 'dictType.ne_info_status', '网元信息状态', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2116, 2116, 'menu.tools.neQuickSetup', '网元快速安装', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2117, 2117, 'log.operate.title.neConfig', '网元参数配置', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2118, 2118, 'menu.config.neLicense', '网元授权', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2119, 2119, 'log.operate.title.neLicense', '网元授权', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2120, 2120, 'menu.config.neSoftware', '网元软件包', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2121, 2121, 'log.operate.title.neSoftware', '网元软件包', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2122, 2122, 'log.operate.title.neVersion', '网元版本', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2123, 2123, 'menu.config.neVersion', '网元版本', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2124, 2124, 'dictType.ne_license_status', '网元授权状态', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2125, 2125, 'ne_license_status.0', '无效', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (2126, 2126, 'ne_license_status.1', '有效', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
SET FOREIGN_KEY_CHECKS = 1;

View File

@@ -199,7 +199,7 @@ INSERT IGNORE INTO `sys_dict_data` VALUES (3421, 3421, 'dictData.operType.import
INSERT IGNORE INTO `sys_dict_data` VALUES (3422, 3422, 'dictData.operType.forced quit', 'Forced Retirement', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL);
INSERT IGNORE INTO `sys_dict_data` VALUES (3423, 3423, 'dictData.operType.clear', 'Clear', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL);
INSERT IGNORE INTO `sys_dict_data` VALUES (3424, 3424, 'dictData.trace.interface', 'Interface Tracing', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL);
INSERT IGNORE INTO `sys_dict_data` VALUES (3425, 3425, 'dictData.trace.device', 'Device Tracing', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL);
INSERT IGNORE INTO `sys_dict_data` VALUES (3425, 3425, 'dictData.trace.device', 'Module Tracing', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL);
INSERT IGNORE INTO `sys_dict_data` VALUES (3426, 3426, 'dictData.trace.user', 'User Tracing', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL);
INSERT IGNORE INTO `sys_dict_data` VALUES (3427, 3427, 'dictData.logType.download', 'Download', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL);
INSERT IGNORE INTO `sys_dict_data` VALUES (3428, 3428, 'dictData.logType.activation', 'Activation', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL);
@@ -638,5 +638,14 @@ INSERT IGNORE INTO `sys_dict_data` VALUES (4114, 4114, 'dictData.ne_info_status.
INSERT IGNORE INTO `sys_dict_data` VALUES (4115, 4115, 'dictType.ne_info_status', 'NE Info State', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4116, 4116, 'menu.tools.neQuickSetup', 'NE Quick Setup', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4117, 4117, 'log.operate.title.neConfig', 'NE Parameter Configuration', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4118, 4118, 'menu.config.neLicense', 'NE License', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4119, 4119, 'log.operate.title.neLicense', 'NE License', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4120, 4120, 'menu.config.neSoftware', 'NE Software', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4121, 4121, 'log.operate.title.neSoftware', 'NE Software', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4122, 4122, 'menu.config.neVersion', 'Ne Version', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4123, 4123, 'log.operate.title.neVersion', 'Ne Version', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4124, 4124, 'dictType.ne_license_status', 'NE License Status', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4125, 4125, 'ne_license_status.0', 'Invalid', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_data` VALUES (4126, 4126, 'ne_license_status.1', 'Valid', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, '');
SET FOREIGN_KEY_CHECKS = 1;

View File

@@ -68,5 +68,6 @@ INSERT IGNORE INTO `sys_dict_type` VALUES (119, 'dictType.ne_host_groupId', 'ne_
INSERT IGNORE INTO `sys_dict_type` VALUES (120, 'dictType.ne_host_authMode', 'ne_host_authMode', '1', 'supervisor', 1702020000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (121, 'dictType.ne_host_cmd_groupId', 'ne_host_cmd_groupId', '1', 'supervisor', 1702020000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (122, 'dictType.ne_info_status', 'ne_info_status', '1', 'supervisor', 1702020000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (123, 'dictType.ne_license_status', 'ne_license_status', '1', 'supervisor', 1702020000000, '', 0, '');
SET FOREIGN_KEY_CHECKS = 1;

View File

@@ -260,6 +260,9 @@ INSERT IGNORE INTO `sys_menu` VALUES (2136, 'menu.config.neHostCommand', 4, 18,
INSERT IGNORE INTO `sys_menu` VALUES (2137, 'menu.config.neInfo', 4, 14, 'neInfo', 'ne/neInfo/index', '1', '0', 'M', '1', '1', 'ne:neInfo:list', 'icon-fuzhidaima', 'supervisor', 1708583596871, '', 0, '');
INSERT IGNORE INTO `sys_menu` VALUES (2138, 'menu.dashboard.amfUE', 2131, 6, 'amfUE', 'dashboard/amfUE/index', '1', '0', 'M', '1', '1', 'dashboard:amfUE:index', 'icon-paixu', 'supervisor', 1705550000000, '', 0, '');
INSERT IGNORE INTO `sys_menu` VALUES (2139, 'menu.tools.neQuickSetup', 3, 6, 'neQuickSetup', 'tool/neQuickSetup/index', '1', '1', 'M', '1', '1', 'ne:neHost:list', 'icon-wofaqi', 'supervisor', 1708580000000, '', 0, '');
INSERT IGNORE INTO `sys_menu` VALUES (2140, 'menu.config.neLicense', 4, 20, 'neLicense', 'ne/neLicense/index', '1', '0', 'M', '1', '1', 'ne:neLicense:list', 'icon-fuzhidaima', 'supervisor', 1708580000000, '', 0, '');
INSERT IGNORE INTO `sys_menu` VALUES (2141, 'menu.config.neSoftware', 4, 23, 'neSoftware', 'ne/neSoftware/index', '1', '0', 'M', '1', '1', 'ne:neSoftware:list', 'icon-fuzhidaima', 'supervisor', 1708580000000, '', 0, '');
INSERT IGNORE INTO `sys_menu` VALUES (2142, 'menu.config.neVersion', 4, 26, 'neVersion', 'ne/neVersion/index', '1', '0', 'M', '1', '1', 'ne:neVersion:list', 'icon-fuzhidaima', 'supervisor', 1708580000000, '', 0, '');
-- 指定记录条件更新