|
@@ -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 = []
|