|
@@ -121,195 +121,197 @@ class FormTypes {
|
|
|
// =================================== Begin ↓ ===================================
|
|
|
|
|
|
//type类型对应的详情页面组与对应的数据
|
|
|
- static Map<String, Map<String, dynamic>> detailPageMap = {
|
|
|
- //Access Card-Owner
|
|
|
- '1': {
|
|
|
- 'title': S.current.access_card_owner,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.typeOfApplication,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.payment,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'note_management_txt': S.current.access_card_desc,
|
|
|
- 'signature_txt': S.current.signature_access_card,
|
|
|
- }
|
|
|
- },
|
|
|
- //Access Card-Tenant
|
|
|
- '2': {
|
|
|
- 'title': S.current.access_card_tenant,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.typeOfApplication,
|
|
|
- DetailPageType.attachment,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.payment,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'attachment_txt': S.current.access_card_tenant_letter,
|
|
|
- 'note_management_txt': S.current.access_card_desc,
|
|
|
- 'signature_txt': S.current.signature_access_card,
|
|
|
- }
|
|
|
- },
|
|
|
- //Car Park Cancellation
|
|
|
- '3': {
|
|
|
- 'title': S.current.car_park_cancellation,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.vehicleInfo,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.signature,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'note_management_txt': '${S.current.car_cancel_txt}\n\n${S.current.car_cancel_txt_1}\n${S.current.car_cancel_txt_2}',
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
- }
|
|
|
- },
|
|
|
- //Moving In
|
|
|
- '4': {
|
|
|
- 'title': S.current.moving_in,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.movingDate,
|
|
|
- DetailPageType.movingCompany,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.payment,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'note_management_txt': S.current.moving_in_msg,
|
|
|
- 'signature_txt': S.current.signature_moving,
|
|
|
- }
|
|
|
- },
|
|
|
- //Moving Out
|
|
|
- '5': {
|
|
|
- 'title': S.current.moving_out,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.movingDate,
|
|
|
- DetailPageType.movingCompany,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.payment,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'note_management_txt': S.current.moving_in_msg,
|
|
|
- 'signature_txt': S.current.signature_moving,
|
|
|
- }
|
|
|
- },
|
|
|
- //Overnight Parking
|
|
|
- '6': {
|
|
|
- 'title': S.current.overnight_parking,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.guestVehicleInfo,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.signature,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'note_management_txt': S.current.overnight_parking_msg,
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
- }
|
|
|
- },
|
|
|
- //Registration of 2nd Vehicle
|
|
|
- '7': {
|
|
|
- 'title': S.current.registration_of_2_vehicle,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.vehicleInfo,
|
|
|
- DetailPageType.attachment,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.signature,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
- 'note_management_txt': S.current.moving_in_msg,
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
- }
|
|
|
- },
|
|
|
- //Renovation
|
|
|
- '8': {
|
|
|
- 'title': S.current.renovation,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.renovationDate,
|
|
|
- DetailPageType.renovationCompany,
|
|
|
- DetailPageType.largeTextBox,
|
|
|
- DetailPageType.attachment,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.payment,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'large_txt': S.current.list_of_renovation_works,
|
|
|
- 'attachment_txt': S.current.renovation_attachments,
|
|
|
- 'note_management_txt': S.current.renovation_note,
|
|
|
- 'signature_txt': S.current.signature_renovation,
|
|
|
- }
|
|
|
- },
|
|
|
- //Re-Registration of 1st Vehicle-Owner
|
|
|
- '9': {
|
|
|
- 'title': S.current.re_registration_of_1_vehicle_owner,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.vehicleInfo,
|
|
|
- DetailPageType.attachment,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.signature,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
- 'note_management_txt': S.current.moving_in_msg,
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
- }
|
|
|
- },
|
|
|
- //Re-Registration of 1st Vehicle-Owner
|
|
|
- '10': {
|
|
|
- 'title': S.current.re_registration_of_1_vehicle_tenant,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.vehicleInfo,
|
|
|
- DetailPageType.attachment,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.signature,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
- 'note_management_txt': S.current.moving_in_msg,
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
- }
|
|
|
- },
|
|
|
- //Re-Registration of Bicycles
|
|
|
- '11': {
|
|
|
- 'title': S.current.re_registration_of_bicycle,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.typeOfApplication,
|
|
|
- DetailPageType.attachment,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.signature,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'attachment_txt': S.current.bicycle_desc,
|
|
|
- 'note_management_txt': S.current.bicycle_note,
|
|
|
- 'signature_txt': S.current.signature_bicycle,
|
|
|
- }
|
|
|
- },
|
|
|
- //Vehicle Label Replacement
|
|
|
- '12': {
|
|
|
- 'title': S.current.vehicle_label_replacement,
|
|
|
- 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
- 'detail_pages': [
|
|
|
- DetailPageType.typeOfApplication,
|
|
|
- DetailPageType.attachment,
|
|
|
- DetailPageType.note2Management,
|
|
|
- DetailPageType.payment,
|
|
|
- ],
|
|
|
- 'detail_data': {
|
|
|
- 'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
- 'note_management_txt': S.current.label_replace_note,
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
- }
|
|
|
- },
|
|
|
- };
|
|
|
+ static Map<String, Map<String, dynamic>> buildDetailPageMap(bool enableEdit) {
|
|
|
+ return {
|
|
|
+ //Access Card-Owner
|
|
|
+ '1': {
|
|
|
+ 'title': S.current.access_card_owner,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.typeOfApplication,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ enableEdit ? DetailPageType.payment : DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'note_management_txt': S.current.access_card_desc,
|
|
|
+ 'signature_txt': S.current.signature_access_card,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Access Card-Tenant
|
|
|
+ '2': {
|
|
|
+ 'title': S.current.access_card_tenant,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.typeOfApplication,
|
|
|
+ DetailPageType.attachment,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ enableEdit ? DetailPageType.payment : DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'attachment_txt': S.current.access_card_tenant_letter,
|
|
|
+ 'note_management_txt': S.current.access_card_desc,
|
|
|
+ 'signature_txt': S.current.signature_access_card,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Car Park Cancellation
|
|
|
+ '3': {
|
|
|
+ 'title': S.current.car_park_cancellation,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.vehicleInfo,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'note_management_txt': '${S.current.car_cancel_txt}\n\n${S.current.car_cancel_txt_1}\n${S.current.car_cancel_txt_2}',
|
|
|
+ 'signature_txt': S.current.signature_vehicle,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Moving In
|
|
|
+ '4': {
|
|
|
+ 'title': S.current.moving_in,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.movingDate,
|
|
|
+ DetailPageType.movingCompany,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ enableEdit ? DetailPageType.payment : DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'note_management_txt': S.current.moving_in_msg,
|
|
|
+ 'signature_txt': S.current.signature_moving,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Moving Out
|
|
|
+ '5': {
|
|
|
+ 'title': S.current.moving_out,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.movingDate,
|
|
|
+ DetailPageType.movingCompany,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ enableEdit ? DetailPageType.payment : DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'note_management_txt': S.current.moving_in_msg,
|
|
|
+ 'signature_txt': S.current.signature_moving,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Overnight Parking
|
|
|
+ '6': {
|
|
|
+ 'title': S.current.overnight_parking,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.guestVehicleInfo,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'note_management_txt': S.current.overnight_parking_msg,
|
|
|
+ 'signature_txt': S.current.signature_vehicle,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Registration of 2nd Vehicle
|
|
|
+ '7': {
|
|
|
+ 'title': S.current.registration_of_2_vehicle,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.vehicleInfo,
|
|
|
+ DetailPageType.attachment,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
+ 'note_management_txt': S.current.moving_in_msg,
|
|
|
+ 'signature_txt': S.current.signature_vehicle,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Renovation
|
|
|
+ '8': {
|
|
|
+ 'title': S.current.renovation,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.renovationDate,
|
|
|
+ DetailPageType.renovationCompany,
|
|
|
+ DetailPageType.largeTextBox,
|
|
|
+ DetailPageType.attachment,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ enableEdit ? DetailPageType.payment : DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'large_txt': S.current.list_of_renovation_works,
|
|
|
+ 'attachment_txt': S.current.renovation_attachments,
|
|
|
+ 'note_management_txt': S.current.renovation_note,
|
|
|
+ 'signature_txt': S.current.signature_renovation,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Re-Registration of 1st Vehicle-Owner
|
|
|
+ '9': {
|
|
|
+ 'title': S.current.re_registration_of_1_vehicle_owner,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.vehicleInfo,
|
|
|
+ DetailPageType.attachment,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
+ 'note_management_txt': S.current.moving_in_msg,
|
|
|
+ 'signature_txt': S.current.signature_vehicle,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Re-Registration of 1st Vehicle-Owner
|
|
|
+ '10': {
|
|
|
+ 'title': S.current.re_registration_of_1_vehicle_tenant,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.vehicleInfo,
|
|
|
+ DetailPageType.attachment,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
+ 'note_management_txt': S.current.moving_in_msg,
|
|
|
+ 'signature_txt': S.current.signature_vehicle,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Re-Registration of Bicycles
|
|
|
+ '11': {
|
|
|
+ 'title': S.current.re_registration_of_bicycle,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.typeOfApplication,
|
|
|
+ DetailPageType.attachment,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'attachment_txt': S.current.bicycle_desc,
|
|
|
+ 'note_management_txt': S.current.bicycle_note,
|
|
|
+ 'signature_txt': S.current.signature_bicycle,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //Vehicle Label Replacement
|
|
|
+ '12': {
|
|
|
+ 'title': S.current.vehicle_label_replacement,
|
|
|
+ 'term_url': 'https://lehuoer.com/privacy.html',
|
|
|
+ 'detail_pages': [
|
|
|
+ DetailPageType.typeOfApplication,
|
|
|
+ DetailPageType.attachment,
|
|
|
+ DetailPageType.note2Management,
|
|
|
+ enableEdit ? DetailPageType.payment : DetailPageType.signature,
|
|
|
+ ],
|
|
|
+ 'detail_data': {
|
|
|
+ 'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
+ 'note_management_txt': S.current.label_replace_note,
|
|
|
+ 'signature_txt': S.current.signature_vehicle,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ };
|
|
|
+ }
|
|
|
|
|
|
// =================================== Begin ↓ ===================================
|
|
|
|