|
@@ -435,7 +435,6 @@
|
|
|
// this.getNotCoverPlaces(this.deptId);
|
|
|
},
|
|
|
laClick() {
|
|
|
- this.$refs.supermap.clearG();
|
|
|
this.onLa = true;
|
|
|
this.onShe = false;
|
|
|
this.onChuan = false;
|
|
@@ -453,13 +452,12 @@
|
|
|
this.placeholderMsg = "请输入传感器名称"
|
|
|
this.deptId = Cookies.get("deptId")
|
|
|
this.getMonitorDeviceAndDataList(null)
|
|
|
- this.$refs.supermap.clearG();
|
|
|
},
|
|
|
// 云广播
|
|
|
getDlblistBydeptId(deptId) {
|
|
|
let that = this;
|
|
|
let markersList = [];
|
|
|
- getDlblistBydeptId(deptId).then(function(res) {
|
|
|
+ getDlblistBydeptId(that.deptId).then(function(res) {
|
|
|
that.loudspeakerNum = res.data.length
|
|
|
that.visuForestCloudCameraBOListSearch = []
|
|
|
that.tempList = []
|
|
@@ -570,7 +568,7 @@
|
|
|
getMonitorDeviceAndDataList(deptId) {
|
|
|
let list = []
|
|
|
let markersList = [];
|
|
|
- getMonitorDeviceAndDataList(deptId).then((res) => {
|
|
|
+ getMonitorDeviceAndDataList(this.deptId).then((res) => {
|
|
|
this.visuForestCloudCameraBOListSearch = []
|
|
|
this.tempList = []
|
|
|
list = res.data
|
|
@@ -1275,7 +1273,7 @@
|
|
|
selectDeviceType() {
|
|
|
//获取左侧动态感知设备
|
|
|
let that = this
|
|
|
- selectDeviceType().then(res => {
|
|
|
+ selectDeviceType(that.deptId).then(res => {
|
|
|
that.cameraMarkersList = []
|
|
|
that.tempList = []
|
|
|
that.visuForestCloudMapDeviceBOList = res.data.visuForestCloudMapDeviceBOList
|