hide bottom space rule

This commit is contained in:
Kittapath 2023-03-28 13:22:07 +07:00
parent 3c12d849f6
commit a95c2fcbb4
10 changed files with 469 additions and 494 deletions

View file

@ -14,57 +14,57 @@ interface ChangeActive {
//ข้อมูลส่วนตัว
interface Information {
cardid: string
prefix: string
prefixId: string
firstname: string
lastname: string
birthDate: Date
genderId: string
bloodId: string
nationality: string
ethnicity: string
religionId: string
tel: string
phone: string
email: string
province: string
provinceId: string
districtId: string
cardIdDate: Date
relationship: string
statusId: string
knowledge: string
cardid: string | null
prefix: string | null
prefixId: string | null
firstname: string | null
lastname: string | null
birthDate: Date | null
genderId: string | null
bloodId: string | null
nationality: string | null
ethnicity: string | null
religionId: string | null
tel: string | null
phone: string | null
email: string | null
province: string | null
provinceId: string | null
districtId: string | null
cardIdDate: Date | null
relationship: string | null
statusId: string | null
knowledge: string | null
}
interface Family {
prefixC: string // couple
prefixIdC: string
firstnameC: string
lastnameC: string
occupationC: string
nationalityC: string
prefixM: string // male
prefixIdM: string
firstnameM: string
lastnameM: string
occupationM: string
nationalityM: string
prefixF: string // female
prefixIdF: string
firstnameF: string
lastnameF: string
occupationF: string
nationalityF: string
prefixC: string | null // couple
prefixIdC: string | null
firstnameC: string | null
lastnameC: string | null
occupationC: string | null
nationalityC: string | null
prefixM: string | null // male
prefixIdM: string | null
firstnameM: string | null
lastnameM: string | null
occupationM: string | null
nationalityM: string | null
prefixF: string | null // female
prefixIdF: string | null
firstnameF: string | null
lastnameF: string | null
occupationF: string | null
nationalityF: string | null
same: string | null
}
interface Occupation {
status: string
company: string
department: string
email: string
tel: string
status: string | null
company: string | null
department: string | null
email: string | null
tel: string | null
official: string | null
personnel: string | null
officialsOther: string | null
@ -73,17 +73,17 @@ interface Occupation {
}
interface Address {
address: string
provinceId: string
districtId: string
subdistrictId: string
address: string | null
provinceId: string | null
districtId: string | null
subdistrictId: string | null
code?: number | null
addressC: string
provinceIdC: string
districtIdC: string
subdistrictIdC: string
addressC: string | null
provinceIdC: string | null
districtIdC: string | null
subdistrictIdC: string | null
codeC?: number | null
same: string
same: string | null
}
interface DataOption {
@ -202,72 +202,72 @@ const defaultCard: ExamCard[] = [
]
const defaultAddress: Address = {
address: 'บ้านเลขที่ 1/2 ซอย 56 ถนนตัดใหม่',
provinceId: 'กรุงเทพ',
districtId: 'หนองแขม',
subdistrictId: 'หนองค้างพลู',
code: 10160,
addressC: 'บ้านเลขที่ 1/2 ซอย 56 ถนนตัดใหม่',
provinceIdC: 'กรุงเทพ',
districtIdC: 'หนองแขม',
subdistrictIdC: 'หนองค้างพลู',
codeC: 10160,
same: '0'
address: null,
provinceId: null,
districtId: null,
subdistrictId: null,
// code: ,
addressC: null,
provinceIdC: null,
districtIdC: null,
subdistrictIdC: null,
// codeC: ,
same: null
}
const defaultInformation: Information = {
cardid: '',
prefix: '',
prefixId: '',
firstname: '',
lastname: '',
cardid: null,
prefix: null,
prefixId: null,
firstname: null,
lastname: null,
birthDate: new Date(),
genderId: '',
bloodId: '',
nationality: '',
ethnicity: '',
religionId: '',
tel: '',
phone: '',
email: '',
province: '',
genderId: null,
bloodId: null,
nationality: null,
ethnicity: null,
religionId: null,
tel: null,
phone: null,
email: null,
province: null,
cardIdDate: new Date(),
relationship: '',
knowledge: '',
districtId: '',
provinceId: '',
statusId: ''
relationship: null,
knowledge: null,
districtId: null,
provinceId: null,
statusId: null
}
const defaultFamily: Family = {
prefixC: 'นาย',
prefixIdC: 'นาย',
firstnameC: 'ธนาคาร',
lastnameC: 'กสิกร',
occupationC: 'ว่าง',
nationalityC: 'ไทย',
prefixM: 'นาย',
prefixIdM: 'นาย',
firstnameM: 'ธนายุทธ',
lastnameM: 'ชมสิน',
occupationM: 'ว่าง',
nationalityM: 'ไทย',
prefixF: 'นางสาว',
prefixIdF: 'นางสาว',
firstnameF: 'ณัฐกาล',
lastnameF: 'ชมสิน',
occupationF: 'ว่าง',
nationalityF: 'ไทย',
same: '1'
prefixC: null,
prefixIdC: null,
firstnameC: null,
lastnameC: null,
occupationC: null,
nationalityC: null,
prefixM: null,
prefixIdM: null,
firstnameM: null,
lastnameM: null,
occupationM: null,
nationalityM: null,
prefixF: null,
prefixIdF: null,
firstnameF: null,
lastnameF: null,
occupationF: null,
nationalityF: null,
same: null
}
const defaultOccupation: Occupation = {
status: 'official',
company: 'บริษัท ทรู คอร์ปอเรชั่น จำกัด (มหาชน)',
department: '-',
email: 'kittapath@frappet.com',
tel: '0846464646',
official: 'Direct Sales Staff',
status: null,
company: null,
department: null,
email: null,
tel: null,
official: null,
personnel: null,
officialsOther: null,
employee: null,