Kaynağa Gözat

Merge remote-tracking branch 'origin/dev' into dev

zhangyihao 8 ay önce
ebeveyn
işleme
566187001e

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

@@ -77,3 +77,40 @@ export const getHospitalDetails = (id: string) => {
     }
   });
 };
+// 加油站详情
+export const getGasolinestationDetails = (id: string) => {
+  return request({
+    url: '/api/gateway/v2/get_point_info_gasoline_station',
+    method: 'post',
+    data: {
+      query: {
+        id: id
+      }
+    }
+  });
+};
+// 非煤矿山企业详情
+export const getMiningcompanyDetails = (id: string) => {
+  return request({
+    url: '/api/gateway/v2/get_point_info_mining_company',
+    method: 'post',
+    data: {
+      query: {
+        id: id
+      }
+    }
+  });
+};
+
+// 危化企业详情
+export const getChemicalcompanyDetails = (id: string) => {
+  return request({
+    url: '/api/gateway/v2/get_point_info_chemical_company',
+    method: 'post',
+    data: {
+      query: {
+        id: id
+      }
+    }
+  });
+};

BIN
src/assets/images/emergencyCommandMap/weather/rainfall.png


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

@@ -29,11 +29,12 @@ import { PointType } from '@/api/globalMap/type';
 import {
   getEmergencyExpertDetails,
   getEmergencyShelterTypeDetails,
-  getHospitalDetails,
+  getGasolinestationDetails,
+  getHospitalDetails,getMiningcompanyDetails,
   getRescueMateriaDetails,
   getSchoolDetails,
   getWaterloggedRoadsDetails
-} from '@/api/globalMap/spatialAnalysis';
+} from "@/api/globalMap/spatialAnalysis";
 import { pointDetailTemplate } from '@/views/globalMap/data/mapData';
 
 interface Props {
@@ -144,7 +145,10 @@ const handlePointDetails = (data) => {
     '3': getEmergencyShelterTypeDetails,
     '4': getWaterloggedRoadsDetails,
     '5': getSchoolDetails,
-    '6': getHospitalDetails
+    '6': getHospitalDetails,
+    '7': getGasolinestationDetails,
+    '8': getMiningcompanyDetails,
+    '9': getChemicalcompanyDetails
   };
   let method = methodList[data.dataType];
   if (!method) return;

+ 86 - 0
src/views/globalMap/data/mapData.ts

@@ -4203,6 +4203,92 @@ export const pointDetailTemplate = {
     yljglb: '医疗机构类别',
     yydj: '医院等级',
     yylx: '医院类型'
+  },
+  '7': {
+    province: '省',
+    city: '地市',
+    area: '区县',
+    company_name: '企业名称',
+    company_code: '企业编码',
+    company_type: '企业类型',
+    is_import: '是否涉及进口',
+    is_manage: '是否涉及经营',
+    registration_date: '工商注册时间',
+    registration_address: '工商注册地址',
+    credit_code: '统一社会信用代码',
+    industry_classification: '行业分类',
+    production_scale: '主要产品及生产规模',
+    emergency_contact_number: '安全值班电话',
+    emergency_response_hotline: '应急咨询服务电话',
+    qyagjgfzr_phone: '企业安管机构负责人手机号',
+    qyfgaqfzr_phone: '企业分管安全负责人手机号',
+    xkzbh: '许可证编号',
+    sfqdwxhxpjyxkz: '是否取得危险化学品经营许可证',
+    factory_address: '厂区地址',
+    number_of_employees: '职工人数',
+    deregistration_date: '注销时间',
+    scale_of_enterprise: '企业规模',
+    chemical_industry_classification: '化工行业分类',
+    safe_level: '安全标准化等级',
+    longitude: '经度',
+    latitude: '纬度',
+    formatted_address: '地址'
+  },
+  '8': {
+    company_name: '矿山企业名称',
+    province: '省',
+    city: '市',
+    area: '县',
+    production_status: '生产状态',
+    primary_mineral_types: '主要矿种',
+    mining_method: '开采方式',
+    development_method: '开拓方式',
+    scale: '矿山规模',
+    name: '姓名',
+    phone: '联系方式',
+    longitude: '经度',
+    latitude: '纬度',
+    formatted_address: '地址'
+  },
+  '9': {
+    province: '省',
+    id: 0,
+    city: '地市',
+    area: '区县',
+    company_name: '企业名称',
+    company_code: '企业编码',
+    company_type: '企业类型',
+    is_import: '是否涉及进口',
+    is_manage: '是否涉及经营',
+    registration_date: '工商注册时间',
+    registration_address: '工商注册地址',
+    credit_code: '统一社会信用代码',
+    industry_classification: '行业分类',
+    production_scale: '主要产品及生产规模',
+    chemical_park_location: '所在化工园区',
+    emergency_contact_number: '安全值班电话',
+    emergency_response_hotline: '应急咨询服务电话',
+    qyagjgfzr_phone: '企业安管机构负责人手机号',
+    qyfgaqfzr_phone: '企业分管安全负责人手机号',
+    sfqdwxhxpaqscxkz: '是否取得危险化学品安全生产许可证',
+    xkzbh: '许可证编号',
+    sfqdwxhxpjyxkz: '是否取得危险化学品经营许可证',
+    sfqdwxhxpsyxkz: '是否取得危险化学品使用许可证',
+    factory_address: '厂区地址',
+    hazard_source: '重大危险源',
+    hazardous_chemical_process: '危险化工工艺',
+    issuance_date: '发证日期',
+    certificate_expiry_date: '证书有效期',
+    company_registration_number: '企业登记证编码',
+    number_of_employees: '职工人数',
+    deregistration_date: '注销时间',
+    scale_of_enterprise: '企业规模',
+    chemical_industry_classification: '化工行业分类',
+    safe_level: '安全标准化等级',
+    priority: '重点行业',
+    longitude: '经度',
+    latitude: '纬度',
+    formatted_address: '地址'
   }
 };