添加历史图片

hn2.0
fanluyan 2 years ago
parent ce94805059
commit 2dca3df002

@ -208,6 +208,9 @@
<el-dropdown-item command="close">关闭GPS</el-dropdown-item> <el-dropdown-item command="close">关闭GPS</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-button type="primary" @click="handlehistoryPic">
历史图片</el-button
>
</div> </div>
</div> </div>
</div> </div>
@ -284,6 +287,7 @@ export default {
zzstatus: "", zzstatus: "",
address: "", address: "",
towertitle: "", towertitle: "",
CurrentData: "",
}; };
}, },
watch: { watch: {
@ -367,6 +371,7 @@ export default {
this.address = this.lineTreeData[0].list[0].list[0].address; this.address = this.lineTreeData[0].list[0].list[0].address;
this.cmdid = this.lineTreeData[0].list[0].list[0].cmdid; this.cmdid = this.lineTreeData[0].list[0].list[0].cmdid;
this.zzstatus = this.lineTreeData[0].list[0].list[0].onlinestatus; this.zzstatus = this.lineTreeData[0].list[0].list[0].onlinestatus;
this.CurrentData = this.lineTreeData[0].list[0].list[0];
console.log(this.zzstatus); console.log(this.zzstatus);
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.tree.setCurrentKey(this.currentNodekey); // this.$refs.tree.setCurrentKey(this.currentNodekey); //
@ -393,6 +398,7 @@ export default {
this.address = data.address; this.address = data.address;
this.towertitle = data.name; this.towertitle = data.name;
this.newTermId = data.id; //id this.newTermId = data.id; //id
this.CurrentData = data;
console.log(data); console.log(data);
this.channelValue = []; this.channelValue = [];
this.channelOption = []; this.channelOption = [];
@ -813,10 +819,13 @@ export default {
}, },
// //
// handlehistoryPic() { handlehistoryPic() {
// this.$router.push({ path: "/realTimeSearch" }); this.$router.push({
// // sessionStorage.setItem("keyPath", " realTimeSearch"); path: "/realTimeSearch",
// }, query: { lineName: this.CurrentData },
});
// sessionStorage.setItem("keyPath", " realTimeSearch");
},
dragControllerDiv() { dragControllerDiv() {
var resize = document.getElementsByClassName("resize"); var resize = document.getElementsByClassName("resize");
var left = document.getElementsByClassName("sideBar"); var left = document.getElementsByClassName("sideBar");

@ -227,6 +227,18 @@ export default {
signtype: 0, //0 signtype: 0, //0
}; };
}, },
created() {
var that = this;
document.onkeydown = function (e) {
var key = window.event.keyCode;
if (key === 13) {
that.onSubmit(); //
}
};
console.log(this.$route.query);
// this.formdata.search = this.$route.query.name;
// console.log(this.formdata.search);
},
mounted() { mounted() {
// this.$set(this.formdata, "timeVal", [ // this.$set(this.formdata, "timeVal", [
// new Date(new Date().toLocaleDateString()).getTime(), // new Date(new Date().toLocaleDateString()).getTime(),

Loading…
Cancel
Save