Browse Source

儿童福利机构

Hwf 2 months ago
parent
commit
942c2ad083

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

@@ -222,3 +222,12 @@ export const getRainPitsType = (data) => {
     data: data
   });
 };
+
+// 儿童福利机构分类统计
+export const getCountPointInfoTypeErtongfulijigou = (data) => {
+  return request({
+    url: '/api/gateway/v2/get_count_point_info_type_ertongfulijigou',
+    method: 'post',
+    data: data
+  });
+};

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

@@ -442,3 +442,15 @@ export const getVehicleInfo = (id: string) => {
     }
   });
 };
+
+export const getChildWelfareInstitutionsInfo = (id: string) => {
+  return request({
+    url: '/api/gateway/v2/get_point_info_ertongfulijigou',
+    method: 'post',
+    data: {
+      query: {
+        id: id
+      }
+    }
+  });
+};

+ 7 - 3
src/components/Map/data.ts

@@ -27,7 +27,9 @@ import {
   getWaterList,
   getVideoDrowning,
   getVideoForestFire,
-  getVideoDisasterPrevention, getVehicleInfo
+  getVideoDisasterPrevention,
+  getVehicleInfo,
+  getChildWelfareInstitutionsInfo
 } from '@/api/globalMap/spatialAnalysis';
 import { getPointInfoTransportationVideo, getRescueTeamsInfo } from '@/api/globalMap/rescueTeam';
 
@@ -67,7 +69,8 @@ export const methodList = {
   '34': getVideoDisasterPrevention,
   '41': getRescueTeamsInfo,
   '42': getPointInfoTransportationVideo,
-  '43': getVehicleInfo
+  '43': getVehicleInfo,
+  '44': getChildWelfareInstitutionsInfo
 };
 export const titleList = {
   '1': '专家信息',
@@ -106,5 +109,6 @@ export const titleList = {
   '34': '防灾救援',
   '41': '救援队伍',
   '42': '交通局视频',
-  '43': '重点车辆'
+  '43': '重点车辆',
+  '44': '儿童福利机构'
 };

+ 3 - 2
src/views/globalMap/RightMenu/LayerAnalysis.vue

@@ -32,7 +32,7 @@ import {
   getBuildingProjectType,
   getChemicalType, getChemicalWarehouseType, getConstructionSitesType,
   getCountPointInfo,
-  getCountPointInfoAreaList,
+  getCountPointInfoAreaList, getCountPointInfoTypeErtongfulijigou,
   getDroneType, getEmergencyDisasterInfoOfficerType,
   getEmergencyExpertType,
   getEmergencyShelterType, getEmergencyTransportResourcesType,
@@ -43,7 +43,7 @@ import {
   getSchoolType,
   getShipType, getStationInfoType, getTouristAttractionType,
   getWaterloggedRoadsType, getYardSitesType
-} from "@/api/globalMap/layerAnalysis";
+} from '@/api/globalMap/layerAnalysis';
 import { option4, option5 } from './echartOptions';
 import BigNumber from 'bignumber.js';
 
@@ -193,6 +193,7 @@ watch(
         '27': getConstructionSitesType,
         '28': getEmergencyTransportResourcesType,
         '29': getEmergencyDisasterInfoOfficerType,
+        '44': getCountPointInfoTypeErtongfulijigou
       };
       let method = methodList[dataList.value[0].dataType];
       if (!method) return;

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

@@ -4985,5 +4985,23 @@ export const pointDetailTemplate = {
     status: '状态',
     longitude: '经度',
     latitude: '纬度'
+  },
+  '43': {
+    vehicle_no: '车牌号',
+    vehicle_type: '车辆类型',
+    vehicle_color: '车牌类型',
+    vin: '车架号',
+    chelodmass: '核定吨位',
+    bnscope: '经营范围'
+  },
+  '44': {
+    jigoumincheng: '机构名称',
+    jigoudizhi: '机构地址',
+    jigouxingzhi: '机构性质',
+    jigouleixing: '机构类型',
+    area: '所属区域',
+    jingdu: '经度',
+    weidu: '纬度',
+    jigoujianjie: '机构简介'
   }
 };