ปรับระบบวินัยให้ใช้ข้อมูลทะเบียนประวัติใหม่

This commit is contained in:
Warunee Tamkoo 2024-05-23 17:20:19 +07:00
parent 4c01e5aa0d
commit 573eaff2ec
7 changed files with 320 additions and 293 deletions

View file

@ -13,7 +13,7 @@ import type {
import http from "@/plugins/http";
import config from "@/app.config";
import PopupPersonal from "@/components/Dialogs/PopupPersonal.vue";
import PopupPersonal from "@/components/Dialogs/PopupPersonalNew.vue";
const modalPersonal = ref<boolean>(false);
const personId = ref<string>("");
@ -201,8 +201,7 @@ async function searchInput() {
rows.value = list;
})
.catch((err) => {
})
.catch((err) => {})
.finally(() => {
hideLoader();
});
@ -240,7 +239,7 @@ function updatemodalPersonal(modal: boolean) {
* เมอมอม
* เกบขอมลลง formData
*/
watch(props.data, async () => {
watch(props.data, async () => {
formData.prefix = props.data.prefix;
formData.firstname = props.data.firstname;
formData.lastname = props.data.lastname;
@ -283,16 +282,16 @@ function updatemodalPersonal(modal: boolean) {
label="คำค้น"
:rules="[(val) => !!val || `กรุณากรอกคำค้น`]"
>
<template v-slot:after>
<q-btn
color="primary"
icon="search"
label="ค้นหา"
class="full-width q-py-sm q-px-md"
@click="searchInput()"
>
</q-btn>
</template>
<template v-slot:after>
<q-btn
color="primary"
icon="search"
label="ค้นหา"
class="full-width q-py-sm q-px-md"
@click="searchInput()"
>
</q-btn>
</template>
</q-input>
</div>
</div>