diff --git a/src/router/modules/chat.js b/src/router/modules/chat.js new file mode 100644 index 0000000..39b4356 --- /dev/null +++ b/src/router/modules/chat.js @@ -0,0 +1,23 @@ +export default [ + { + path: '/chat', + name: 'ChatManagement', + component: () => import('@/layouts/default.vue'), + meta: { + title: '客服会话', + icon: 'wechat-2-fill', + layout: true, + }, + children: [ + { + path: 'session', + name: 'ChatSession', + component: () => import('@/views/chat/index.vue'), + meta: { + title: '会话列表', + icon: 'wechat-2-fill', + }, + }, + ], + }, +]; diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue new file mode 100644 index 0000000..a53bb4c --- /dev/null +++ b/src/views/chat/index.vue @@ -0,0 +1,218 @@ + + + + +