From 22878cfc48c7200e0b01366fe1db3a532308a464 Mon Sep 17 00:00:00 2001 From: oat_dev Date: Wed, 10 Jul 2024 15:10:12 +0700 Subject: [PATCH] merge UI --- src/modules/03_logs/router.ts | 8 ---- src/modules/03_logs/views/lists.vue | 58 +++++++++++++++++------------ 2 files changed, 34 insertions(+), 32 deletions(-) diff --git a/src/modules/03_logs/router.ts b/src/modules/03_logs/router.ts index 4dd377a2..b24b492b 100644 --- a/src/modules/03_logs/router.ts +++ b/src/modules/03_logs/router.ts @@ -9,12 +9,4 @@ export default [ Role: ["SUPER_ADMIN", "ADMIN"], }, }, - { - path: "/lists/:pathMatch(.*)*", - name: "viewLogs", - component: ListsPage, - meta: { - Role: ["SUPER_ADMIN", "ADMIN"], - }, - }, ]; diff --git a/src/modules/03_logs/views/lists.vue b/src/modules/03_logs/views/lists.vue index 94551156..f57c8ab5 100644 --- a/src/modules/03_logs/views/lists.vue +++ b/src/modules/03_logs/views/lists.vue @@ -4,13 +4,14 @@ /** importComponents*/ import CardComponents from "@/modules/03_logs/components/CardComponents.vue"; import LogTable from "@/modules/03_logs/components/LogTable.vue"; +import { useRoute } from "vue-router"; import http from "@/plugins/http"; import config from "@/app.config"; -import { link } from "fs"; -import { ref } from "vue"; +import { ref, onMounted } from "vue"; +import { useCurrencyInput } from "vue-currency-input"; /** importStore*/ - +const route = useRoute(); /** use*/ const menuList = ref<{ icon: string; label: string; path: string }[]>([ @@ -100,13 +101,40 @@ const menuList = ref<{ icon: string; label: string; path: string }[]>([ path: "lists?system=sso", }, ]); + +onMounted(async () => { + console.log(""); +});