33 lines
2.0 KiB
SQL
33 lines
2.0 KiB
SQL
-- 平台资质管理菜单配置
|
||
-- 格式:菜单名称 | 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(客服图标)
|