|
@@ -78,7 +78,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 地图 -->
|
|
|
- <supermap ref="supermap" style="width: 100%;height: 100vh;" @preview="preview">
|
|
|
+ <supermap ref="supermap" style="width: 100%;height: 100vh;" @preview="preview" @jump="jump">
|
|
|
</supermap>
|
|
|
<!-- 右侧 -->
|
|
|
<div class="rightbar" :class="indentright" ref="right">
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
this.getTreeselect()
|
|
|
this.deptId = Cookies.get("deptId")
|
|
|
this.chuanSet()
|
|
|
- this.getMonitorDeviceAndDataList()
|
|
|
+ this.getMonitorDeviceAndDataLists()
|
|
|
this.getDlblistBydeptIds()
|
|
|
this.selectDeviceType(-1)
|
|
|
// this.showTVWall();
|
|
@@ -288,6 +288,9 @@ import {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ jump() { // 跳转大喇叭页面
|
|
|
+ window.open("https://sts.sty1818.com");
|
|
|
+ },
|
|
|
// setcgqValue: function() {
|
|
|
// let that = this
|
|
|
// for (let i = 0; i < that.visuForestCloudCameraBOListSearch.length; i++) {
|
|
@@ -411,6 +414,9 @@ import {
|
|
|
this.getDlblistBydeptId()
|
|
|
},
|
|
|
chuanClick() {
|
|
|
+ this.onLa = false
|
|
|
+ this.onShe = false
|
|
|
+ this.onChuan = true
|
|
|
this.localMark = 'chuan'
|
|
|
this.placeholderMsg = "请输入传感器名称"
|
|
|
this.getMonitorDeviceAndDataList()
|
|
@@ -424,6 +430,13 @@ import {
|
|
|
|
|
|
}, 300000)
|
|
|
},
|
|
|
+ //传感器2
|
|
|
+ getMonitorDeviceAndDataLists() {
|
|
|
+ let that = this
|
|
|
+ getMonitorDeviceAndDataList(this.deptId).then((res) => {
|
|
|
+ that.sensorNum = res.data.length
|
|
|
+ })
|
|
|
+ },
|
|
|
// 大喇叭
|
|
|
getDlblistBydeptId() {
|
|
|
let that = this;
|
|
@@ -446,7 +459,7 @@ import {
|
|
|
lat: 43.02,
|
|
|
icon: "marker",
|
|
|
bindPopupHtml: "",
|
|
|
- click: "",
|
|
|
+ click: "jump",
|
|
|
parameter: "",
|
|
|
name: "",
|
|
|
keepBindPopup: false,
|
|
@@ -492,7 +505,7 @@ import {
|
|
|
getMonitorDeviceAndDataList(this.deptId).then((res)=> {
|
|
|
this.visuForestCloudCameraBOListSearch = []
|
|
|
list = res.data
|
|
|
- this.sensorNum=list.length
|
|
|
+ // this.sensorNum=list.length
|
|
|
list.forEach(item => {
|
|
|
let dat = {
|
|
|
cameraName: item.deviceName,
|