แก้ฟิล

This commit is contained in:
STW_TTTY\stwtt 2024-09-13 10:12:21 +07:00
parent bdd59fbd0b
commit 4d44c8bc04

View file

@ -45,6 +45,7 @@ const formDetail = reactive<any>({
fullName: "", fullName: "",
position: "", position: "",
oc: "", oc: "",
org: "",
salary: "", salary: "",
positionLevel: "", positionLevel: "",
posNo: "", posNo: "",
@ -225,6 +226,7 @@ function getData() {
.get(config.API.dataUserGovernment) .get(config.API.dataUserGovernment)
.then((res) => { .then((res) => {
const data = res.data.result; const data = res.data.result;
formDetail.org = data.org;
formDetail.govAge = data.govAge formDetail.govAge = data.govAge
? `${data.govAge.year} วัน ${data.govAge.month} เดือน ${data.govAge.year} ปี` ? `${data.govAge.year} วัน ${data.govAge.month} เดือน ${data.govAge.year} ปี`
: ""; : "";
@ -353,7 +355,7 @@ onMounted(async () => {
<q-input <q-input
borderless borderless
readonly readonly
:model-value="formDetail.oc" :model-value="formDetail.org"
label="สังกัด" label="สังกัด"
autogrow autogrow
/> />