132 lines
3.6 KiB
JavaScript
132 lines
3.6 KiB
JavaScript
/**
|
|
* 文件上传类型枚举
|
|
*/
|
|
export const UPLOAD_FILE_TYPE_ENUM = {
|
|
10: 10,
|
|
11: 11,
|
|
12: 12,
|
|
13: 13,
|
|
14: 14,
|
|
15: 15,
|
|
16: 16,
|
|
19: 19,
|
|
601: 601,
|
|
602: 602,
|
|
603: 603,
|
|
604: 604,
|
|
605: 605,
|
|
3: 3,
|
|
4: 4,
|
|
5: 5,
|
|
6: 6,
|
|
7: 7,
|
|
8: 8,
|
|
9: 9,
|
|
17: 17,
|
|
18: 18,
|
|
20: 20,
|
|
21: 21,
|
|
22: 22,
|
|
23: 23,
|
|
50: 50,
|
|
101: 101,
|
|
102: 102,
|
|
105: 105,
|
|
106: 106,
|
|
107: 107,
|
|
108: 108,
|
|
109: 109,
|
|
110: 110,
|
|
111: 111,
|
|
112: 112,
|
|
113: 113,
|
|
114: 114,
|
|
115: 115,
|
|
116: 116,
|
|
117: 117,
|
|
118: 118,
|
|
119: 119,
|
|
120: 120,
|
|
121: 121,
|
|
122: 122,
|
|
123: 123,
|
|
124: 124,
|
|
125: 125,
|
|
126: 126,
|
|
127: 127,
|
|
128: 128,
|
|
129: 129,
|
|
130: 130,
|
|
131: 131,
|
|
132: 132,
|
|
133: 133,
|
|
134: 134,
|
|
135: 135,
|
|
};
|
|
|
|
/**
|
|
* 文件上传类型对应的 path 枚举
|
|
*/
|
|
export const UPLOAD_FILE_PATH_ENUM = {
|
|
10: "labor_contract_image",
|
|
11: "commercial_insurance_image",
|
|
12: "certificate_information",
|
|
13: "user_avatar",
|
|
14: "id_card_photo",
|
|
15: "social_security_card_photo",
|
|
16: "work_related_injury_insurance_certificate",
|
|
19: "three_level_safety_education_training",
|
|
601: "gate_access_vehicle_license_photo",
|
|
602: "gate_access_vehicle_photo",
|
|
603: "gate_access_vehicle_attachment",
|
|
604: "emission_standard_certificate",
|
|
605: "motor_vehicle_registration_certificate_green_book",
|
|
3: "hidden_danger_photo",
|
|
4: "hidden_danger_rectification_photo",
|
|
5: "hidden_danger_verification_photo",
|
|
6: "certificate_photo",
|
|
7: "confined_space_plan",
|
|
8: "hidden_danger_rectification_plan",
|
|
9: "confined_space_confirmation_signature",
|
|
17: "special_equipment_inspection_photo",
|
|
18: "personnel_certificate",
|
|
20: "major_hazard_source_alarm_before_handling_photo",
|
|
21: "major_hazard_source_alarm_after_handling_photo",
|
|
22: "smart_access_control_external_vehicle_driver_license_photo",
|
|
23: "smart_access_control_external_vehicle_registration_photo",
|
|
50: "safety_and_environmental_inspection_final_acceptance_image",
|
|
101: "hidden_danger_extension_temporary_measures_attachment",
|
|
102: "hidden_danger_video",
|
|
105: "blind_plate_position_map",
|
|
106: "temporary_disposal_information",
|
|
107: "rectification_suggestions_and_plan",
|
|
108: "major_hidden_danger_investigation_report",
|
|
109: "major_hidden_danger_safety_committee_or_party_committee_resolution_record",
|
|
110: "significant_hidden_danger_rectification_temporary_disposal_measures",
|
|
111: "significant_hidden_danger_rectification_hidden_danger_rectification_process_record",
|
|
112: "supplement_major_hidden_danger_information",
|
|
113: "safety_committee_office_meeting_record",
|
|
114: "alarm_photo",
|
|
115: "fire_equipment_type_qualification_photo",
|
|
116: "hot_work_personnel_photo",
|
|
117: "safety_pledge_signature",
|
|
118: "hot_work_unit_responsible_person_confirmation_signature",
|
|
119: "on_site_jurisdiction_unit_responsible_person_signature",
|
|
120: "hot_work_permit_issuing_unit_signature",
|
|
121: "hot_work_permit_signature",
|
|
122: "pre_hot_work_jurisdiction_unit_confirmation_signature",
|
|
123: "on_site_responsible_person_confirmation_signature",
|
|
124: "post_hot_work_site_jurisdiction_unit_confirmation",
|
|
125: "delayed_fire_monitoring_pictures",
|
|
126: "safety_and_environmental_inspection_initiation_signature",
|
|
127: "inspector_confirmation_signature",
|
|
128: "inspected_person_confirmation_signature",
|
|
129: "safety_and_environmental_inspection_appeal_signature",
|
|
130: "hk_safety_committee_office_director_safety_director_issuance",
|
|
131: "hot_work_contracting_unit_signature",
|
|
132: "safety_director_approval",
|
|
133: "branch_safety_director_approval",
|
|
134: "project_authority_review_signature",
|
|
135: "branch_manager_approval_signature",
|
|
};
|