2023-06-06 14:32:36 +07:00
|
|
|
<script setup lang="ts">
|
2023-06-30 09:15:47 +07:00
|
|
|
import { ref } from "vue";
|
2023-06-06 14:32:36 +07:00
|
|
|
import { defineAsyncComponent } from "@vue/runtime-core";
|
2023-06-08 18:24:09 +07:00
|
|
|
import { useRouter } from "vue-router";
|
2023-06-30 09:15:47 +07:00
|
|
|
import cardTop from "@/modules/05_placement/components/pass/StatCard.vue";
|
|
|
|
|
|
2023-06-08 18:24:09 +07:00
|
|
|
const router = useRouter();
|
|
|
|
|
const year = ref<string>("2566");
|
|
|
|
|
const round = ref<string>("1");
|
|
|
|
|
const title = ref<string>("การสอบแข่งขันเพื่อรับบุคคลทั่วไปเข้ารับราชการ");
|
2023-06-06 14:32:36 +07:00
|
|
|
const AddTablePosition = defineAsyncComponent(
|
2023-06-08 18:24:09 +07:00
|
|
|
() => import("@/modules/05_placement/components/pass/Table.vue")
|
2023-06-06 14:32:36 +07:00
|
|
|
);
|
2023-06-30 09:15:47 +07:00
|
|
|
const stat = ref<any>({
|
|
|
|
|
total: 5,
|
|
|
|
|
unContain: 1,
|
|
|
|
|
prepareContain: 3,
|
|
|
|
|
contain: 1,
|
|
|
|
|
disclaim: 0,
|
|
|
|
|
});
|
2023-06-06 14:32:36 +07:00
|
|
|
</script>
|
2023-06-02 09:43:28 +07:00
|
|
|
<template>
|
2023-06-06 14:32:36 +07:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8 row">
|
2023-06-08 18:24:09 +07:00
|
|
|
<div class="toptitle">
|
2023-06-30 09:15:47 +07:00
|
|
|
<q-btn
|
|
|
|
|
icon="mdi-arrow-left"
|
|
|
|
|
unelevated
|
|
|
|
|
round
|
|
|
|
|
dense
|
|
|
|
|
flat
|
|
|
|
|
color="primary"
|
|
|
|
|
class="q-mr-sm"
|
|
|
|
|
@click="router.go(-1)"
|
|
|
|
|
/>
|
2023-06-08 18:24:09 +07:00
|
|
|
รายชื่อผู้สอบในรอบ {{ title }} ครั้งที่ {{ round }} ปี {{ year }}
|
|
|
|
|
</div>
|
2023-06-30 09:15:47 +07:00
|
|
|
<q-card bordered class="q-py-sm row col-12">
|
2023-06-06 14:32:36 +07:00
|
|
|
<div class="col-12 row bg-white">
|
2023-06-27 13:43:38 +07:00
|
|
|
<div class="fit q-px-md q-py-sm">
|
2023-06-06 14:32:36 +07:00
|
|
|
<div class="row col-12 q-col-gutter-md fit">
|
2023-06-30 09:15:47 +07:00
|
|
|
<cardTop :amount="stat.total" label="จำนวนทั้งหมด" color="#016987" />
|
|
|
|
|
<cardTop :amount="stat.unContain" label="จำนวนที่ยังไม่บรรจุ" color="#02A998" />
|
|
|
|
|
<cardTop :amount="stat.prepareContain" label="จำนวนที่เตรียมบรรจุ" color="#2EA0FF" />
|
|
|
|
|
<cardTop :amount="stat.contain" label="จำนวนที่บรรจุแล้ว" color="#4154B3" />
|
|
|
|
|
<cardTop :amount="stat.disclaim" label="จำนวนที่สละสิทธิ์" color="#FF5C5F" />
|
2023-06-06 14:32:36 +07:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-06-30 09:15:47 +07:00
|
|
|
</div>
|
2023-06-27 13:43:38 +07:00
|
|
|
</q-card>
|
2023-06-06 14:32:36 +07:00
|
|
|
</div>
|
|
|
|
|
<q-card flat bordered class="col-12 q-mt-sm q-pt-sm">
|
|
|
|
|
<div>
|
|
|
|
|
<AddTablePosition class="q-pa-none" />
|
|
|
|
|
</div>
|
|
|
|
|
</q-card>
|
2023-06-02 09:43:28 +07:00
|
|
|
</template>
|
2023-06-06 14:32:36 +07:00
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
.cardNum {
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
padding-left: 8px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|