收敛Salon后台首页管理入口
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
type="info"
|
type="info"
|
||||||
show-icon
|
show-icon
|
||||||
message="当前处于平台总览模式"
|
message="当前处于平台总览模式"
|
||||||
description="可以查看总览、店铺列表和权限入口;用户、作品、订单、优惠券等店铺业务默认仅可查看,编辑操作已关闭。"
|
description="当前后台仅面向平台管理员,负责维护店铺、用户账号、角色归属和平台运行状态。"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<a-alert
|
<a-alert
|
||||||
@@ -57,9 +57,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="no-permissions" v-else>
|
<div class="no-permissions" v-else>暂无权限信息</div>
|
||||||
暂无权限信息
|
|
||||||
</div>
|
|
||||||
</a-card>
|
</a-card>
|
||||||
|
|
||||||
<a-card class="quick-actions">
|
<a-card class="quick-actions">
|
||||||
@@ -157,16 +155,8 @@ import { computed, onBeforeUnmount, onMounted, ref } from 'vue'
|
|||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import {
|
import {
|
||||||
DashboardOutlined,
|
DashboardOutlined,
|
||||||
FileProtectOutlined,
|
|
||||||
GiftOutlined,
|
|
||||||
HomeOutlined,
|
HomeOutlined,
|
||||||
MessageOutlined,
|
|
||||||
SafetyCertificateOutlined,
|
SafetyCertificateOutlined,
|
||||||
SettingOutlined,
|
|
||||||
ShopOutlined,
|
|
||||||
ShoppingOutlined,
|
|
||||||
TagOutlined,
|
|
||||||
TeamOutlined,
|
|
||||||
UserOutlined
|
UserOutlined
|
||||||
} from '@ant-design/icons-vue'
|
} from '@ant-design/icons-vue'
|
||||||
/**
|
/**
|
||||||
@@ -255,89 +245,12 @@ const quickActions = computed(() => {
|
|||||||
icon: UserOutlined,
|
icon: UserOutlined,
|
||||||
permissionCode: 'user:view'
|
permissionCode: 'user:view'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: 'products',
|
|
||||||
title: '作品管理',
|
|
||||||
path: '/admin/products',
|
|
||||||
icon: ShopOutlined,
|
|
||||||
permissionCode: 'product:view'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'coupons',
|
|
||||||
title: '优惠券',
|
|
||||||
path: '/admin/coupons',
|
|
||||||
icon: GiftOutlined,
|
|
||||||
permissionCode: 'coupon:view'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'orders',
|
|
||||||
title: '订单管理',
|
|
||||||
path: '/admin/orders',
|
|
||||||
icon: ShoppingOutlined,
|
|
||||||
permissionCode: 'order:view'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'tags',
|
|
||||||
title: '标签管理',
|
|
||||||
path: '/admin/tags',
|
|
||||||
icon: TagOutlined,
|
|
||||||
permissionCode: 'tag:view'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'artists',
|
|
||||||
title: '美甲师管理',
|
|
||||||
path: '/admin/nail-artists',
|
|
||||||
icon: TeamOutlined,
|
|
||||||
permissionCode: 'nail_artist:view'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
key: 'shops',
|
key: 'shops',
|
||||||
title: '店铺管理',
|
title: '店铺管理',
|
||||||
path: '/admin/shops',
|
path: '/admin/shops',
|
||||||
icon: HomeOutlined,
|
icon: HomeOutlined,
|
||||||
permissionCode: 'shop:view'
|
permissionCode: 'shop:view'
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'permissions',
|
|
||||||
title: '权限管理',
|
|
||||||
path: '/admin/permissions',
|
|
||||||
icon: SafetyCertificateOutlined,
|
|
||||||
permissionCode: 'permission:view'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'messages',
|
|
||||||
title: '消息发布',
|
|
||||||
path: '/admin/messages',
|
|
||||||
icon: MessageOutlined,
|
|
||||||
permissionCode: 'message:view'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'announcements',
|
|
||||||
title: '公告管理',
|
|
||||||
path: '/admin/announcements',
|
|
||||||
icon: MessageOutlined,
|
|
||||||
permissionCode: 'announcement:view'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'vip-plans',
|
|
||||||
title: 'VIP充值配置',
|
|
||||||
path: '/admin/vip-recharge-plans',
|
|
||||||
icon: GiftOutlined,
|
|
||||||
permissionCode: 'user:vip:manage'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'parameters',
|
|
||||||
title: '参数管理',
|
|
||||||
path: '/admin/messagehub-push-configs',
|
|
||||||
icon: SettingOutlined,
|
|
||||||
permissionCode: 'messagehub:config:manage'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'agreements',
|
|
||||||
title: '协议管理',
|
|
||||||
path: '/admin/legal-agreements',
|
|
||||||
icon: FileProtectOutlined,
|
|
||||||
permissionCode: 'legal_agreement:manage'
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user