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