ปรับ ข้อมูลที่อยู่

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-10-12 11:32:13 +07:00
parent 6707bfef8c
commit 8e5dfc1a02
2 changed files with 88 additions and 17 deletions

View file

@ -172,7 +172,7 @@ const editData = async () => {
config.API.placementAddressId(route.params.personalId.toString()),
body
)
.then((res) => {
.then(() => {
success($q, "แก้ไขข้อมูลสำเร็จ");
})
.catch((e) => {
@ -182,7 +182,7 @@ const editData = async () => {
edit.value = false;
emit("update:statusEdit", false);
await getNewData();
// await props.fetch();
await props.fetch();
// await fetchProvince();
});
};
@ -469,7 +469,7 @@ const getClass = (val: boolean) => {
/>
</div>
<div class="col-xs-6 col-sm-3 col-md-3">
<selector
<q-select
:hide-dropdown-icon="!edit"
hide-bottom-space
:class="getClass(edit)"
@ -495,7 +495,7 @@ const getClass = (val: boolean) => {
/>
</div>
<div class="col-xs-6 col-sm-3 col-md-3">
<selector
<q-select
:hide-dropdown-icon="!edit"
hide-bottom-space
:class="getClass(edit)"
@ -521,7 +521,7 @@ const getClass = (val: boolean) => {
/>
</div>
<div class="col-xs-6 col-sm-3 col-md-3">
<selector
<q-select
:hide-dropdown-icon="!edit"
hide-bottom-space
:class="getClass(edit)"
@ -604,7 +604,7 @@ const getClass = (val: boolean) => {
class="col-xs-6 col-sm-3 col-md-3"
v-if="addressData.registSame == '0'"
>
<selector
<q-select
:hide-dropdown-icon="!edit"
hide-bottom-space
:class="getClass(edit)"
@ -633,7 +633,7 @@ const getClass = (val: boolean) => {
class="col-xs-6 col-sm-3 col-md-3"
v-if="addressData.registSame == '0'"
>
<selector
<q-select
:hide-dropdown-icon="!edit"
hide-bottom-space
:class="getClass(edit)"
@ -662,7 +662,7 @@ const getClass = (val: boolean) => {
class="col-xs-6 col-sm-3 col-md-3"
v-if="addressData.registSame == '0'"
>
<selector
<q-select
:hide-dropdown-icon="!edit"
hide-bottom-space
:class="getClass(edit)"