소스 검색

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

Hwf 8 달 전
부모
커밋
d071ccc175
4개의 변경된 파일198개의 추가작업 그리고 7개의 파일을 삭제
  1. 13 0
      src/api/globalMap/spatialAnalysis.ts
  2. 10 4
      src/components/Map/index.vue
  3. 1 1
      src/views/emergencyCommandMap/RightSection/JointDuty.vue
  4. 174 2
      src/views/globalMap/data/mapData.ts

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

@@ -127,3 +127,16 @@ export const getShipRealtilmePositionDetails = (id: string) => {
     }
   });
 };
+
+// 无人机详情
+export const getUAVDetails = (id: string) => {
+  return request({
+    url: '/api/gateway/v2/get_drone_resources_info_id',
+    method: 'post',
+    data: {
+      query: {
+        id: id
+      }
+    }
+  });
+};

+ 10 - 4
src/components/Map/index.vue

@@ -36,8 +36,9 @@ import {
   getChemicalcompanyDetails,
   getSchoolDetails,
   getWaterloggedRoadsDetails,
-  getShipRealtilmePositionDetails
-} from '@/api/globalMap/spatialAnalysis';
+  getShipRealtilmePositionDetails,
+  getPeratingEenterpriseDetails, getUAVDetails
+} from "@/api/globalMap/spatialAnalysis";
 import { pointDetailTemplate } from '@/views/globalMap/data/mapData';
 
 interface Props {
@@ -139,8 +140,13 @@ const handlePointDetails = (data) => {
     '6': getHospitalDetails,
     '7': getGasolinestationDetails,
     '8': getMiningcompanyDetails,
-    '9': getChemicalcompanyDetails,
-    '10': getShipRealtilmePositionDetails
+    // '9': getChemicalcompanyDetails,
+    '10': getShipRealtilmePositionDetails,
+    '11': getChemicalcompanyDetails,
+    '12': getChemicalcompanyDetails,
+    '13': getChemicalcompanyDetails,
+    '14': getChemicalcompanyDetails,
+    '15': getUAVDetails
   };
   let method = methodList[data.dataType];
   if (!method) return;

+ 1 - 1
src/views/emergencyCommandMap/RightSection/JointDuty.vue

@@ -104,7 +104,7 @@ onMounted(() => {
   getCheckinList(eventId.value).then((res) => {
      listData.value = res.data;
   });
-  qrCodeUrl.value = import.meta.env.VITE_APP_BASE_API + '/api/event_management/checkin/qrcode?event_id=' + eventId.value;
+  qrCodeUrl.value = '/api/event_management/checkin/qrcode?event_id=' + eventId.value;
 });
 </script>
 

+ 174 - 2
src/views/globalMap/data/mapData.ts

@@ -4131,7 +4131,7 @@ export const iconList = {
   },
   'common': {
     image: 'https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png',
-    size: [40, 40]
+    size: [19, 31]
   },
   '5': {
     image: 'src/assets/images/dotIcon/5_school.png',
@@ -4156,7 +4156,9 @@ export const iconList = {
   '10': {
     image: 'src/assets/images/dotIcon/10_ship_dynamics.png',
     size: [40, 40]
-  }
+  },
+
+
 };
 
 export const pointDetailTemplate = {
@@ -4338,6 +4340,176 @@ export const pointDetailTemplate = {
     trueheading: '真实航向',
     alarm_type: '告警类型'
   },
+  '11': {
+    province: '省',
+    id: '编号',
+    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: ''
+  },
+  '12': {
+    province: '省',
+    id: '编号',
+    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: ''
+  },
+  '13': {
+    province: '省',
+    id: '编号',
+    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: ''
+  },
+  '14': {
+    province: '省',
+    id: '编号',
+    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: ''
+  },
+  '15': {
+    drone_name: '无人机名称',
+    organization: '所属单位',
+    model_number: '型号',
+    drone_contact: '无人机联系人',
+    information: '联系方式',
+    construction_model: '建设模式',
+    response_time: '调度响应时间',
+    address: '常驻地址'
+  },
 };
 
 export const creatDetailTemplate = (data, type) => {};