แก้ฟิล
This commit is contained in:
parent
bdd59fbd0b
commit
4d44c8bc04
1 changed files with 3 additions and 1 deletions
|
|
@ -45,6 +45,7 @@ const formDetail = reactive<any>({
|
|||
fullName: "",
|
||||
position: "",
|
||||
oc: "",
|
||||
org: "",
|
||||
salary: "",
|
||||
positionLevel: "",
|
||||
posNo: "",
|
||||
|
|
@ -225,6 +226,7 @@ function getData() {
|
|||
.get(config.API.dataUserGovernment)
|
||||
.then((res) => {
|
||||
const data = res.data.result;
|
||||
formDetail.org = data.org;
|
||||
formDetail.govAge = data.govAge
|
||||
? `${data.govAge.year} วัน ${data.govAge.month} เดือน ${data.govAge.year} ปี`
|
||||
: "";
|
||||
|
|
@ -353,7 +355,7 @@ onMounted(async () => {
|
|||
<q-input
|
||||
borderless
|
||||
readonly
|
||||
:model-value="formDetail.oc"
|
||||
:model-value="formDetail.org"
|
||||
label="สังกัด"
|
||||
autogrow
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue