|
|
|
@ -372,7 +372,43 @@ export default {
|
|
|
|
|
} else {
|
|
|
|
|
this.collectFlag = true;
|
|
|
|
|
}
|
|
|
|
|
if (data.id == "13009") {
|
|
|
|
|
// {
|
|
|
|
|
// "id": 13009,
|
|
|
|
|
// "towerid": 3980,
|
|
|
|
|
// "cmdid": "XYIGQ10C231000008",
|
|
|
|
|
// "equipname": "",
|
|
|
|
|
// "name": "XYIGQ10C231000008",
|
|
|
|
|
// "address": null,
|
|
|
|
|
// "protocol": 65285,
|
|
|
|
|
// "displayname": null,
|
|
|
|
|
// "model": null,
|
|
|
|
|
// "onlinestatus": 1,
|
|
|
|
|
// "hasPan": 0,
|
|
|
|
|
// "phase": "",
|
|
|
|
|
// "equipmentType": "",
|
|
|
|
|
// "isfavor": 0
|
|
|
|
|
// }
|
|
|
|
|
this.currentData = {
|
|
|
|
|
id: 13276,
|
|
|
|
|
towerid: 3981,
|
|
|
|
|
cmdid: "XYIGQ10C231000008",
|
|
|
|
|
equipname: "",
|
|
|
|
|
name: "XYIGQ10C231000008",
|
|
|
|
|
address: null,
|
|
|
|
|
protocol: 65285,
|
|
|
|
|
displayname: null,
|
|
|
|
|
model: null,
|
|
|
|
|
onlinestatus: 1,
|
|
|
|
|
hasPan: 0,
|
|
|
|
|
phase: "",
|
|
|
|
|
equipmentType: "",
|
|
|
|
|
isfavor: 0,
|
|
|
|
|
};
|
|
|
|
|
} else {
|
|
|
|
|
this.currentData = data;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//this.scrollView();
|
|
|
|
|
this.$store.commit("currentData", this.currentData); //将currentData保存在vuex中
|
|
|
|
|
this.$store.commit("termId", this.currentData.id); //将currentData保存在vuex中
|
|
|
|
|