แก้ไขข้อความค้นหาวินัย

This commit is contained in:
Warunee Tamkoo 2025-04-08 16:57:48 +07:00
parent 28bb82d82c
commit 62221ca060

View file

@ -22,7 +22,14 @@ const dataStore = useDisciplineSuspendStore();
const $q = useQuasar();
const router = useRouter();
const mixin = useCounterMixin();
const { messageError, showLoader, hideLoader, success, date2Thai ,convertDateToAPI} = mixin;
const {
messageError,
showLoader,
hideLoader,
success,
date2Thai,
convertDateToAPI,
} = mixin;
const date = ref<any>(null);
const employeeClass = ref<string>("");
@ -304,11 +311,9 @@ onMounted(async () => {
class="bg-white"
dense
outlined
:label="`${'ช่วงวันที่'}`"
:label="`${'วันที่เริ่มต้น-สิ้นสุดคำสั่ง'}`"
:model-value="
date
? `${date2Thai(date[0])} - ${date2Thai(date[1])}`
: 'ทั้งหมด'
date ? `${date2Thai(date[0])} - ${date2Thai(date[1])}` : ''
"
>
<template v-slot:prepend>