chore: 客服聊天配置与排行榜奖励开发前备份

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-07-01 17:30:23 +08:00
parent 12506c5d32
commit 1c64f84d68
3 changed files with 431 additions and 12 deletions

View File

@@ -158,17 +158,25 @@
<el-menu-item v-if="canShow('shop.products')" index="/shop/products">店铺商品管理</el-menu-item>
</el-sub-menu>
<!-- 会话管理客服专用 -->
<el-menu-item v-if="canShow('chat.agent')" index="/chat/agent" :class="{ 'menu-disabled': !hasAnyChatPerm }">
<el-icon><Comment /></el-icon>
<span>会话管理</span>
<el-badge
v-if="hasAnyChatPerm && agentUnread > 0"
:value="agentUnread"
class="agent-badge"
style="margin-left: 8px;"
/>
</el-menu-item>
<!-- 会话管理 -->
<el-sub-menu v-if="canShow('chat')" index="/chat">
<template #title>
<el-icon><Comment /></el-icon>
<span>会话管理</span>
<el-badge
v-if="hasAnyChatPerm && agentUnread > 0"
:value="agentUnread"
class="agent-badge"
style="margin-left: 8px;"
/>
</template>
<el-menu-item v-if="canShow('chat.agent')" index="/chat/agent" :class="{ 'menu-disabled': !hasAnyChatPerm }">
会话接入
</el-menu-item>
<el-menu-item v-if="canShow('chat.script-config')" index="/chat/script-config">
客服聊天配置
</el-menu-item>
</el-sub-menu>
</el-menu>
<div class="collapse-btn" @click="toggleCollapse">