Browse Source

Merge branch 'develop' of http://39.106.31.193:9211/mengff/jihe-hs into develop

wangqin
刘朋 10 months ago
parent
commit
087b0d90cb
  1. 23
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js
  2. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js
  3. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue

23
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/buttonEvent.js

@ -34,6 +34,29 @@ export const eventMap = {
// }; // };
const data = await getDeviceList(1); const data = await getDeviceList(1);
// const data = [
// {
// longitude: 116.268564,
// latitude: 35.73115,
// },
// {
// longitude: 116.258178,
// latitude: 35.720996,
// },
// {
// longitude: 116.255542,
// latitude: 35.717335,
// },
// {
// longitude: 116.252883,
// latitude: 35.713114,
// },
// {
// longitude: 116.249416,
// latitude: 35.707627,
// ptzCtrl: 0,
// },
// ];
if (!data) return; if (!data) return;

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js

@ -97,7 +97,7 @@ export async function setMarkerCluster(map, points, markerFun) {
* @param {*} _markerClick marker 点击 * @param {*} _markerClick marker 点击
* @returns * @returns
*/ */
export async function setMarkToMap(item, data, _markerClick) { export async function setMarkToMap(item, data, _markerClick, content) {
const { mapIns } = this.getMap(); const { mapIns } = this.getMap();
if (!mapIns) return Message.error("地图加载失败!"); if (!mapIns) return Message.error("地图加载失败!");

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue

@ -1,5 +1,5 @@
<template> <template>
<div class="bg" id="content" ref="ThumbnailRef"></div> <div class="bg" ref="ThumbnailRef"></div>
</template> </template>
<script> <script>

Loading…
Cancel
Save