ทะเบียนประวัติ ==> ข้อมูลส่วนตัว, รายการคำร้องขอแก้ไขทะเบียนประวัติ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-02 18:09:51 +07:00
parent b9cd90d70a
commit b21a4f53ac
13 changed files with 64 additions and 85 deletions

View file

@ -125,7 +125,6 @@ async function fetchDataByid(id: string) {
*/
function filterOption(val: string, update: Function) {
update(() => {
formData.status = val ? "" : formData.status;
statusOption.value = statusOptionMain.value.filter(
(v: DataOption) => v.name.indexOf(val) > -1
);
@ -229,6 +228,8 @@ onMounted(() => {
outlined
emit-value
map-options
hide-selected
fill-input
:options="statusOption"
:rules="[(val:string) => !!val || `${'กรุณาเลือกสถานะ'}`]"
lazy-rules