ต่อ api จังหวัด /อำเภอ หน้า information

This commit is contained in:
AnandaTon 2023-03-23 17:06:56 +07:00
parent 3858259b56
commit 4c78d4eab4
3 changed files with 70 additions and 22 deletions

View file

@ -28,8 +28,11 @@ interface Information {
tel: string
phone: string
email: string
province: string
provinceId: string
districtId: string
cardIdDate: Date
relationship: string
statusId: string
knowledge: string
}
@ -227,10 +230,11 @@ const defaultInformation: Information = {
tel: '0914569982',
phone: '0914569982',
email: 'kittapath@frappet.com',
provinceId: 'กรุงเทพ',
province: 'กรุงเทพ',
cardIdDate: new Date('2000-01-10'),
statusId: 'โสด',
knowledge: 'excel, word, photoshop'
relationship: 'โสด',
knowledge: 'excel, word, photoshop',
district: 'บางพลัด'
}
const defaultFamily: Family = {