diff --git a/src/components/map/index.vue b/src/components/map/index.vue index d55cbf7..da37e9a 100644 --- a/src/components/map/index.vue +++ b/src/components/map/index.vue @@ -8,7 +8,7 @@ import infoDetail from './infoWindow.vue' import infoDetail2 from './infoWindow2.vue' import infoDetailHot from './infoWindowHot.vue' -import { branchList, electNodeList, guangfuList } from './mock.js' +import { HotNodeList, branchList, electNodeList, guangfuList } from './mock.js' import { getDictByCode } from '@/api/system/dict' import { electricityBranch, electricityNode, getAreaPosition, getDeviceListPage, getElectricityListAll, getMonitorStationList } from '@/api/api/index' const publicPath = import.meta.env.BASE_URL @@ -381,8 +381,10 @@ ptn: '', deviceType: '2', }).then((res) => { - markerArrHotInfo.value = res.data.rows - markerArrHot.value = res.data.rows.map(item => ([Number(item.lng), Number(item.lat)])) + markerArrHotInfo.value = HotNodeList + markerArrHot.value = HotNodeList.map(item => ([Number(item.lng), Number(item.lat)])) + // markerArrHotInfo.value = res.data.rows + // markerArrHot.value = res.data.rows.map(item => ([Number(item.lng), Number(item.lat)])) }) // getElectricityListAll().then((res) => { // // 电网列表 @@ -462,7 +464,7 @@ // 切换用电检测/用热监测 const changeFlagType = () => { map.value.clearMap() - map.value.setCenter([111.765785, 40.718114]) + map.value.setCenter([111.73142, 40.830627]) // 区域框展示 area.value = '' if (flagType.value) { diff --git a/src/components/map/index.vue b/src/components/map/index.vue index d55cbf7..da37e9a 100644 --- a/src/components/map/index.vue +++ b/src/components/map/index.vue @@ -8,7 +8,7 @@ import infoDetail from './infoWindow.vue' import infoDetail2 from './infoWindow2.vue' import infoDetailHot from './infoWindowHot.vue' -import { branchList, electNodeList, guangfuList } from './mock.js' +import { HotNodeList, branchList, electNodeList, guangfuList } from './mock.js' import { getDictByCode } from '@/api/system/dict' import { electricityBranch, electricityNode, getAreaPosition, getDeviceListPage, getElectricityListAll, getMonitorStationList } from '@/api/api/index' const publicPath = import.meta.env.BASE_URL @@ -381,8 +381,10 @@ ptn: '', deviceType: '2', }).then((res) => { - markerArrHotInfo.value = res.data.rows - markerArrHot.value = res.data.rows.map(item => ([Number(item.lng), Number(item.lat)])) + markerArrHotInfo.value = HotNodeList + markerArrHot.value = HotNodeList.map(item => ([Number(item.lng), Number(item.lat)])) + // markerArrHotInfo.value = res.data.rows + // markerArrHot.value = res.data.rows.map(item => ([Number(item.lng), Number(item.lat)])) }) // getElectricityListAll().then((res) => { // // 电网列表 @@ -462,7 +464,7 @@ // 切换用电检测/用热监测 const changeFlagType = () => { map.value.clearMap() - map.value.setCenter([111.765785, 40.718114]) + map.value.setCenter([111.73142, 40.830627]) // 区域框展示 area.value = '' if (flagType.value) { diff --git a/src/components/map/mock.js b/src/components/map/mock.js index 9901876..083069d 100644 --- a/src/components/map/mock.js +++ b/src/components/map/mock.js @@ -432,6 +432,428 @@ zone: 1, }, ] +export const HotNodeList = [ + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '教学主楼西侧热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '教学主楼西侧', + installTime: '2023-03-15', + lat: '40.83078', + lng: '111.730077', + monitorObj: '5', + monitorObjName: '厂房监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '教学北楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '教学北楼', + installTime: '2023-03-15', + lat: '40.830858', + lng: '111.730585', + monitorObj: '5', + monitorObjName: '教学北楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '一号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '一号楼', + installTime: '2023-03-15', + lat: '40.831051', + lng: '111.729815', + monitorObj: '5', + monitorObjName: '一号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: 'B座公寓热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: 'B座公寓', + installTime: '2023-03-15', + lat: '40.831326', + lng: '111.729689', + monitorObj: '5', + monitorObjName: 'B座公寓监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '二号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '二号楼', + installTime: '2023-03-15', + lat: '40.831205', + lng: '111.730472', + monitorObj: '5', + monitorObjName: '二号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: 'C座公寓热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: 'C座公寓', + installTime: '2023-03-15', + lat: '40.831475', + lng: '111.730364', + monitorObj: '5', + monitorObjName: 'C座公寓监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '网络教室热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '网络教室', + installTime: '2023-03-15', + lat: '40.831027', + lng: '111.731106', + monitorObj: '5', + monitorObjName: '网络教室监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '机考基地热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '机考基地', + installTime: '2023-03-15', + lat: '40.830697', + lng: '111.731217', + monitorObj: '5', + monitorObjName: '机考基地监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '教学南楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '教学南楼', + installTime: '2023-03-15', + lat: '40.830084', + lng: '111.730342', + monitorObj: '5', + monitorObjName: '教学南楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: 'A座公寓热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: 'A座公寓', + installTime: '2023-03-15', + lat: '40.829572', + lng: '111.73019', + monitorObj: '5', + monitorObjName: 'A座公寓监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '三号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '三号楼', + installTime: '2023-03-15', + lat: '40.829443', + lng: '111.730252', + monitorObj: '5', + monitorObjName: '三号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '四号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '四号楼', + installTime: '2023-03-15', + lat: '40.82965', + lng: '111.731148', + monitorObj: '5', + monitorObjName: '四号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '五号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '五号楼', + installTime: '2023-03-15', + lat: '40.829416', + lng: '111.731261', + monitorObj: '5', + monitorObjName: '五号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '六号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '六号楼', + installTime: '2023-03-15', + lat: '40.829665', + lng: '111.732417', + monitorObj: '5', + monitorObjName: '六号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '七号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '七号楼', + installTime: '2023-03-15', + lat: '40.829862', + lng: '111.733332', + monitorObj: '5', + monitorObjName: '七号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, +] export const branchList = [ { branchNodeInfos: [ diff --git a/src/components/map/index.vue b/src/components/map/index.vue index d55cbf7..da37e9a 100644 --- a/src/components/map/index.vue +++ b/src/components/map/index.vue @@ -8,7 +8,7 @@ import infoDetail from './infoWindow.vue' import infoDetail2 from './infoWindow2.vue' import infoDetailHot from './infoWindowHot.vue' -import { branchList, electNodeList, guangfuList } from './mock.js' +import { HotNodeList, branchList, electNodeList, guangfuList } from './mock.js' import { getDictByCode } from '@/api/system/dict' import { electricityBranch, electricityNode, getAreaPosition, getDeviceListPage, getElectricityListAll, getMonitorStationList } from '@/api/api/index' const publicPath = import.meta.env.BASE_URL @@ -381,8 +381,10 @@ ptn: '', deviceType: '2', }).then((res) => { - markerArrHotInfo.value = res.data.rows - markerArrHot.value = res.data.rows.map(item => ([Number(item.lng), Number(item.lat)])) + markerArrHotInfo.value = HotNodeList + markerArrHot.value = HotNodeList.map(item => ([Number(item.lng), Number(item.lat)])) + // markerArrHotInfo.value = res.data.rows + // markerArrHot.value = res.data.rows.map(item => ([Number(item.lng), Number(item.lat)])) }) // getElectricityListAll().then((res) => { // // 电网列表 @@ -462,7 +464,7 @@ // 切换用电检测/用热监测 const changeFlagType = () => { map.value.clearMap() - map.value.setCenter([111.765785, 40.718114]) + map.value.setCenter([111.73142, 40.830627]) // 区域框展示 area.value = '' if (flagType.value) { diff --git a/src/components/map/mock.js b/src/components/map/mock.js index 9901876..083069d 100644 --- a/src/components/map/mock.js +++ b/src/components/map/mock.js @@ -432,6 +432,428 @@ zone: 1, }, ] +export const HotNodeList = [ + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '教学主楼西侧热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '教学主楼西侧', + installTime: '2023-03-15', + lat: '40.83078', + lng: '111.730077', + monitorObj: '5', + monitorObjName: '厂房监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '教学北楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '教学北楼', + installTime: '2023-03-15', + lat: '40.830858', + lng: '111.730585', + monitorObj: '5', + monitorObjName: '教学北楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '一号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '一号楼', + installTime: '2023-03-15', + lat: '40.831051', + lng: '111.729815', + monitorObj: '5', + monitorObjName: '一号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: 'B座公寓热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: 'B座公寓', + installTime: '2023-03-15', + lat: '40.831326', + lng: '111.729689', + monitorObj: '5', + monitorObjName: 'B座公寓监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '二号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '二号楼', + installTime: '2023-03-15', + lat: '40.831205', + lng: '111.730472', + monitorObj: '5', + monitorObjName: '二号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: 'C座公寓热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: 'C座公寓', + installTime: '2023-03-15', + lat: '40.831475', + lng: '111.730364', + monitorObj: '5', + monitorObjName: 'C座公寓监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '网络教室热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '网络教室', + installTime: '2023-03-15', + lat: '40.831027', + lng: '111.731106', + monitorObj: '5', + monitorObjName: '网络教室监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '机考基地热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '机考基地', + installTime: '2023-03-15', + lat: '40.830697', + lng: '111.731217', + monitorObj: '5', + monitorObjName: '机考基地监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '教学南楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '教学南楼', + installTime: '2023-03-15', + lat: '40.830084', + lng: '111.730342', + monitorObj: '5', + monitorObjName: '教学南楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: 'A座公寓热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: 'A座公寓', + installTime: '2023-03-15', + lat: '40.829572', + lng: '111.73019', + monitorObj: '5', + monitorObjName: 'A座公寓监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '三号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '三号楼', + installTime: '2023-03-15', + lat: '40.829443', + lng: '111.730252', + monitorObj: '5', + monitorObjName: '三号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '四号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '四号楼', + installTime: '2023-03-15', + lat: '40.82965', + lng: '111.731148', + monitorObj: '5', + monitorObjName: '四号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '五号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '五号楼', + installTime: '2023-03-15', + lat: '40.829416', + lng: '111.731261', + monitorObj: '5', + monitorObjName: '五号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '六号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '六号楼', + installTime: '2023-03-15', + lat: '40.829665', + lng: '111.732417', + monitorObj: '5', + monitorObjName: '六号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, + { + createTime: '2023-06-01', + deviceClassify: '1', + deviceName: '七号楼热能表', + deviceNo: 'n001', + deviceType: 2, + deviceTypeName: '远传热能表', + en: '108.90', + facilityArea: '1.00', + id: '1641418865640501249', + installLocaltion: '七号楼', + installTime: '2023-03-15', + lat: '40.829862', + lng: '111.733332', + monitorObj: '5', + monitorObjName: '七号楼监测点', + monitorUnit: 'KJ', + monitorVal: '99.00', + pd: '', + ptn: 1, + ptnName: 'A区', + qd: '', + referencePd: '100.00', + referenceQd: '', + stat: 0, + statName: '在线', + uploadTime: '2023-08-03', + }, +] export const branchList = [ { branchNodeInfos: [ diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 4a28d5f..9f395ae 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -28,7 +28,7 @@ - +