Prechádzať zdrojové kódy

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

Hwf 2 mesiacov pred
rodič
commit
c6687c9e66

+ 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

@@ -22,14 +22,14 @@ import {
   getEmergencyTransportResourcesDetails,
   getEmergencyDisasterInfoOfficerDetails,
   getMidmapDzzhDetails,
-  getVehicleDetails,
   getMDPUnitDetails,
   getWaterList,
   getVideoDrowning,
   getVideoForestFire,
   getVideoDisasterPrevention,
   getVehicleInfo,
-  getChildWelfareInstitutionsInfo
+  getChildWelfareInstitutionsInfo,
+  getElderlyCareInstitutionsInfo
 } from '@/api/globalMap/spatialAnalysis';
 import { getPointInfoTransportationVideo, getRescueTeamsInfo } from '@/api/globalMap/rescueTeam';
 
@@ -70,7 +70,8 @@ export const methodList = {
   '41': getRescueTeamsInfo,
   '42': getPointInfoTransportationVideo,
   '43': getVehicleInfo,
-  '44': getChildWelfareInstitutionsInfo
+  '44': getChildWelfareInstitutionsInfo,
+  '45': getElderlyCareInstitutionsInfo
 };
 export const titleList = {
   '1': '专家信息',
@@ -110,5 +111,6 @@ export const titleList = {
   '41': '救援队伍',
   '42': '交通局视频',
   '43': '重点车辆',
-  '44': '儿童福利机构'
+  '44': '儿童福利机构',
+  '45': '养老机构'
 };

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

@@ -45,11 +45,14 @@ declare module 'vue' {
     ElIcon: typeof import('element-plus/es')['ElIcon']
     ElImage: typeof import('element-plus/es')['ElImage']
     ElInput: typeof import('element-plus/es')['ElInput']
+    ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
     ElMenu: typeof import('element-plus/es')['ElMenu']
     ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
     ElOption: typeof import('element-plus/es')['ElOption']
     ElPagination: typeof import('element-plus/es')['ElPagination']
     ElPopover: typeof import('element-plus/es')['ElPopover']
+    ElRadio: typeof import('element-plus/es')['ElRadio']
+    ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
     ElRow: typeof import('element-plus/es')['ElRow']
     ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
     ElSelect: typeof import('element-plus/es')['ElSelect']
@@ -58,12 +61,15 @@ declare module 'vue' {
     ElSlider: typeof import('element-plus/es')['ElSlider']
     ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
     ElSwitch: typeof import('element-plus/es')['ElSwitch']
+    ElTable: typeof import('element-plus/es')['ElTable']
+    ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
     ElTag: typeof import('element-plus/es')['ElTag']
     ElText: typeof import('element-plus/es')['ElText']
     ElTimeline: typeof import('element-plus/es')['ElTimeline']
     ElTimelineItem: typeof import('element-plus/es')['ElTimelineItem']
     ElTooltip: typeof import('element-plus/es')['ElTooltip']
     ElTree: typeof import('element-plus/es')['ElTree']
+    ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
     ElUpload: typeof import('element-plus/es')['ElUpload']
     ExcelEditor: typeof import('./../components/ExcelEditor/index.vue')['default']
     FileUpload: typeof import('./../components/FileUpload/index.vue')['default']
@@ -76,6 +82,8 @@ declare module 'vue' {
     HikvisionPlayer: typeof import('./../components/HKVideo/hikvision-player.vue')['default']
     HKVideo: typeof import('./../components/HKVideo/index.vue')['default']
     IconSelect: typeof import('./../components/IconSelect/index.vue')['default']
+    IEpCaretBottom: typeof import('~icons/ep/caret-bottom')['default']
+    IEpCaretTop: typeof import('~icons/ep/caret-top')['default']
     IFrame: typeof import('./../components/iFrame/index.vue')['default']
     ImagePreview: typeof import('./../components/ImagePreview/index.vue')['default']
     ImageUpload: typeof import('./../components/ImageUpload/index.vue')['default']

+ 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: '简介'
   }
 };