แก้ฟิล
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: "",
|
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
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue