Commit 342ac43b authored by Steven杜宇's avatar Steven杜宇

// 赴港预约

parent 0e84bfb1
...@@ -51,8 +51,8 @@ ...@@ -51,8 +51,8 @@
04256DE62C7310BE00A37BA4 /* YHSelectApplicantGroupCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DE52C7310BE00A37BA4 /* YHSelectApplicantGroupCell.swift */; }; 04256DE62C7310BE00A37BA4 /* YHSelectApplicantGroupCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DE52C7310BE00A37BA4 /* YHSelectApplicantGroupCell.swift */; };
04256DE82C7314B500A37BA4 /* YHSelectApplicantCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DE72C7314B500A37BA4 /* YHSelectApplicantCell.swift */; }; 04256DE82C7314B500A37BA4 /* YHSelectApplicantCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DE72C7314B500A37BA4 /* YHSelectApplicantCell.swift */; };
04256DEA2C73263A00A37BA4 /* YHInfoItemSelectSheetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DE92C73263A00A37BA4 /* YHInfoItemSelectSheetView.swift */; }; 04256DEA2C73263A00A37BA4 /* YHInfoItemSelectSheetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DE92C73263A00A37BA4 /* YHInfoItemSelectSheetView.swift */; };
04256DEC2C732F6900A37BA4 /* YHGrabNumberListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DEB2C732F6900A37BA4 /* YHGrabNumberListView.swift */; }; 04256DEC2C732F6900A37BA4 /* YHGrabingNumberListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DEB2C732F6900A37BA4 /* YHGrabingNumberListView.swift */; };
04256DEE2C73338200A37BA4 /* YHGrabNumberListCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DED2C73338200A37BA4 /* YHGrabNumberListCell.swift */; }; 04256DEE2C73338200A37BA4 /* YHGrabingNumberListCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DED2C73338200A37BA4 /* YHGrabingNumberListCell.swift */; };
04256DF02C733B2D00A37BA4 /* YHGrabNumberInfoView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DEF2C733B2D00A37BA4 /* YHGrabNumberInfoView.swift */; }; 04256DF02C733B2D00A37BA4 /* YHGrabNumberInfoView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DEF2C733B2D00A37BA4 /* YHGrabNumberInfoView.swift */; };
04256DF22C734E7E00A37BA4 /* YHGrabFileCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DF12C734E7E00A37BA4 /* YHGrabFileCell.swift */; }; 04256DF22C734E7E00A37BA4 /* YHGrabFileCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DF12C734E7E00A37BA4 /* YHGrabFileCell.swift */; };
04256DF42C73626900A37BA4 /* YHServiceSelectAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DF32C73626900A37BA4 /* YHServiceSelectAlertView.swift */; }; 04256DF42C73626900A37BA4 /* YHServiceSelectAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04256DF32C73626900A37BA4 /* YHServiceSelectAlertView.swift */; };
...@@ -122,6 +122,8 @@ ...@@ -122,6 +122,8 @@
0430E6842C76D702000511E2 /* YHAddpterViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6832C76D702000511E2 /* YHAddpterViewModel.swift */; }; 0430E6842C76D702000511E2 /* YHAddpterViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6832C76D702000511E2 /* YHAddpterViewModel.swift */; };
0430E6862C76DF6A000511E2 /* YHAdopterMainModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6852C76DF6A000511E2 /* YHAdopterMainModel.swift */; }; 0430E6862C76DF6A000511E2 /* YHAdopterMainModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6852C76DF6A000511E2 /* YHAdopterMainModel.swift */; };
0430E6882C771B06000511E2 /* YHAdopterItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6872C771B06000511E2 /* YHAdopterItemView.swift */; }; 0430E6882C771B06000511E2 /* YHAdopterItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0430E6872C771B06000511E2 /* YHAdopterItemView.swift */; };
04358E042C77322700811928 /* YHHaveGrabbedNumberListCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04358E032C77322700811928 /* YHHaveGrabbedNumberListCell.swift */; };
04358E062C77334B00811928 /* YHHaveGrabbedNumberInfoView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04358E052C77334B00811928 /* YHHaveGrabbedNumberInfoView.swift */; };
0435FA7F2BA178C100024EAE /* YHCommonAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA7E2BA178C100024EAE /* YHCommonAlertView.swift */; }; 0435FA7F2BA178C100024EAE /* YHCommonAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA7E2BA178C100024EAE /* YHCommonAlertView.swift */; };
0435FA812BA186D600024EAE /* YHMyFileMethodTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA802BA186D600024EAE /* YHMyFileMethodTableViewCell.swift */; }; 0435FA812BA186D600024EAE /* YHMyFileMethodTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA802BA186D600024EAE /* YHMyFileMethodTableViewCell.swift */; };
0435FA832BA2DEB100024EAE /* YHCardButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA822BA2DEB100024EAE /* YHCardButton.swift */; }; 0435FA832BA2DEB100024EAE /* YHCardButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435FA822BA2DEB100024EAE /* YHCardButton.swift */; };
...@@ -794,8 +796,8 @@ ...@@ -794,8 +796,8 @@
04256DE52C7310BE00A37BA4 /* YHSelectApplicantGroupCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHSelectApplicantGroupCell.swift; sourceTree = "<group>"; }; 04256DE52C7310BE00A37BA4 /* YHSelectApplicantGroupCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHSelectApplicantGroupCell.swift; sourceTree = "<group>"; };
04256DE72C7314B500A37BA4 /* YHSelectApplicantCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHSelectApplicantCell.swift; sourceTree = "<group>"; }; 04256DE72C7314B500A37BA4 /* YHSelectApplicantCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHSelectApplicantCell.swift; sourceTree = "<group>"; };
04256DE92C73263A00A37BA4 /* YHInfoItemSelectSheetView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHInfoItemSelectSheetView.swift; sourceTree = "<group>"; }; 04256DE92C73263A00A37BA4 /* YHInfoItemSelectSheetView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHInfoItemSelectSheetView.swift; sourceTree = "<group>"; };
04256DEB2C732F6900A37BA4 /* YHGrabNumberListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHGrabNumberListView.swift; sourceTree = "<group>"; }; 04256DEB2C732F6900A37BA4 /* YHGrabingNumberListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHGrabingNumberListView.swift; sourceTree = "<group>"; };
04256DED2C73338200A37BA4 /* YHGrabNumberListCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHGrabNumberListCell.swift; sourceTree = "<group>"; }; 04256DED2C73338200A37BA4 /* YHGrabingNumberListCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHGrabingNumberListCell.swift; sourceTree = "<group>"; };
04256DEF2C733B2D00A37BA4 /* YHGrabNumberInfoView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHGrabNumberInfoView.swift; sourceTree = "<group>"; }; 04256DEF2C733B2D00A37BA4 /* YHGrabNumberInfoView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHGrabNumberInfoView.swift; sourceTree = "<group>"; };
04256DF12C734E7E00A37BA4 /* YHGrabFileCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHGrabFileCell.swift; sourceTree = "<group>"; }; 04256DF12C734E7E00A37BA4 /* YHGrabFileCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHGrabFileCell.swift; sourceTree = "<group>"; };
04256DF32C73626900A37BA4 /* YHServiceSelectAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHServiceSelectAlertView.swift; sourceTree = "<group>"; }; 04256DF32C73626900A37BA4 /* YHServiceSelectAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHServiceSelectAlertView.swift; sourceTree = "<group>"; };
...@@ -865,6 +867,8 @@ ...@@ -865,6 +867,8 @@
0430E6832C76D702000511E2 /* YHAddpterViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAddpterViewModel.swift; sourceTree = "<group>"; }; 0430E6832C76D702000511E2 /* YHAddpterViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAddpterViewModel.swift; sourceTree = "<group>"; };
0430E6852C76DF6A000511E2 /* YHAdopterMainModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterMainModel.swift; sourceTree = "<group>"; }; 0430E6852C76DF6A000511E2 /* YHAdopterMainModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterMainModel.swift; sourceTree = "<group>"; };
0430E6872C771B06000511E2 /* YHAdopterItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterItemView.swift; sourceTree = "<group>"; }; 0430E6872C771B06000511E2 /* YHAdopterItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAdopterItemView.swift; sourceTree = "<group>"; };
04358E032C77322700811928 /* YHHaveGrabbedNumberListCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHHaveGrabbedNumberListCell.swift; sourceTree = "<group>"; };
04358E052C77334B00811928 /* YHHaveGrabbedNumberInfoView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHHaveGrabbedNumberInfoView.swift; sourceTree = "<group>"; };
0435FA7E2BA178C100024EAE /* YHCommonAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCommonAlertView.swift; sourceTree = "<group>"; }; 0435FA7E2BA178C100024EAE /* YHCommonAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCommonAlertView.swift; sourceTree = "<group>"; };
0435FA802BA186D600024EAE /* YHMyFileMethodTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHMyFileMethodTableViewCell.swift; sourceTree = "<group>"; }; 0435FA802BA186D600024EAE /* YHMyFileMethodTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHMyFileMethodTableViewCell.swift; sourceTree = "<group>"; };
0435FA822BA2DEB100024EAE /* YHCardButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCardButton.swift; sourceTree = "<group>"; }; 0435FA822BA2DEB100024EAE /* YHCardButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCardButton.swift; sourceTree = "<group>"; };
...@@ -1649,7 +1653,8 @@ ...@@ -1649,7 +1653,8 @@
04256E1E2C7618A800A37BA4 /* YHAppointWarmTipsCell.swift */, 04256E1E2C7618A800A37BA4 /* YHAppointWarmTipsCell.swift */,
04256DE52C7310BE00A37BA4 /* YHSelectApplicantGroupCell.swift */, 04256DE52C7310BE00A37BA4 /* YHSelectApplicantGroupCell.swift */,
04256DE72C7314B500A37BA4 /* YHSelectApplicantCell.swift */, 04256DE72C7314B500A37BA4 /* YHSelectApplicantCell.swift */,
04256DED2C73338200A37BA4 /* YHGrabNumberListCell.swift */, 04256DED2C73338200A37BA4 /* YHGrabingNumberListCell.swift */,
04358E032C77322700811928 /* YHHaveGrabbedNumberListCell.swift */,
04256E202C76CA7800A37BA4 /* YHActivateHKVisaCell.swift */, 04256E202C76CA7800A37BA4 /* YHActivateHKVisaCell.swift */,
04256E242C76E26100A37BA4 /* YHNoNeedAppointMembersCell.swift */, 04256E242C76E26100A37BA4 /* YHNoNeedAppointMembersCell.swift */,
04256E262C77127600A37BA4 /* YHWaitAppointMembersCell.swift */, 04256E262C77127600A37BA4 /* YHWaitAppointMembersCell.swift */,
...@@ -1657,7 +1662,8 @@ ...@@ -1657,7 +1662,8 @@
04256DF52C736A0800A37BA4 /* YHServiceItemCell.swift */, 04256DF52C736A0800A37BA4 /* YHServiceItemCell.swift */,
04256DE32C72E3FA00A37BA4 /* YHInfoItemOptionView.swift */, 04256DE32C72E3FA00A37BA4 /* YHInfoItemOptionView.swift */,
04256DE92C73263A00A37BA4 /* YHInfoItemSelectSheetView.swift */, 04256DE92C73263A00A37BA4 /* YHInfoItemSelectSheetView.swift */,
04256DEB2C732F6900A37BA4 /* YHGrabNumberListView.swift */, 04256DEB2C732F6900A37BA4 /* YHGrabingNumberListView.swift */,
04358E052C77334B00811928 /* YHHaveGrabbedNumberInfoView.swift */,
04256DEF2C733B2D00A37BA4 /* YHGrabNumberInfoView.swift */, 04256DEF2C733B2D00A37BA4 /* YHGrabNumberInfoView.swift */,
04256DF32C73626900A37BA4 /* YHServiceSelectAlertView.swift */, 04256DF32C73626900A37BA4 /* YHServiceSelectAlertView.swift */,
); );
...@@ -4252,6 +4258,7 @@ ...@@ -4252,6 +4258,7 @@
0430E6722C749E74000511E2 /* YHAdopterBirthViewController.swift in Sources */, 0430E6722C749E74000511E2 /* YHAdopterBirthViewController.swift in Sources */,
045EEE7B2B9F171A0022A143 /* YHPersonInfoCellModel2.swift in Sources */, 045EEE7B2B9F171A0022A143 /* YHPersonInfoCellModel2.swift in Sources */,
A53B61122BB128AF0010B573 /* YHFileListItemsView2.swift in Sources */, A53B61122BB128AF0010B573 /* YHFileListItemsView2.swift in Sources */,
04358E042C77322700811928 /* YHHaveGrabbedNumberListCell.swift in Sources */,
044D0BF62C2154CA00C5CF5E /* YHAllowUseMyInfoViewController.swift in Sources */, 044D0BF62C2154CA00C5CF5E /* YHAllowUseMyInfoViewController.swift in Sources */,
0485DFE12C6A0B6200B50293 /* YHPrincipleApprovedResultVC.swift in Sources */, 0485DFE12C6A0B6200B50293 /* YHPrincipleApprovedResultVC.swift in Sources */,
04256DF42C73626900A37BA4 /* YHServiceSelectAlertView.swift in Sources */, 04256DF42C73626900A37BA4 /* YHServiceSelectAlertView.swift in Sources */,
...@@ -4534,7 +4541,7 @@ ...@@ -4534,7 +4541,7 @@
044D0C1A2C22B40B00C5CF5E /* YHEditPersonalProfileViewController.swift in Sources */, 044D0C1A2C22B40B00C5CF5E /* YHEditPersonalProfileViewController.swift in Sources */,
047AA3E82C4A6D69009C4554 /* YHListViewController.swift in Sources */, 047AA3E82C4A6D69009C4554 /* YHListViewController.swift in Sources */,
048787D92BCF68530036E221 /* YHProgressView.swift in Sources */, 048787D92BCF68530036E221 /* YHProgressView.swift in Sources */,
04256DEE2C73338200A37BA4 /* YHGrabNumberListCell.swift in Sources */, 04256DEE2C73338200A37BA4 /* YHGrabingNumberListCell.swift in Sources */,
045EEEEC2B9F171A0022A143 /* YHBrotherInfoVC.swift in Sources */, 045EEEEC2B9F171A0022A143 /* YHBrotherInfoVC.swift in Sources */,
0477E17A2BA41C7E00436346 /* YHCertificateModel.swift in Sources */, 0477E17A2BA41C7E00436346 /* YHCertificateModel.swift in Sources */,
A5CA3F5A2C74B64A00EB22F5 /* YHSmallWhiteNoteTemplateView.swift in Sources */, A5CA3F5A2C74B64A00EB22F5 /* YHSmallWhiteNoteTemplateView.swift in Sources */,
...@@ -4622,7 +4629,7 @@ ...@@ -4622,7 +4629,7 @@
045EEEEB2B9F171A0022A143 /* YHTest.swift in Sources */, 045EEEEB2B9F171A0022A143 /* YHTest.swift in Sources */,
04CE1AD12C2AD91F001CB80A /* YHActivityTravelModel.swift in Sources */, 04CE1AD12C2AD91F001CB80A /* YHActivityTravelModel.swift in Sources */,
044D0C202C22D37500C5CF5E /* YHEditHonorViewController.swift in Sources */, 044D0C202C22D37500C5CF5E /* YHEditHonorViewController.swift in Sources */,
04256DEC2C732F6900A37BA4 /* YHGrabNumberListView.swift in Sources */, 04256DEC2C732F6900A37BA4 /* YHGrabingNumberListView.swift in Sources */,
045EEEAC2B9F171A0022A143 /* YHWorkExperienceTableViewCell.swift in Sources */, 045EEEAC2B9F171A0022A143 /* YHWorkExperienceTableViewCell.swift in Sources */,
A5765B2A2C77268C002CD3C1 /* YHRangeDatePickerSheetView.swift in Sources */, A5765B2A2C77268C002CD3C1 /* YHRangeDatePickerSheetView.swift in Sources */,
A5ACE93C2B4564F7002C94D2 /* UIColor+Extension.swift in Sources */, A5ACE93C2B4564F7002C94D2 /* UIColor+Extension.swift in Sources */,
...@@ -4756,6 +4763,7 @@ ...@@ -4756,6 +4763,7 @@
0435FA832BA2DEB100024EAE /* YHCardButton.swift in Sources */, 0435FA832BA2DEB100024EAE /* YHCardButton.swift in Sources */,
045EEECA2B9F171A0022A143 /* YHMyDocumentsListViewController.swift in Sources */, 045EEECA2B9F171A0022A143 /* YHMyDocumentsListViewController.swift in Sources */,
049D62C52C6F272800E811A1 /* YHRiskWarningCell.swift in Sources */, 049D62C52C6F272800E811A1 /* YHRiskWarningCell.swift in Sources */,
04358E062C77334B00811928 /* YHHaveGrabbedNumberInfoView.swift in Sources */,
045EEF052B9F171A0022A143 /* YHFormItemExpireDateCell.swift in Sources */, 045EEF052B9F171A0022A143 /* YHFormItemExpireDateCell.swift in Sources */,
043B0A352C1190C6008A9BBA /* YHSelectFileSheetView.swift in Sources */, 043B0A352C1190C6008A9BBA /* YHSelectFileSheetView.swift in Sources */,
0430E6462C73171E000511E2 /* YHAdopterStepTableViewCell.swift in Sources */, 0430E6462C73171E000511E2 /* YHAdopterStepTableViewCell.swift in Sources */,
......
...@@ -48,10 +48,11 @@ class YHCertificateAppointViewController: YHBaseViewController { ...@@ -48,10 +48,11 @@ class YHCertificateAppointViewController: YHBaseViewController {
tableView.register(YHCertificateAppointOptionCell.self, forCellReuseIdentifier: YHCertificateAppointOptionCell.cellReuseIdentifier) tableView.register(YHCertificateAppointOptionCell.self, forCellReuseIdentifier: YHCertificateAppointOptionCell.cellReuseIdentifier)
tableView.register(YHSelectApplicantGroupCell.self, forCellReuseIdentifier: YHSelectApplicantGroupCell.cellReuseIdentifier) tableView.register(YHSelectApplicantGroupCell.self, forCellReuseIdentifier: YHSelectApplicantGroupCell.cellReuseIdentifier)
tableView.register(YHAppointWarmTipsCell.self, forCellReuseIdentifier: YHAppointWarmTipsCell.cellReuseIdentifier) tableView.register(YHAppointWarmTipsCell.self, forCellReuseIdentifier: YHAppointWarmTipsCell.cellReuseIdentifier)
tableView.register(YHGrabNumberListCell.self, forCellReuseIdentifier: YHGrabNumberListCell.cellReuseIdentifier) tableView.register(YHGrabingNumberListCell.self, forCellReuseIdentifier: YHGrabingNumberListCell.cellReuseIdentifier)
tableView.register(YHActivateHKVisaCell.self, forCellReuseIdentifier: YHActivateHKVisaCell.cellReuseIdentifier) tableView.register(YHActivateHKVisaCell.self, forCellReuseIdentifier: YHActivateHKVisaCell.cellReuseIdentifier)
tableView.register(YHNoNeedAppointMembersCell.self, forCellReuseIdentifier: YHNoNeedAppointMembersCell.cellReuseIdentifier)
tableView.register(YHWaitAppointMembersCell.self, forCellReuseIdentifier: YHWaitAppointMembersCell.cellReuseIdentifier) tableView.register(YHWaitAppointMembersCell.self, forCellReuseIdentifier: YHWaitAppointMembersCell.cellReuseIdentifier)
tableView.register(YHNoNeedAppointMembersCell.self, forCellReuseIdentifier: YHNoNeedAppointMembersCell.cellReuseIdentifier)
tableView.register(YHHaveGrabbedNumberListCell.self, forCellReuseIdentifier: YHHaveGrabbedNumberListCell.cellReuseIdentifier)
return tableView return tableView
}() }()
...@@ -245,14 +246,16 @@ extension YHCertificateAppointViewController: UITableViewDelegate, UITableViewDa ...@@ -245,14 +246,16 @@ extension YHCertificateAppointViewController: UITableViewDelegate, UITableViewDa
if item.type == .grabingNumberBatch { if item.type == .grabingNumberBatch {
// 赴港办理抢号中批次 // 赴港办理抢号中批次
let cell = tableView.dequeueReusableCell(withIdentifier: YHGrabNumberListCell.cellReuseIdentifier, for: indexPath) as! YHGrabNumberListCell let cell = tableView.dequeueReusableCell(withIdentifier: YHGrabingNumberListCell.cellReuseIdentifier, for: indexPath) as! YHGrabingNumberListCell
return cell return cell
} }
if item.type == .haveGrabedNumberBatch { if item.type == .haveGrabedNumberBatch {
// 赴港办理已抢号批次 // 赴港办理已抢号批次
let cell = tableView.dequeueReusableCell(withIdentifier: YHHaveGrabbedNumberListCell.cellReuseIdentifier, for: indexPath) as! YHHaveGrabbedNumberListCell
cell.listArr = self.successList
return cell
} }
} }
} }
......
...@@ -35,6 +35,7 @@ class YHAppointMemberGroupModel: SmartCodable { ...@@ -35,6 +35,7 @@ class YHAppointMemberGroupModel: SmartCodable {
var userList: [YHAppointMemberModel] = [] var userList: [YHAppointMemberModel] = []
var wantMinTime: String = "" var wantMinTime: String = ""
var wantMaxTime: String = "" var wantMaxTime: String = ""
var immigrationOffice : String = ""
var wantImmigrationOffice: String = "" var wantImmigrationOffice: String = ""
var goTime: String = "" var goTime: String = ""
var receipts: [String] = [] var receipts: [String] = []
...@@ -46,6 +47,7 @@ class YHAppointMemberGroupModel: SmartCodable { ...@@ -46,6 +47,7 @@ class YHAppointMemberGroupModel: SmartCodable {
case userList = "user_list" case userList = "user_list"
case wantMinTime = "want_min_time" case wantMinTime = "want_min_time"
case wantMaxTime = "want_max_time" case wantMaxTime = "want_max_time"
case immigrationOffice = "immigration_office"
case wantImmigrationOffice = "want_immigration_office" case wantImmigrationOffice = "want_immigration_office"
case goTime = "go_time" case goTime = "go_time"
case receipts = "receipts" case receipts = "receipts"
...@@ -56,17 +58,29 @@ class YHAppointMemberGroupModel: SmartCodable { ...@@ -56,17 +58,29 @@ class YHAppointMemberGroupModel: SmartCodable {
} }
init(id: Int, orderid: Int, userList: [YHAppointMemberModel], wantMinTime: String, wantMaxTime: String, wantImmigrationOffice: String, goTime: String, receipts: [String], submitTime: String) { init(id: Int, orderid: Int, userList: [YHAppointMemberModel], wantMinTime: String, wantMaxTime: String, immigrationOffice: String, wantImmigrationOffice: String, goTime: String, receipts: [String], submitTime: String) {
self.id = id self.id = id
self.orderid = orderid self.orderid = orderid
self.userList = userList self.userList = userList
self.wantMinTime = wantMinTime self.wantMinTime = wantMinTime
self.wantMaxTime = wantMaxTime self.wantMaxTime = wantMaxTime
self.immigrationOffice = immigrationOffice
self.wantImmigrationOffice = wantImmigrationOffice self.wantImmigrationOffice = wantImmigrationOffice
self.goTime = goTime self.goTime = goTime
self.receipts = receipts self.receipts = receipts
self.submitTime = submitTime self.submitTime = submitTime
} }
func getMemberNames() -> String {
var text = ""
for (index, user) in self.userList.enumerated() {
text += user.name
if index != self.userList.count-1 {
text += "、"
}
}
return text
}
} }
// MARK: - UserList // MARK: - UserList
......
...@@ -177,6 +177,11 @@ class YHGrabNumberInfoView: UIView { ...@@ -177,6 +177,11 @@ class YHGrabNumberInfoView: UIView {
return view return view
}() }()
lazy var listView: UIView = {
let view = UIView()
return view
}()
override init(frame: CGRect) { override init(frame: CGRect) {
super.init(frame: frame) super.init(frame: frame)
createUI() createUI()
...@@ -194,6 +199,8 @@ class YHGrabNumberInfoView: UIView { ...@@ -194,6 +199,8 @@ class YHGrabNumberInfoView: UIView {
self.addSubview(titleLabel) self.addSubview(titleLabel)
self.addSubview(lineView) self.addSubview(lineView)
self.addSubview(listView)
titleLabel.snp.makeConstraints { make in titleLabel.snp.makeConstraints { make in
make.left.equalTo(14) make.left.equalTo(14)
...@@ -206,14 +213,23 @@ class YHGrabNumberInfoView: UIView { ...@@ -206,14 +213,23 @@ class YHGrabNumberInfoView: UIView {
make.height.equalTo(0.5) make.height.equalTo(0.5)
make.top.equalTo(titleLabel.snp.bottom).offset(10) make.top.equalTo(titleLabel.snp.bottom).offset(10)
} }
listView.snp.makeConstraints { make in
make.top.equalTo(lineView.snp.bottom).offset(12)
make.left.equalTo(0)
make.right.equalTo(0)
make.bottom.equalTo(0)
}
} }
func updateItems(_ items: [YHGrabItem]) { func updateItems(_ items: [YHGrabItem]) {
self.items = items self.items = items
listView.removeSubviews()
var lastView: YHGrabNumberInfoItemView? = nil var lastView: YHGrabNumberInfoItemView? = nil
for (index, item) in items.enumerated() { for (index, item) in items.enumerated() {
let itemView = YHGrabNumberInfoItemView(frame: .zero) let itemView = YHGrabNumberInfoItemView(frame: .zero)
self.addSubview(itemView) listView.addSubview(itemView)
itemView.updateItem(item) itemView.updateItem(item)
itemView.snp.makeConstraints { make in itemView.snp.makeConstraints { make in
make.left.equalTo(14) make.left.equalTo(14)
...@@ -221,7 +237,7 @@ class YHGrabNumberInfoView: UIView { ...@@ -221,7 +237,7 @@ class YHGrabNumberInfoView: UIView {
if let last = lastView { if let last = lastView {
make.top.equalTo(last.snp.bottom).offset(0) make.top.equalTo(last.snp.bottom).offset(0)
} else { } else {
make.top.equalTo(lineView.snp.bottom).offset(12) make.top.equalTo(listView.snp.top).offset(0)
} }
if index == items.count-1 { if index == items.count-1 {
...@@ -229,7 +245,6 @@ class YHGrabNumberInfoView: UIView { ...@@ -229,7 +245,6 @@ class YHGrabNumberInfoView: UIView {
} }
} }
lastView = itemView lastView = itemView
} }
} }
} }
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
import UIKit import UIKit
class YHGrabNumberListCell: UITableViewCell { class YHGrabingNumberListCell: UITableViewCell {
static let cellReuseIdentifier = "YHGrabNumberListCell" static let cellReuseIdentifier = "YHGrabingNumberListCell"
var items:[String] = ["", ""] var items:[String] = ["", ""]
...@@ -73,9 +73,9 @@ class YHGrabNumberListCell: UITableViewCell { ...@@ -73,9 +73,9 @@ class YHGrabNumberListCell: UITableViewCell {
make.height.equalTo(0.5) make.height.equalTo(0.5)
} }
var lastView: YHGrabNumberListView? = nil var lastView: YHGrabingNumberListView? = nil
for (index, _) in items.enumerated() { for (index, _) in items.enumerated() {
let listView = YHGrabNumberListView(frame: .zero) let listView = YHGrabingNumberListView(frame: .zero)
let chineseNum = convertNumberToChineseText(index+1) let chineseNum = convertNumberToChineseText(index+1)
listView.titleLabel.text = "第\(chineseNum)批" listView.titleLabel.text = "第\(chineseNum)批"
listView.membersLabel.text = "成员:刘德华德成员:刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德" listView.membersLabel.text = "成员:刘德华德成员:刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德"
......
//
// YHHaveGrabbedNumberInfoView.swift
// galaxy
//
// Created by edy on 2024/8/22.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHHaveGrabbedNumberInfoView: UIView {
lazy var lineView: UIView = {
let view = UIView()
view.backgroundColor = .separatorColor
return view
}()
lazy var markView:UIView = {
let view = UIView()
view.backgroundColor = .brandMainColor
return view
}()
lazy var titleLabel: UILabel = {
let label = UILabel()
label.font = UIFont.PFSC_M(ofSize: 16)
label.textColor = .mainTextColor
return label
}()
lazy var membersLabel: UILabel = {
let label = UILabel()
label.numberOfLines = 0
label.font = UIFont.PFSC_R(ofSize: 14)
label.text = "成员:"
label.textColor = .mainTextColor(alpha: 0.7)
return label
}()
lazy var grabInfoView: YHGrabNumberInfoView = {
let view = YHGrabNumberInfoView(frame: .zero)
view.titleLabel.text = "抢号信息"
let items = [YHGrabItem(type: .info, title: "赴港时间:", detail: ""),
YHGrabItem(type: .info, title: "香港办证点:", detail: ""),
YHGrabItem(type: .files, title: "抢号反馈回执:", detail: "", files: []),]
view.updateItems(items)
return view
}()
lazy var intentionInfoView: YHGrabNumberInfoView = {
let view = YHGrabNumberInfoView(frame: .zero)
view.titleLabel.text = "意向信息"
let items = [YHGrabItem(type: .info, title: "期望赴港时间:", detail: ""),
YHGrabItem(type: .info, title: "期望香港办证点:", detail: "")]
view.updateItems(items)
return view
}()
override init(frame: CGRect) {
super.init(frame: frame)
createUI()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
func createUI() {
self.addSubview(lineView)
self.addSubview(markView)
self.addSubview(titleLabel)
self.addSubview(membersLabel)
self.addSubview(grabInfoView)
self.addSubview(intentionInfoView)
lineView.snp.makeConstraints { make in
make.left.right.top.equalToSuperview()
make.height.equalTo(0.5)
}
markView.snp.makeConstraints { make in
make.size.equalTo(CGSizeMake(3, 14))
make.left.equalTo(0)
make.centerY.equalTo(titleLabel)
}
titleLabel.snp.makeConstraints { make in
make.left.equalTo(markView.snp.right).offset(6)
make.height.equalTo(22)
make.top.equalTo(lineView.snp.bottom).offset(16)
}
membersLabel.snp.makeConstraints { make in
make.left.right.equalToSuperview()
make.top.equalTo(titleLabel.snp.bottom).offset(12)
}
grabInfoView.snp.makeConstraints { make in
make.left.right.equalToSuperview()
make.top.equalTo(membersLabel.snp.bottom).offset(16)
}
intentionInfoView.snp.makeConstraints { make in
make.left.right.equalToSuperview()
make.top.equalTo(grabInfoView.snp.bottom).offset(16)
make.bottom.equalTo(0)
}
}
}
//
// YHHaveGrabbedNumberListCell.swift
// galaxy
//
// Created by edy on 2024/8/22.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHHaveGrabbedNumberListCell: UITableViewCell {
static let cellReuseIdentifier = "YHHaveGrabbedNumberListCell"
var listArr: [YHAppointMemberGroupModel] = [] {
didSet {
listContainView.removeSubviews()
var lastView: YHHaveGrabbedNumberInfoView? = nil
for (index, group) in listArr.enumerated() {
let listView = YHHaveGrabbedNumberInfoView(frame: .zero)
let chineseNum = convertNumberToChineseText(index+1)
listView.titleLabel.text = "第\(chineseNum)批"
listView.membersLabel.text = "成员:\(group.getMemberNames())"
// 抢号信息
let items1 = [YHGrabItem(type: .info, title: "赴港时间:", detail: group.goTime),
YHGrabItem(type: .info, title: "香港入境处:", detail: group.immigrationOffice),
YHGrabItem(type: .files, title: "抢号反馈回执:", detail: "", files: group.receipts),]
listView.grabInfoView.updateItems(items1)
// 意向信息
let items2 = [YHGrabItem(type: .info, title: "期望赴港时间:", detail: "\(group.wantMinTime)-\(group.wantMaxTime)"),
YHGrabItem(type: .info, title: "期望香港办证点:", detail: group.wantImmigrationOffice)]
listView.intentionInfoView.updateItems(items2)
listContainView.addSubview(listView)
listView.snp.makeConstraints { make in
make.left.equalTo(18)
make.right.equalTo(-18)
if let last = lastView {
make.top.equalTo(last.snp.bottom)
} else {
make.top.equalTo(listContainView.snp.top)
}
if index == listArr.count-1 {
make.bottom.equalTo(-16)
}
}
lastView = listView
}
self.setNeedsLayout()
self.layoutIfNeeded()
}
}
lazy var whiteContentView: UIView = {
let view = UIView()
view.backgroundColor = .white
view.layer.cornerRadius = kCornerRadius6
return view
}()
lazy var lineView: UIView = {
let view = UIView()
view.backgroundColor = .separatorColor
return view
}()
lazy var titleLabel: UILabel = {
let label = UILabel()
label.numberOfLines = 0
label.textColor = .mainTextColor
label.font = UIFont.PFSC_M(ofSize: 17)
label.text = "赴港办理已抢号批次"
return label
}()
lazy var listContainView: UIView = {
let view = UIView()
return view
}()
required init?(coder: NSCoder) {
super.init(coder: coder)
}
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
setupUI()
}
func setupUI() {
self.selectionStyle = .none
self.backgroundColor = .clear
self.contentView.backgroundColor = .clear
contentView.addSubview(whiteContentView)
whiteContentView.addSubview(titleLabel)
whiteContentView.addSubview(lineView)
whiteContentView.addSubview(listContainView)
whiteContentView.snp.makeConstraints { make in
make.top.equalTo(16)
make.left.equalTo(16)
make.right.equalTo(-16)
make.bottom.equalTo(0)
}
titleLabel.snp.makeConstraints { make in
make.top.equalTo(18)
make.left.equalTo(18)
make.right.equalTo(-18)
}
lineView.snp.makeConstraints { make in
make.top.equalTo(titleLabel.snp.bottom).offset(12)
make.left.right.equalToSuperview()
make.height.equalTo(0.5)
}
listContainView.snp.makeConstraints { make in
make.top.equalTo(lineView.snp.bottom).offset(0)
make.left.right.bottom.equalToSuperview()
}
}
//阿拉伯数字转文字
func convertNumberToChineseText(_ number: Int) -> String {
let numberFormatter = NumberFormatter()
numberFormatter.locale = Locale(identifier: "zh_CN")
numberFormatter.numberStyle = .spellOut
return numberFormatter.string(from: NSNumber(value: number)) ?? ""
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment