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"],
|
Role: ["SUPER_ADMIN", "ADMIN"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: "/lists/:pathMatch(.*)*",
|
|
||||||
name: "viewLogs",
|
|
||||||
component: ListsPage,
|
|
||||||
meta: {
|
|
||||||
Role: ["SUPER_ADMIN", "ADMIN"],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,14 @@
|
||||||
/** importComponents*/
|
/** importComponents*/
|
||||||
import CardComponents from "@/modules/03_logs/components/CardComponents.vue";
|
import CardComponents from "@/modules/03_logs/components/CardComponents.vue";
|
||||||
import LogTable from "@/modules/03_logs/components/LogTable.vue";
|
import LogTable from "@/modules/03_logs/components/LogTable.vue";
|
||||||
|
import { useRoute } from "vue-router";
|
||||||
import http from "@/plugins/http";
|
import http from "@/plugins/http";
|
||||||
import config from "@/app.config";
|
import config from "@/app.config";
|
||||||
import { link } from "fs";
|
import { ref, onMounted } from "vue";
|
||||||
import { ref } from "vue";
|
import { useCurrencyInput } from "vue-currency-input";
|
||||||
|
|
||||||
/** importStore*/
|
/** importStore*/
|
||||||
|
const route = useRoute();
|
||||||
/** use*/
|
/** use*/
|
||||||
|
|
||||||
const menuList = ref<{ icon: string; label: string; path: string }[]>([
|
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",
|
path: "lists?system=sso",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
onMounted(async () => {
|
||||||
|
console.log("");
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<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">
|
<div class="col-3" :key="index" v-for="(item, index) in menuList">
|
||||||
<CardComponents
|
<CardComponents
|
||||||
class="cursor-pointer"
|
class="cursor-pointer"
|
||||||
|
|
@ -119,25 +147,7 @@ const menuList = ref<{ icon: string; label: string; path: string }[]>([
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row q-mb-lg">
|
<div v-if="route.query.system">
|
||||||
<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>
|
|
||||||
<LogTable />
|
<LogTable />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue