|
@@ -408,7 +408,7 @@ export default {
|
|
|
//that.getSensorListByDeptId()
|
|
|
that.getMonitorDeviceAndDataList()
|
|
|
} else if (that.localMark == 'la') {
|
|
|
- that.getDlblistBydeptId()
|
|
|
+ that.getDlblistBydeptId(that.deptId)
|
|
|
}
|
|
|
},
|
|
|
sheClick() {
|
|
@@ -431,7 +431,7 @@ export default {
|
|
|
this.placeholderMsg = "请输入云广播名称";
|
|
|
this.deptId = Cookies.get("deptId");
|
|
|
clearInterval(this.cgqTimer);
|
|
|
- this.getDlblistBydeptId();
|
|
|
+ this.getDlblistBydeptId(null);
|
|
|
},
|
|
|
chuanClick() {
|
|
|
this.onLa = false
|
|
@@ -444,10 +444,10 @@ export default {
|
|
|
this.$refs.supermap.clearG();
|
|
|
},
|
|
|
// 云广播
|
|
|
- getDlblistBydeptId() {
|
|
|
+ getDlblistBydeptId(deptId) {
|
|
|
let that = this;
|
|
|
let markersList = [];
|
|
|
- getDlblistBydeptId(that.deptId).then(function (res) {
|
|
|
+ getDlblistBydeptId(deptId).then(function (res) {
|
|
|
that.loudspeakerNum = res.data.length
|
|
|
that.visuForestCloudCameraBOListSearch = []
|
|
|
if (res.data != null && res.data.length > 0) {
|
|
@@ -533,7 +533,7 @@ export default {
|
|
|
getDlblistBydeptIds() {
|
|
|
let that = this;
|
|
|
|
|
|
- getDlblistBydeptId(that.deptId).then(function (res) {
|
|
|
+ getDlblistBydeptId(null).then(function (res) {
|
|
|
that.loudspeakerNum = res.data.length
|
|
|
})
|
|
|
.catch(function (error) {
|