2025-11-19 13:49:56 +08:00
|
|
|
/**
|
|
|
|
|
* 文件上传类型枚举
|
|
|
|
|
*/
|
2025-11-01 17:58:18 +08:00
|
|
|
/**
|
|
|
|
|
* 文件上传类型枚举
|
|
|
|
|
*/
|
|
|
|
|
export const UPLOAD_FILE_TYPE_ENUM = {
|
2025-11-19 13:49:56 +08:00
|
|
|
10: 10, // labor_contract_image - 劳动合同图片
|
|
|
|
|
11: 11, // commercial_insurance_image - 商业保险图片
|
|
|
|
|
12: 12, // certificate_information - 证书信息
|
|
|
|
|
13: 13, // user_avatar - 用户头像
|
|
|
|
|
14: 14, // id_card_photo - 身份证照片
|
|
|
|
|
15: 15, // social_security_card_photo - 社保卡照片
|
|
|
|
|
16: 16, // work_related_injury_insurance_certificate - 工伤保险凭证
|
|
|
|
|
19: 19, // three_level_safety_education_training - 三级教育培训
|
|
|
|
|
601: 601, // gate_access_vehicle_license_photo - 门口门禁车辆行驶证照片
|
|
|
|
|
602: 602, // gate_access_vehicle_photo - 门口门禁车辆车辆照片
|
|
|
|
|
603: 603, // gate_access_vehicle_attachment - 门口门禁车辆附件
|
|
|
|
|
604: 604, // emission_standard_certificate - 排放标准证明
|
|
|
|
|
605: 605, // motor_vehicle_registration_certificate_green_book - 机动车登记证书(绿本)
|
|
|
|
|
3: 3, // hidden_danger_photo - 隐患照片
|
|
|
|
|
4: 4, // hidden_danger_rectification_photo - 隐患整改照片
|
|
|
|
|
5: 5, // hidden_danger_verification_photo - 隐患验证照片
|
|
|
|
|
6: 6, // certificate_photo - 证书照片
|
|
|
|
|
7: 7, // confined_space_plan - 受限空间平面图
|
|
|
|
|
8: 8, // hidden_danger_rectification_plan - 隐患整改方案图
|
|
|
|
|
9: 9, // confined_space_confirmation_signature - 有限空间确认人签字
|
|
|
|
|
17: 17, // special_equipment_inspection_photo - 特种设备巡检照片
|
|
|
|
|
18: 18, // personnel_certificate - 人员证书
|
|
|
|
|
20: 20, // major_hazard_source_alarm_before_handling_photo - 重大危险源报警处置前照片
|
|
|
|
|
21: 21, // major_hazard_source_alarm_after_handling_photo - 重大危险源报警处置后照片
|
|
|
|
|
22: 22, // smart_access_control_external_vehicle_driver_license_photo - 智能门禁外来车辆驾驶证照片
|
|
|
|
|
23: 23, // smart_access_control_external_vehicle_registration_photo - 智能门禁外来车辆行驶证照片
|
|
|
|
|
50: 50, // safety_and_environmental_inspection_final_acceptance_image - 安全环保检查终验图片
|
|
|
|
|
101: 101, // hidden_danger_extension_temporary_measures_attachment - 隐患延期临时措施附件
|
|
|
|
|
102: 102, // hidden_danger_video - 隐患视频
|
|
|
|
|
105: 105, // blind_plate_position_map - 盲板位置图
|
|
|
|
|
106: 106, // temporary_disposal_information - 临时处置信息
|
|
|
|
|
107: 107, // rectification_suggestions_and_plan - 整改建议及方案
|
|
|
|
|
108: 108, // major_hidden_danger_investigation_report - 重大隐患上传隐患调查报告
|
|
|
|
|
109: 109, // major_hidden_danger_safety_committee_or_party_committee_resolution_record - 重大隐患安委会或党委会决议记录
|
|
|
|
|
110: 110, // significant_hidden_danger_rectification_temporary_disposal_measures - 较大隐患整改-临时处置措施
|
|
|
|
|
111: 111, // significant_hidden_danger_rectification_hidden_danger_rectification_process_record - 较大隐患整改-隐患整改过程记录
|
|
|
|
|
112: 112, // supplement_major_hidden_danger_information - 补充重大隐患信息
|
|
|
|
|
113: 113, // safety_committee_office_meeting_record - 安委会办公室会议记录
|
|
|
|
|
114: 114, // alarm_photo - 报警图片
|
|
|
|
|
115: 115, // fire_equipment_type_qualification_photo - 消防器材类型合格表中照片
|
|
|
|
|
116: 116, // hot_work_personnel_photo - 动火人图片
|
|
|
|
|
117: 117, // safety_pledge_signature - 安全承诺书签名
|
|
|
|
|
118: 118, // hot_work_unit_responsible_person_confirmation_signature - 动火单位负责人确认签字
|
|
|
|
|
119: 119, // on_site_jurisdiction_unit_responsible_person_signature - 现场管辖单位负责人签字
|
|
|
|
|
120: 120, // hot_work_permit_issuing_unit_signature - 动火许可证签发单位签字
|
|
|
|
|
121: 121, // hot_work_permit_signature - 动火许可证签字
|
|
|
|
|
122: 122, // pre_hot_work_jurisdiction_unit_confirmation_signature - 动火前管辖单位确认签字
|
|
|
|
|
123: 123, // on_site_responsible_person_confirmation_signature - 现场负责人确实签字
|
|
|
|
|
124: 124, // post_hot_work_site_jurisdiction_unit_confirmation - 动火后现场管辖单位确认
|
|
|
|
|
125: 125, // delayed_fire_monitoring_pictures - 延迟监火图片
|
2025-11-20 16:43:43 +08:00
|
|
|
126: 126, // safety_and_environmental_inspection_initiation_signature - 安全环保检查发起签字(弃用)
|
|
|
|
|
127: 127, // inspector_confirmation_signature - 检查人确认签字(弃用)
|
|
|
|
|
128: 128, // inspected_person_confirmation_signature - 被检查人确认签字(弃用)
|
|
|
|
|
129: 129, // safety_and_environmental_inspection_appeal_signature - 安全环保检查申辩签字(弃用)
|
2025-11-19 13:49:56 +08:00
|
|
|
130: 130, // hk_safety_committee_office_director_safety_director_issuance - (港股安委办主任)安全总监签发
|
|
|
|
|
131: 131, // hot_work_contracting_unit_signature - 动火发包单位签字
|
|
|
|
|
132: 132, // safety_director_approval - 安全总监审批
|
|
|
|
|
133: 133, // branch_safety_director_approval - 分公司安全总监审批
|
|
|
|
|
134: 134, // project_authority_review_signature - 项目主管部门负责人审核
|
|
|
|
|
135: 135, // branch_manager_approval_signature - 分公司主要负责人签批
|
|
|
|
|
136: 136, // accident_incident - 事故/事件
|
|
|
|
|
137: 137, // accident_incident - 事故/事件
|
|
|
|
|
138: 138, // hidden_disposal_plan - 隐患处置方案
|
|
|
|
|
139: 139, // safety_environmental_inspection_inspection_signature - 安全环保检查-检查签字
|
|
|
|
|
140: 140, // safety_environmental_inspection_inspection_situation - 安全环保检查-检查情况
|
|
|
|
|
141: 141, // safety_environmental_inspection_inspector_signature - 安全环保检查-检查人签字
|
|
|
|
|
142: 142, // safety_environmental_inspection_inspected_signature - 安全环保检查-被检查人签字
|
|
|
|
|
143: 143, // safety_environmental_inspection_inspected_file - 安全环保检查-被检查文件
|
|
|
|
|
144: 144, // safety_environmental_inspection_defense_signature - 安全环保检查-申辩签字
|
2025-11-19 14:41:56 +08:00
|
|
|
146: 146, // safety_environmental_inspection_acceptance - 安全环保检查-验收
|
2025-11-19 13:49:56 +08:00
|
|
|
145: 145, // qualified_list_inspection - 清单检查合格
|
2025-11-24 09:38:02 +08:00
|
|
|
147: 147, // hidden_qualified_listInspection_signature - 隐患清单排查签字
|
2025-11-01 17:58:18 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 文件上传类型对应的 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",
|
2025-11-08 12:07:29 +08:00
|
|
|
136: "accident_incident",
|
2025-11-08 13:43:35 +08:00
|
|
|
137: "accident_incident",
|
2025-11-10 10:46:50 +08:00
|
|
|
138: "hidden_disposal_plan",
|
2025-11-15 17:41:49 +08:00
|
|
|
139: "safety_environmental_inspection_inspection_signature",
|
|
|
|
|
140: "safety_environmental_inspection_inspection_situation",
|
2025-11-17 13:42:32 +08:00
|
|
|
141: "safety_environmental_inspection_inspector_signature",
|
|
|
|
|
142: "safety_environmental_inspection_inspected_signature",
|
|
|
|
|
143: "safety_environmental_inspection_inspected_file",
|
2025-11-17 15:42:02 +08:00
|
|
|
144: "safety_environmental_inspection_defense_signature",
|
2025-11-19 13:49:56 +08:00
|
|
|
145: "qualified_list_inspection",
|
2025-11-19 14:41:56 +08:00
|
|
|
146: "safety_environmental_inspection_acceptance",
|
2025-11-24 09:38:02 +08:00
|
|
|
147: "hidden_qualified_listInspection_signature",
|
2025-11-01 17:58:18 +08:00
|
|
|
};
|