hmm 7 mēneši atpakaļ
vecāks
revīzija
4e3acdf096

+ 35 - 0
src/api/globalMap/layerAnalysis.ts

@@ -169,3 +169,38 @@ export const getMajorHazardSourceType = (data) => {
   });
 };
 
+// 储罐分类统计
+export const getChemicalWarehouseType = (data) => {
+  return request({
+    url: '/api/gateway/v2/get_count_point_info_type_chemical_warehouse',
+    method: 'post',
+    data: data
+  });
+};
+
+// 矿山施工分类统计
+export const getMiningOperationsType = (data) => {
+  return request({
+    url: '/api/gateway/v2/get_count_point_info_type_mining_operations',
+    method: 'post',
+    data: data
+  });
+};
+
+// 运输物资分类统计
+export const getEmergencyTransportResourcesType = (data) => {
+  return request({
+    url: '/api/gateway/v2/get_count_point_info_type_emergency_transport_resources',
+    method: 'post',
+    data: data
+  });
+};
+
+// 灾害信息员分类统计
+export const getEmergencyDisasterInfoOfficerType = (data) => {
+  return request({
+    url: '/api/gateway/v2/get_count_point_info_type_emergency_disaster_info_officer',
+    method: 'post',
+    data: data
+  });
+};

+ 53 - 0
src/api/globalMap/spatialAnalysis.ts

@@ -231,3 +231,56 @@ export const getBuildingProjectDetails = (id: string) => {
     }
   });
 };
+
+//储罐详情
+export const getChemicalWarehouseDetails = (id: string) => {
+  return request({
+    url: '/api/gateway/v2/get_point_info_chemical_warehouse',
+    method: 'post',
+    data: {
+      query: {
+        id: id
+      }
+    }
+  });
+};
+
+//矿山施工详情
+export const getMiningOperationsDetails = (id: string) => {
+  return request({
+    url: '/api/gateway/v2/get_point_info_mining_operations',
+    method: 'post',
+    data: {
+      query: {
+        id: id
+      }
+    }
+  });
+};
+
+//运输物资详情
+export const getEmergencyTransportResourcesDetails = (id: string) => {
+  return request({
+    url: '/api/gateway/v2/get_point_info_emergency_transport_resources',
+    method: 'post',
+    data: {
+      query: {
+        id: id
+      }
+    }
+  });
+};
+
+//灾害信息员详情
+export const getEmergencyDisasterInfoOfficerDetails = (id: string) => {
+  return request({
+    url: '/api/gateway/v2/get_point_info_emergency_disaster_info_officer',
+    method: 'post',
+    data: {
+      query: {
+        id: id
+      }
+    }
+  });
+};
+

+ 11 - 3
src/components/Map/index.vue

@@ -39,7 +39,10 @@ import {
   getYardSitesDetails,
   getStationInfoDetails,
   getMajorHazardSourceDetails,
-  getBuildingProjectDetails
+  getBuildingProjectDetails,
+  getChemicalWarehouseDetails,
+  getMiningOperationsDetails,
+  getEmergencyTransportResourcesDetails, getEmergencyDisasterInfoOfficerDetails
 } from "@/api/globalMap/spatialAnalysis";
 import { pointDetailTemplate } from '@/views/globalMap/data/mapData';
 import ElementResizeDetectorMaker from 'element-resize-detector';
@@ -171,12 +174,16 @@ const handlePointDetails = (data) => {
     '14': getChemicalcompanyDetails,
     '15': getUAVDetails,
     '16': getRainbowDetails,
+    '18': getMiningOperationsDetails,
     '21': getBuildingProjectDetails,
+    '22': getChemicalWarehouseDetails,
     '23': getMajorHazardSourceDetails,
     '24': getStationInfoDetails,
     '25': getYardSitesDetails,
     '26': getTouristAttractionDetails,
-    '27': getConstructionSitesDetails
+    '27': getConstructionSitesDetails,
+    '28': getEmergencyTransportResourcesDetails,
+    '29': getEmergencyDisasterInfoOfficerDetails
   };
   let titleList = {
     '1': '专家信息',
@@ -206,7 +213,8 @@ const handlePointDetails = (data) => {
     '25': '堆场',
     '26': '旅游场所',
     '27': '在建工地',
-    '28': '运输资源'
+    '28': '运输资源',
+    '29': '灾害信息员'
   };
   let method = methodList[data.dataType];
   let title = !!titleList[data.dataType] ? titleList[data.dataType] : '信息';

+ 1 - 0
src/types/components.d.ts

@@ -20,6 +20,7 @@ declare module 'vue' {
     ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
     ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
     ElButton: typeof import('element-plus/es')['ElButton']
+    ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
     ElCol: typeof import('element-plus/es')['ElCol']
     ElColorPicker: typeof import('element-plus/es')['ElColorPicker']
     ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']

+ 9 - 5
src/views/globalMap/RightMenu/LayerAnalysis.vue

@@ -28,14 +28,14 @@
 import { PointType } from '@/api/globalMap/type';
 import {
   getBuildingProjectType,
-  getChemicalType, getConstructionSitesType,
+  getChemicalType, getChemicalWarehouseType, getConstructionSitesType,
   getCountPointInfo,
   getCountPointInfoAreaList,
-  getDroneType,
+  getDroneType, getEmergencyDisasterInfoOfficerType,
   getEmergencyExpertType,
-  getEmergencyShelterType,
+  getEmergencyShelterType, getEmergencyTransportResourcesType,
   getGasolineType,
-  getHospitalType, getMajorHazardSourceType,
+  getHospitalType, getMajorHazardSourceType, getMiningOperationsType,
   getMiningType,
   getRescueMateriaType,
   getSchoolType,
@@ -179,12 +179,16 @@ watch(
         '13': getChemicalType,
         '14': getChemicalType,
         '15': getDroneType,
+        '18': getMiningOperationsType,
         '21': getBuildingProjectType,
+        '22': getChemicalWarehouseType,
         '23': getMajorHazardSourceType,
         '24': getStationInfoType,
         '25': getYardSitesType,
         '26': getTouristAttractionType,
-        '27': getConstructionSitesType
+        '27': getConstructionSitesType,
+        '28': getEmergencyTransportResourcesType,
+        '29': getEmergencyDisasterInfoOfficerType,
       };
       let method = methodList[dataList.value[0].dataType];
       if (!method) return;

+ 67 - 1
src/views/globalMap/data/mapData.ts

@@ -4576,7 +4576,6 @@ export const pointDetailTemplate = {
     longitude: '经度',
     latitude: '纬度'
   },
-
   '17': {
     id: '编号',
     name: '名称',
@@ -4585,6 +4584,42 @@ export const pointDetailTemplate = {
     longitude: '经度',
     latitude: '纬度'
   },
+  '18': {
+    excavation_sid: '采掘施工',
+    excavation_company_name: '采掘施工企业名称',
+    geological_survey_address: '地质勘探单位地址',
+    contact_phone: '联系电话',
+    business_license_authority: '事业单位登记或营业执照发证机关',
+    registration_number: '注册号',
+    business_license_validity: '营业执照有效期',
+    construction_authority: '矿山工程施工资质发证机关',
+    construction_certificate_number: '矿山工程施工资质证书号',
+    construction_validity: '矿山工程施工资质有效期',
+    safety_authority_main: '主要负责人安全资格证书发证机关',
+    safety_certificate_main_number: '主要负责人安全资格证书号',
+    safety_validity_main: '主要负责人安全资格证书发证机关',
+    safety_authority_project: '项目负责人安全资格证书发证机关',
+    safety_certificate_project_number: '项目负责人安全资格证书号',
+    safety_validity_project: '项目负责人安全资格证书有效期',
+    explosive_license_authority: '爆破作业单位许可证发证机关',
+    explosive_license_number: '爆破作业单位许可证证书号',
+    explosive_license_validity: '爆破作业单位许可证有效期',
+    construction_scope: '矿山工程施工资质范围',
+    qualification_level: '资质等级',
+    mine_name: '矿山(项目)名称',
+    mine_address: '矿山(项目)地址',
+    area: '区县',
+    longitude: '经度',
+    latitude: '纬度',
+    safety_license_authority: '安全生产许可证或建设项目审批机关',
+    safety_certificate_number: '证书号或批文号',
+    safety_license_validity: '安全生产许可证有效期',
+    mine_safety_authority_main: '矿山主要负责人安全资格证书发证机关',
+    mine_safety_certificate_main_number: '矿山主要负责人安全资格证书号',
+    mine_safety_validity_main: '矿山主要负责人安全资格证书有效期',
+    mine_contact_person: '矿山联系人',
+    mine_contact_phone: '矿山联系电话'
+  },
   '21': {
     prjcode: '项目编号',
     prjname: '项目名称',
@@ -4622,6 +4657,17 @@ export const pointDetailTemplate = {
     zjlysytz: '资金来源-私(民)营投资',
     zjlyqtzjly: '资金来源-其他资金来源'
   },
+  '22': {
+    warehouseName: '储罐名称',
+    warehouseType: '储罐类型编码',
+    reserve: '储量',
+    location: '所在厂区位置',
+    area: '区县',
+    longitude: '经度',
+    latitude: '纬度',
+    uniteCode: '统一社会信用代码',
+    warehouseMedium: '化学品名称'
+  },
   '23': {
     sourceName: '重大危险源名称',
     useTime: '投用时间',
@@ -4739,6 +4785,26 @@ export const pointDetailTemplate = {
     survey_date: '调查日期',
     remarks: '备注'
   },
+  '28': {
+    name: '物资名称',
+    type: '物资类型',
+    administrative_division: '行政区划',
+    address: '地址',
+    area: '区县',
+    longitude: '经度',
+    latitude: '纬度',
+    person_in_charge: '负责人',
+    contact_information: '联系方式'
+  },
+  '29': {
+    name: '姓名',
+    gender: '性别',
+    work_unit: '工作单位',
+    location: '地址',
+    area: '区县',
+    longitude: '经度',
+    latitude: '纬度'
+  },
 };
 
 export const creatDetailTemplate = (data, type) => {};