From 1b65954943de88578b6130a713144c14a4b3bbbc Mon Sep 17 00:00:00 2001 From: aaron <> Date: Mon, 13 Jan 2025 19:15:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E9=A1=B5=E9=9D=A2=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/BasicLayout.vue | 14 +- src/router/index.js | 11 ++ src/views/system/LogList.vue | 341 +++++++++++++++++++++++++++++++++++ 3 files changed, 365 insertions(+), 1 deletion(-) create mode 100644 src/views/system/LogList.vue 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