หน้าทะเบียนประวัติ
This commit is contained in:
parent
4a73df7bd8
commit
421b410a03
9 changed files with 131 additions and 47 deletions
|
|
@ -638,12 +638,31 @@ const fetchData = async () => {
|
|||
const data: ResponseObject = res.data.result;
|
||||
addressData.value.address = data.registrationAddress;
|
||||
addressData.value.addressC = data.currentAddress;
|
||||
addressData.value.districtId = data.registrationDistrictId;
|
||||
addressData.value.districtIdC = data.currentDistrictId;
|
||||
addressData.value.provinceId = data.registrationProvinceId;
|
||||
addressData.value.provinceIdC = data.currentProvinceId;
|
||||
addressData.value.subdistrictId = data.registrationSubDistrictId;
|
||||
addressData.value.subdistrictIdC = data.currentSubDistrictId;
|
||||
addressData.value.districtId =
|
||||
data.registrationDistrictId !== "00000000-0000-0000-0000-000000000000"
|
||||
? data.registrationDistrictId
|
||||
: "";
|
||||
addressData.value.districtIdC =
|
||||
data.currentDistrictId !== "00000000-0000-0000-0000-000000000000"
|
||||
? data.currentDistrictId
|
||||
: "";
|
||||
addressData.value.provinceId =
|
||||
data.registrationProvinceId !== "00000000-0000-0000-0000-000000000000"
|
||||
? data.registrationProvinceId
|
||||
: "";
|
||||
addressData.value.provinceIdC =
|
||||
data.currentProvinceId !== "00000000-0000-0000-0000-000000000000"
|
||||
? data.currentProvinceId
|
||||
: "";
|
||||
addressData.value.subdistrictId =
|
||||
data.registrationSubDistrictId !==
|
||||
"00000000-0000-0000-0000-000000000000"
|
||||
? data.registrationSubDistrictId
|
||||
: "";
|
||||
addressData.value.subdistrictIdC =
|
||||
data.currentSubDistrictId !== "00000000-0000-0000-0000-000000000000"
|
||||
? data.currentSubDistrictId
|
||||
: "";
|
||||
addressData.value.same = data.registrationSame ? "1" : "0";
|
||||
addressData.value.codec = data.currentZipCode;
|
||||
addressData.value.codep = data.registrationZipCode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue