|
|
|
@ -208,6 +208,9 @@
|
|
|
|
|
<el-dropdown-item command="close">关闭GPS</el-dropdown-item>
|
|
|
|
|
</el-dropdown-menu>
|
|
|
|
|
</el-dropdown>
|
|
|
|
|
<el-button type="primary" @click="handlehistoryPic">
|
|
|
|
|
历史图片</el-button
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -284,6 +287,7 @@ export default {
|
|
|
|
|
zzstatus: "",
|
|
|
|
|
address: "",
|
|
|
|
|
towertitle: "",
|
|
|
|
|
CurrentData: "",
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
@ -367,6 +371,7 @@ export default {
|
|
|
|
|
this.address = this.lineTreeData[0].list[0].list[0].address;
|
|
|
|
|
this.cmdid = this.lineTreeData[0].list[0].list[0].cmdid;
|
|
|
|
|
this.zzstatus = this.lineTreeData[0].list[0].list[0].onlinestatus;
|
|
|
|
|
this.CurrentData = this.lineTreeData[0].list[0].list[0];
|
|
|
|
|
console.log(this.zzstatus);
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.$refs.tree.setCurrentKey(this.currentNodekey); //一定要加这个选中了否则样式没有出来
|
|
|
|
@ -393,6 +398,7 @@ export default {
|
|
|
|
|
this.address = data.address;
|
|
|
|
|
this.towertitle = data.name;
|
|
|
|
|
this.newTermId = data.id; //获取当前点击的id
|
|
|
|
|
this.CurrentData = data;
|
|
|
|
|
console.log(data);
|
|
|
|
|
this.channelValue = [];
|
|
|
|
|
this.channelOption = [];
|
|
|
|
@ -813,10 +819,13 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//历史图片
|
|
|
|
|
// handlehistoryPic() {
|
|
|
|
|
// this.$router.push({ path: "/realTimeSearch" });
|
|
|
|
|
// // sessionStorage.setItem("keyPath", " realTimeSearch");
|
|
|
|
|
// },
|
|
|
|
|
handlehistoryPic() {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
path: "/realTimeSearch",
|
|
|
|
|
query: { lineName: this.CurrentData },
|
|
|
|
|
});
|
|
|
|
|
// sessionStorage.setItem("keyPath", " realTimeSearch");
|
|
|
|
|
},
|
|
|
|
|
dragControllerDiv() {
|
|
|
|
|
var resize = document.getElementsByClassName("resize");
|
|
|
|
|
var left = document.getElementsByClassName("sideBar");
|
|
|
|
|