feat: 超管账户切换

This commit is contained in:
ah--desktop
2025-10-27 23:30:28 +08:00
parent 8914b175d7
commit 25977c568f
27 changed files with 944 additions and 76 deletions
@@ -13,7 +13,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'FileRepository',
path: '/media/file-repository',
component: () => import('#/views/media/file-repository/index.vue'),
component: () => import('#/views/media/file/index.vue'),
meta: {
icon: 'lucide:folder',
title: '文件仓库',
@@ -22,7 +22,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'ImageRepository',
path: '/media/image-repository',
component: () => import('#/views/media/image-repository/index.vue'),
component: () => import('#/views/media/image/index.vue'),
meta: {
icon: 'lucide:image',
title: '图片仓库',
@@ -13,7 +13,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'CompanyManagement',
path: '/organization/company-management',
component: () => import('#/views/organization/company-management/index.vue'),
component: () => import('#/views/organization/company/index.vue'),
meta: {
icon: 'lucide:building',
title: '公司管理',
@@ -22,7 +22,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'DepartmentManagement',
path: '/organization/department-management',
component: () => import('#/views/organization/department-management/index.vue'),
component: () => import('#/views/organization/department/index.vue'),
meta: {
icon: 'lucide:users',
title: '部门管理',
@@ -31,7 +31,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'PositionManagement',
path: '/organization/position-management',
component: () => import('#/views/organization/position-management/index.vue'),
component: () => import('#/views/organization/position/index.vue'),
meta: {
icon: 'lucide:briefcase',
title: '岗位管理',
@@ -13,7 +13,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'ShopManagement',
path: '/shop/shop-management',
component: () => import('#/views/shop/shop-management/index.vue'),
component: () => import('#/views/shop/shop/index.vue'),
meta: {
icon: 'lucide:store',
title: '店铺管理',
@@ -22,7 +22,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'ProductManagement',
path: '/shop/product-management',
component: () => import('#/views/shop/product-management/index.vue'),
component: () => import('#/views/shop/product/index.vue'),
meta: {
icon: 'lucide:package',
title: '商品管理',
@@ -31,7 +31,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'OrderManagement',
path: '/shop/order-management',
component: () => import('#/views/shop/order-management/index.vue'),
component: () => import('#/views/shop/order/index.vue'),
meta: {
icon: 'lucide:shopping-cart',
title: '订单管理',
@@ -40,7 +40,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'PromotionFeeManagement',
path: '/shop/promotion-fee-management',
component: () => import('#/views/shop/promotion-fee-management/index.vue'),
component: () => import('#/views/shop/promotion-fee/index.vue'),
meta: {
icon: 'lucide:credit-card',
title: '推广费管理',
@@ -57,7 +57,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'OrderStatusConfig',
path: '/shop/config-management/order-status',
component: () => import('#/views/shop/config-management/order-status-config/index.vue'),
component: () => import('#/views/shop/config/order-status-config/index.vue'),
meta: {
icon: 'lucide:list-checks',
title: '订单状态类型',
@@ -66,7 +66,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'PromotionFeeTypeConfig',
path: '/shop/config-management/promotion-fee-type',
component: () => import('#/views/shop/config-management/promotion-fee-type-config/index.vue'),
component: () => import('#/views/shop/config/promotion-fee-type-config/index.vue'),
meta: {
icon: 'lucide:percent',
title: '推广费用类型',
@@ -13,7 +13,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'MenuManagement',
path: '/system/menu-management',
component: () => import('#/views/system/menu-management/index.vue'),
component: () => import('#/views/system/menu/index.vue'),
meta: {
icon: 'lucide:menu',
title: '菜单管理',