|
@@ -2069,6 +2069,8 @@ import findUserByDept from "@/views/findUserByDept"; //责任人选择弹框
|
|
import leftRightSwiperScroll from "@/components/leftRightSwiperScroll.vue"; //事件中心底部资源内容溢出组件
|
|
import leftRightSwiperScroll from "@/components/leftRightSwiperScroll.vue"; //事件中心底部资源内容溢出组件
|
|
import "animate.css"; //动画库
|
|
import "animate.css"; //动画库
|
|
import { getIconBg } from "@/api/components/sookaMapIcon"; //资源底色控制文件
|
|
import { getIconBg } from "@/api/components/sookaMapIcon"; //资源底色控制文件
|
|
|
|
+import request from "@/utils/request";
|
|
|
|
+
|
|
import {
|
|
import {
|
|
fireControlViewPoint,
|
|
fireControlViewPoint,
|
|
fireControlViewList,
|
|
fireControlViewList,
|
|
@@ -2817,7 +2819,14 @@ export default {
|
|
type: type,
|
|
type: type,
|
|
radius: this.radius,
|
|
radius: this.radius,
|
|
};
|
|
};
|
|
- listResourceByWz(param).then((res) => {
|
|
|
|
|
|
+ // 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.$message.warning("设定范围内无该资源信息!")
|
|
|
|
+ }
|
|
if (res.data != null && res.data.length > 0) {
|
|
if (res.data != null && res.data.length > 0) {
|
|
this.resourcesListCheck.push(type);
|
|
this.resourcesListCheck.push(type);
|
|
var markersList = [];
|
|
var markersList = [];
|