diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue index 5b684f1..acbd42b 100644 --- a/src/layouts/BasicLayout.vue +++ b/src/layouts/BasicLayout.vue @@ -58,6 +58,16 @@ 商品列表 + + + + + + 日志查询 + + @@ -109,6 +119,7 @@ import { LogoutOutlined, DashboardOutlined, ShopOutlined, + SettingOutlined, } from '@ant-design/icons-vue' import { useRouter } from 'vue-router' @@ -123,12 +134,13 @@ export default defineComponent({ LogoutOutlined, DashboardOutlined, ShopOutlined, + SettingOutlined, }, setup() { const router = useRouter() const collapsed = ref(false) const selectedKeys = ref(['dashboard']) - const openKeys = ref(['user', 'community', 'merchant']) + const openKeys = ref(['user', 'community', 'merchant', 'system']) const userInfo = ref(JSON.parse(localStorage.getItem('userInfo') || '{}')) diff --git a/src/router/index.js b/src/router/index.js index a806a97..a194d3a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -67,6 +67,17 @@ const routes = [ meta: { title: '商品列表' } } ] + }, + { + path: '/system', + component: BasicLayout, + children: [ + { + path: 'logs', + component: () => import('@/views/system/LogList.vue'), + meta: { title: '日志查询' } + } + ] } ] diff --git a/src/views/system/LogList.vue b/src/views/system/LogList.vue new file mode 100644 index 0000000..7fefb19 --- /dev/null +++ b/src/views/system/LogList.vue @@ -0,0 +1,341 @@ + + + + + \ No newline at end of file