Browse Source

养老机构、气象灾害防御重点单位

Hwf 4 months ago
parent
commit
f094712525

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

@@ -231,3 +231,21 @@ export const getCountPointInfoTypeErtongfulijigou = (data) => {
     data: data
   });
 };
+
+// 养老机构分类统计
+export const getCountPointInfoTypeYangLaoJiGou = (data) => {
+  return request({
+    url: '/api/gateway/v2/get_count_point_info_type_yanglaojigou',
+    method: 'post',
+    data: data
+  });
+};
+
+// 气象灾害防御重点单位分类统计
+export const getCountPointInfoTypeMdpUnits = (data) => {
+  return request({
+    url: '/api/gateway/v2/get_count_point_info_type_mdp_units',
+    method: 'post',
+    data: data
+  });
+};

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

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

+ 6 - 4
src/components/Map/data.ts

@@ -29,10 +29,10 @@ import {
   getVideoForestFire,
   getVideoDisasterPrevention,
   getVideoTraffic,
-  getVideoTraffic2,
   getPointInfoTransportationVideo,
   getVehicleInfo,
-  getChildWelfareInstitutionsInfo
+  getChildWelfareInstitutionsInfo,
+  getElderlyCareInstitutionsInfo
 } from '@/api/globalMap/spatialAnalysis';
 import { getRescueTeamsInfo } from '@/api/globalMap/rescueTeam';
 
@@ -74,7 +74,8 @@ export const methodList = {
   '41': getRescueTeamsInfo,
   '42': getPointInfoTransportationVideo,
   '43': getVehicleInfo,
-  '44': getChildWelfareInstitutionsInfo
+  '44': getChildWelfareInstitutionsInfo,
+  '45': getElderlyCareInstitutionsInfo
 };
 export const titleList = {
   '1': '专家信息',
@@ -115,5 +116,6 @@ export const titleList = {
   '41': '救援队伍',
   '42': '交通局视频',
   '43': '重点车辆',
-  '44': '儿童福利机构'
+  '44': '儿童福利机构',
+  '45': '养老机构'
 };

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

@@ -43,6 +43,8 @@ import {
   getCountPointInfo,
   getCountPointInfoAreaList,
   getCountPointInfoTypeErtongfulijigou,
+  getCountPointInfoTypeMdpUnits,
+  getCountPointInfoTypeYangLaoJiGou,
   getDroneType,
   getEmergencyDisasterInfoOfficerType,
   getEmergencyExpertType,
@@ -200,6 +202,7 @@ watch(
         '16': getRainPitsType,
         '17': getMidmapDzzhType,
         '18': getMiningOperationsType,
+        '20': getCountPointInfoTypeMdpUnits,
         '21': getBuildingProjectType,
         '22': getChemicalWarehouseType,
         '23': getMajorHazardSourceType,
@@ -209,7 +212,8 @@ watch(
         '27': getConstructionSitesType,
         '28': getEmergencyTransportResourcesType,
         '29': getEmergencyDisasterInfoOfficerType,
-        '44': getCountPointInfoTypeErtongfulijigou
+        '44': getCountPointInfoTypeErtongfulijigou,
+        '45': getCountPointInfoTypeYangLaoJiGou
       };
       let method = methodList[dataList.value[0].dataType];
       if (!method) return;

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

@@ -4737,6 +4737,14 @@ export const pointDetailTemplate = {
     mine_contact_person: '矿山联系人',
     mine_contact_phone: '矿山联系电话'
   },
+  '20': {
+    unit_name: '单位名称',
+    type: '单位类型',
+    area: '所属区县',
+    location: '详细地址',
+    longitude: '经度',
+    latitude: '纬度'
+  },
   '21': {
     prjcode: '项目编号',
     prjname: '项目名称',
@@ -5003,5 +5011,24 @@ export const pointDetailTemplate = {
     jingdu: '经度',
     weidu: '纬度',
     jigoujianjie: '机构简介'
+  },
+  '45': {
+    jigoumincheng: '机构名称',
+    dizhi: '地址',
+    // dianweixinxi: '详细地址',
+    chenliriqi: '成立日期',
+    jiegoupingji: '机构评级',
+    quantuochuangweishu: '床位数',
+    hulichuangweishu: '护理床位数',
+    huliyuanshu: '护理员数',
+    congyerenyuanshu: '从业人员数',
+    nianmolaorenshu: '年末老年人数',
+    quantuochuangweishu: '全托床位数',
+    rituochuangweishu: '日托床位数',
+    ruzhulv: '入住率',
+    shifoubeian: '是否备案',
+    jingdu: '经度',
+    weidu: '纬度',
+    jianjie: '简介'
   }
 };