Browse Source

事件详情摄像头图标接口

qinhouyu 2 years ago
parent
commit
9fd9bbacc9
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/eventdetailsdialog.vue

+ 5 - 1
src/views/eventdetailsdialog.vue

@@ -1133,6 +1133,7 @@ import {
 import DHWs from '@/dahua/lib/DHWs'
 import { selectConfigKey } from "@/api/system/config";
 import Cookies from 'js-cookie';
+import request from "../utils/request";
 export default {
   dicts: ['task_source'],
   watch: {
@@ -1711,7 +1712,10 @@ console.log(this.dutysystemTableData)
       } else {
         //搜索物资
         let param = { longitude: this.longitude, latitude: this.latitude, 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 = []