Merge branch 'develop' into devTee

This commit is contained in:
STW_TTTY\stwtt 2024-06-07 18:02:00 +07:00
commit cbf94f1daa
13 changed files with 106 additions and 94 deletions

View file

@ -184,7 +184,7 @@ async function searchInput() {
.then((res) => {
const data = res.data.result;
const list = data.map((e: ResponsePreson) => ({
personId: e.personId,
personId: e.id,
idcard: e.idcard,
prefix: e.prefix,
firstName: e.firstName,
@ -249,6 +249,7 @@ watch(props.data, async () => {
formData.qualification = props.data.qualification;
});
</script>
<template>
<form @submit.prevent.stop="onValidate">
<q-card bordered>

View file

@ -33,7 +33,8 @@ interface typeOp {
}
interface ResponsePreson {
personId: string; //id อ้างอิง profile
id?: string; //id อ้างอิง profile
personId?: string; //id อ้างอิง profile
idcard: string; //เลขประจำตัวประชาชน
prefix: string; //คำนำหน้า
firstName: string; //ชื่อ