diff --git a/src/router/modules/permission.js b/src/router/modules/permission.js index 9a7c670..05c90df 100644 --- a/src/router/modules/permission.js +++ b/src/router/modules/permission.js @@ -18,15 +18,15 @@ export default [ icon: 'organization-chart', }, }, - { - path: 'menu', - name: 'MenuManagement', - component: () => import('@/views/permission/menu/index.vue'), - meta: { - title: '菜单管理', - icon: 'menu-2', - }, - }, + // { + // path: 'menu', + // name: 'MenuManagement', + // component: () => import('@/views/permission/menu/index.vue'), + // meta: { + // title: '菜单管理', + // icon: 'menu-2', + // }, + // }, { path: 'employee', name: 'EmployeeManagement', diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index c2404f2..5ad100e 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -57,7 +57,7 @@
- + 个人订单 @@ -136,6 +136,7 @@ import 'element-plus/es/components/button/style/css'; import MessageItem from './message.vue'; const { proxy } = getCurrentInstance(); + const router = useRouter(); const store = useStore(); store.dispatch('chat/connect'); store.dispatch('chat/querySession'); @@ -194,6 +195,12 @@ } }; + // 个人订单 + const handleOrder = () => { + console.info(unref(currentSession)); + router.push({ name: 'OrderManagement', query: { id: currentSession.value.fromId } }); + }; + // 转移会话 const transferVisible = ref(false); const transferConfig = ref({ diff --git a/src/views/permission/dept/index.vue b/src/views/permission/dept/index.vue index 45d4256..b24ab98 100644 --- a/src/views/permission/dept/index.vue +++ b/src/views/permission/dept/index.vue @@ -107,32 +107,7 @@ - - - - - + 待开发