Files
xk-admin/菜单配置_平台资质和平台信息管理.sql

33 lines
2.0 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 平台资质管理菜单配置
-- 格式:菜单名称 | icon | 路由名称 | 路径 | 视图路径 | 其他字段...
INSERT INTO `xk_menu` (`name`, `icon`, `component`, `path`, `view_path`, `pid`, `type`, `status`, `sort_order`, `created_at`, `updated_at`) VALUES
('平台资质管理', 'ant-design:file-protect-filled', 'SystemPlatformQualifications', '/system/platform-qualifications', 'views/system/platform-qualifications/index', 1, 0, 1, 26, UNIX_TIMESTAMP(), UNIX_TIMESTAMP());
-- 平台信息管理菜单配置
INSERT INTO `xk_menu` (`name`, `icon`, `component`, `path`, `view_path`, `pid`, `type`, `status`, `sort_order`, `created_at`, `updated_at`) VALUES
('平台信息管理', 'ant-design:info-circle-filled', 'SystemPlatformInfo', '/system/platform-info', 'views/system/platform-info/index', 1, 0, 1, 27, UNIX_TIMESTAMP(), UNIX_TIMESTAMP());
-- 说明:
-- 1. 平台资质管理使用图标ant-design:file-protect-filled文件保护图标适合资质证明
-- 2. 平台信息管理使用图标ant-design:info-circle-filled信息圆圈图标适合平台信息
-- 3. 路由名称对应前端路由配置中的 name 字段
-- 4. 路径对应前端路由配置中的 path 字段
-- 5. 视图路径对应组件文件路径(相对于 views 目录)
-- 6. pid: 1 表示属于系统管理菜单(基础管理)的子菜单
-- 7. type: 0 表示菜单类型
-- 8. status: 1 表示启用
-- 9. sort_order: 26 和 27 表示排序顺序(在菜单管理之后)
-- 如果使用其他图标,可以考虑:
-- 平台资质管理:
-- - ant-design:file-text-filled文件图标
-- - ant-design:certificate证书图标
-- - ant-design:audit-outlined审核图标
-- - ant-design:file-done-outlined文件完成图标
--
-- 平台信息管理:
-- - ant-design:setting-filled设置图标
-- - ant-design:contacts-filled联系人图标
-- - ant-design:global-outlined全球图标
-- - ant-design:customer-service-filled客服图标