merge UI
This commit is contained in:
parent
8ed9388fc5
commit
22878cfc48
2 changed files with 34 additions and 32 deletions
|
|
@ -9,12 +9,4 @@ export default [
|
|||
Role: ["SUPER_ADMIN", "ADMIN"],
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/lists/:pathMatch(.*)*",
|
||||
name: "viewLogs",
|
||||
component: ListsPage,
|
||||
meta: {
|
||||
Role: ["SUPER_ADMIN", "ADMIN"],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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("");
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<div class="q-pl-lg q-pb-lg text-h6">ประวัติกิจกรรม (Logs)</div>
|
||||
<div class="row q-mb-lg">
|
||||
<q-btn
|
||||
flat
|
||||
v-if="route.query.system"
|
||||
round
|
||||
class="q-mr-sm"
|
||||
color="primary"
|
||||
icon="mdi-arrow-left"
|
||||
dense
|
||||
to="lists"
|
||||
>
|
||||
</q-btn>
|
||||
<div class="row items-center">
|
||||
<span class="toptitle text-dark items-center q-mr-md">
|
||||
ประวัติกิจกรรม (Logs)
|
||||
</span>
|
||||
<div
|
||||
v-if="route.query.system"
|
||||
class="toptitle text-primary items-center"
|
||||
>
|
||||
ระบบทะเบียนประวัติ
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row q-col-gutter-lg full-width">
|
||||
<div v-if="!route.query.system" class="row q-col-gutter-lg full-width">
|
||||
<div class="col-3" :key="index" v-for="(item, index) in menuList">
|
||||
<CardComponents
|
||||
class="cursor-pointer"
|
||||
|
|
@ -119,25 +147,7 @@ const menuList = ref<{ icon: string; label: string; path: string }[]>([
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row q-mb-lg">
|
||||
<q-btn
|
||||
flat
|
||||
round
|
||||
class="q-mr-sm"
|
||||
color="primary"
|
||||
icon="mdi-arrow-left"
|
||||
dense
|
||||
@click="console.log('test')"
|
||||
>
|
||||
</q-btn>
|
||||
<div class="row items-center">
|
||||
<span class="toptitle text-dark items-center q-mr-md">
|
||||
ประวัติกิจกรรม (Logs)
|
||||
</span>
|
||||
<div class="toptitle text-primary items-center">ระบบทะเบียนประวัติ</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div v-if="route.query.system">
|
||||
<LogTable />
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue