mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 03:49:19 +08:00
fix: 平台管理父级path改为/platform-admin
This commit is contained in:
@@ -122,3 +122,21 @@ JOIN sys_permission p ON
|
|||||||
(m.name LIKE '%导出%' AND p.code LIKE 'data:export%')
|
(m.name LIKE '%导出%' AND p.code LIKE 'data:export%')
|
||||||
ON DUPLICATE KEY UPDATE menu_id = menu_id;
|
ON DUPLICATE KEY UPDATE menu_id = menu_id;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
-- ================================================================
|
||||||
|
-- 2026-03-30 补充:平台管理目录结构
|
||||||
|
-- ================================================================
|
||||||
|
-- 平台管理(原超级管理)目录已创建:
|
||||||
|
-- ID=40, name='平台管理', path='/system/platform-admin'
|
||||||
|
-- 子菜单 path 统一为 /system/platform-admin/xxx:
|
||||||
|
-- /system/platform-admin/company (公司管理)
|
||||||
|
-- /system/platform-admin/menu (菜单管理)
|
||||||
|
-- /system/platform-admin/permission (权限码管理)
|
||||||
|
-- /system/platform-admin/field (字段管理)
|
||||||
|
-- /system/platform-admin/account-super (账户管理-超管)
|
||||||
|
-- /system/platform-admin/company-menu-manage (公司菜单管理)
|
||||||
|
-- /system/platform-admin/company-permission-manage (公司权限管理)
|
||||||
|
|
||||||
|
-- 2026-03-30 补充:平台管理路径改为 /platform-admin
|
||||||
|
-- 父级: /platform-admin
|
||||||
|
-- 子级: /platform-admin/company, /platform-admin/menu, /platform-admin/permission, etc.
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ const routes: RouteRecordRaw[] = [
|
|||||||
title: '平台管理',
|
title: '平台管理',
|
||||||
},
|
},
|
||||||
name: 'SystemPlatform',
|
name: 'SystemPlatform',
|
||||||
path: '/system/platform-admin',
|
path: '/platform-admin',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'PlatformCompanyManagement',
|
name: 'PlatformCompanyManagement',
|
||||||
path: '/system/platform-admin/company',
|
path: '/platform-admin/company',
|
||||||
component: () => import('#/views/organization/company/index.vue'),
|
component: () => import('#/views/organization/company/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'lucide:building',
|
icon: 'lucide:building',
|
||||||
@@ -21,7 +21,7 @@ const routes: RouteRecordRaw[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'PlatformMenuManagement',
|
name: 'PlatformMenuManagement',
|
||||||
path: '/system/platform-admin/menu',
|
path: '/platform-admin/menu',
|
||||||
component: () => import('#/views/system/menu/index.vue'),
|
component: () => import('#/views/system/menu/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'lucide:menu',
|
icon: 'lucide:menu',
|
||||||
@@ -30,7 +30,7 @@ const routes: RouteRecordRaw[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'PlatformPermissionManagement',
|
name: 'PlatformPermissionManagement',
|
||||||
path: '/system/platform-admin/permission',
|
path: '/platform-admin/permission',
|
||||||
component: () => import('#/views/system/permission/index.vue'),
|
component: () => import('#/views/system/permission/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'lucide:shield-check',
|
icon: 'lucide:shield-check',
|
||||||
@@ -39,7 +39,7 @@ const routes: RouteRecordRaw[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'PlatformFieldManagement',
|
name: 'PlatformFieldManagement',
|
||||||
path: '/system/platform-admin/field',
|
path: '/platform-admin/field',
|
||||||
component: () => import('#/views/system/field/index.vue'),
|
component: () => import('#/views/system/field/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'lucide:database',
|
icon: 'lucide:database',
|
||||||
@@ -48,7 +48,7 @@ const routes: RouteRecordRaw[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'PlatformAccountSuperManagement',
|
name: 'PlatformAccountSuperManagement',
|
||||||
path: '/system/platform-admin/account-super',
|
path: '/platform-admin/account-super',
|
||||||
component: () => import('#/views/organization/account-super/index.vue'),
|
component: () => import('#/views/organization/account-super/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'lucide:user-check',
|
icon: 'lucide:user-check',
|
||||||
@@ -57,7 +57,7 @@ const routes: RouteRecordRaw[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'PlatformCompanyMenuAssign',
|
name: 'PlatformCompanyMenuAssign',
|
||||||
path: '/system/platform-admin/company-menu-manage',
|
path: '/platform-admin/company-menu-manage',
|
||||||
component: () => import('#/views/system/platform/company-menu-manage.vue'),
|
component: () => import('#/views/system/platform/company-menu-manage.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'lucide:layoutDashboard',
|
icon: 'lucide:layoutDashboard',
|
||||||
@@ -66,7 +66,7 @@ const routes: RouteRecordRaw[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'PlatformCompanyPermissionAssign',
|
name: 'PlatformCompanyPermissionAssign',
|
||||||
path: '/system/platform-admin/company-permission-manage',
|
path: '/platform-admin/company-permission-manage',
|
||||||
component: () => import('#/views/system/platform/company-permission-manage.vue'),
|
component: () => import('#/views/system/platform/company-permission-manage.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'lucide:shield-check',
|
icon: 'lucide:shield-check',
|
||||||
|
|||||||
Reference in New Issue
Block a user