ทะเบียนประวัติ => ข้อมูลส่วนตัว

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-16 13:45:46 +07:00
parent 722794a27e
commit ddf4c8b9d4
9 changed files with 228 additions and 168 deletions

View file

@ -44,6 +44,9 @@ const statusOptionMain = ref<DataOption[]>(
);
const statusOption = ref<DataOption[]>(statusOptionMain.value);
/**
* function นทกรายการคำรอง
*/
function onSubmit() {
dialogConfirm($q, () => {
showLoader();
@ -64,6 +67,9 @@ function onSubmit() {
});
}
/**
* function popup
*/
function closeDialog() {
modal.value = false;
formData.status = "";
@ -77,6 +83,11 @@ function classInput(val: boolean) {
};
}
/**
* function นหาคำใน select สถานะคำรอง
* @param val คำค
* @param update Function
*/
function filterOption(val: string, update: Function) {
update(() => {
statusOption.value = statusOptionMain.value.filter(
@ -85,6 +96,9 @@ function filterOption(val: string, update: Function) {
});
}
/**
* function fetch อมลคำรองแกไข
*/
function fetchDataRequest() {
showLoader();
http