浏览代码

气泡隐藏,摄像头接口调整

qinhouyu 1 年之前
父节点
当前提交
80a897faa5
共有 3 个文件被更改,包括 11 次插入2 次删除
  1. 1 0
      src/components/supermap-2.5d.vue
  2. 5 1
      src/views/eventdetailsdialog.vue
  3. 5 1
      src/views/firespread.vue

+ 1 - 0
src/components/supermap-2.5d.vue

@@ -777,6 +777,7 @@
         });
       },
       openTvwall(){
+        this.mapshow=false
         this.$emit('fatherMethod', this.dianshiqiang, this.longitude, this.latitude, this.userList);
       },
       /**

+ 5 - 1
src/views/eventdetailsdialog.vue

@@ -1097,6 +1097,7 @@ import {
   selectConfigKey
 } from "@/api/system/config";
 import Cookies from 'js-cookie';
+import request from "../utils/request";
 export default {
   dicts: ['task_source'],
   watch: {
@@ -1701,7 +1702,10 @@ export default {
           type: type,
           radius: this.radius
         }
-        listResourceByWz(param).then(res => {
+        request({
+          url: `/center-monitor/camera/findNearbyCameras/${param.longitude}/${param.latitude}/${param.radius}`,
+          method: 'get'
+        }).then(res => {
           if (res.data != null && res.data.length > 0) {
             this.resourcesListCheck.push(type)
             var markersList = []

+ 5 - 1
src/views/firespread.vue

@@ -1734,6 +1734,7 @@ import {
   joinConferences
 } from "@/api/meeting";
 import findUserByDept from '@/views/findUserByDept' //责任人选择弹框
+import request from "../utils/request";
 export default {
   dicts: ['task_source'],
   watch: {
@@ -2353,7 +2354,10 @@ export default {
           type: type,
           radius: this.radius
         }
-        listResourceByWz(param).then(res => {
+        request({
+          url: `/center-monitor/camera/findNearbyCameras/${param.longitude}/${param.latitude}/${param.radius}`,
+          method: 'get'
+        }).then(res => {
           if (res.data != null && res.data.length > 0) {
             this.resourcesListCheck.push(type)
             var markersList = []