mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
add: customer service menu
Signed-off-by: Kaifuny <superbiger.github@gmail.com>
This commit is contained in:
parent
623e580b66
commit
20026e0016
@ -96,6 +96,13 @@ const active = ref(false)
|
|||||||
:dropdown-menus="dropdownMenus"
|
:dropdown-menus="dropdownMenus"
|
||||||
@update:current="handleClickNav"
|
@update:current="handleClickNav"
|
||||||
>
|
>
|
||||||
|
<template #production>
|
||||||
|
<div class="flex items-center space-x-2">
|
||||||
|
<div class="text-sm">XX公司官网</div>
|
||||||
|
<span>-</span>
|
||||||
|
<div class="text-sm">默认客服部门</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
<RouterLink class="text-sm text-green-600" to="/index">
|
<RouterLink class="text-sm text-green-600" to="/index">
|
||||||
使用教程
|
使用教程
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
|
@ -20,6 +20,10 @@ const menuOptions: MenuOption[] = [
|
|||||||
label: '知识库',
|
label: '知识库',
|
||||||
key: ROUTE_NAME.ENTERPRISE_KNOWLEDGE_INDEX,
|
key: ROUTE_NAME.ENTERPRISE_KNOWLEDGE_INDEX,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '质检',
|
||||||
|
key: ROUTE_NAME.ENTERPRISE_KNOWLEDGE_INDEX,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '账号管理',
|
label: '账号管理',
|
||||||
children: [
|
children: [
|
||||||
|
@ -1,8 +1,43 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
import { ROUTE_NAME } from '@cskefu/models'
|
||||||
import { MenusLayout } from '@cskefu/shared-ui'
|
import { MenusLayout } from '@cskefu/shared-ui'
|
||||||
import { MenuOption, NMenu } from 'naive-ui'
|
import { MenuOption, NMenu } from 'naive-ui'
|
||||||
|
|
||||||
const menuOptions: MenuOption[] = []
|
const menuOptions: MenuOption[] = [
|
||||||
|
{
|
||||||
|
label: '坐席看板',
|
||||||
|
key: ROUTE_NAME.ENTERPRISE_INDEX,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '会话管理',
|
||||||
|
key: ROUTE_NAME.ENTERPRISE_INDEX,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '留言管理',
|
||||||
|
key: ROUTE_NAME.ENTERPRISE_INDEX,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '坐席管理',
|
||||||
|
key: ROUTE_NAME.ENTERPRISE_INDEX,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '机器人管理',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
label: '数据统计',
|
||||||
|
key: ROUTE_NAME.ENTERPRISE_INDEX,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '机器人管理',
|
||||||
|
key: ROUTE_NAME.ENTERPRISE_INDEX,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '机器人设置',
|
||||||
|
key: ROUTE_NAME.ENTERPRISE_INDEX,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
]
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<MenusLayout>
|
<MenusLayout>
|
||||||
|
@ -39,9 +39,10 @@ defineEmits(['update:current'])
|
|||||||
<div class="px-4 sm:px-6 lg:px-8">
|
<div class="px-4 sm:px-6 lg:px-8">
|
||||||
<div class="flex h-16 items-center justify-between">
|
<div class="flex h-16 items-center justify-between">
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<div class="flex-shrink-0 pt-2">
|
<div class="flex-shrink-0 pt-2 mr-2">
|
||||||
<img class="h-10 w-18" :src="logoUrl" alt="Your Company" />
|
<img class="h-10 w-18" :src="logoUrl" alt="Your Company" />
|
||||||
</div>
|
</div>
|
||||||
|
<slot name="production"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden md:block">
|
<div class="hidden md:block">
|
||||||
<div class="ml-10 flex items-baseline space-x-4">
|
<div class="ml-10 flex items-baseline space-x-4">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user