使用008假数据

wp1.0
fanluyan 1 year ago
parent bbed91b05e
commit e5bf15f4a2

@ -372,8 +372,44 @@ export default {
} else { } else {
this.collectFlag = true; this.collectFlag = true;
} }
this.currentData = data; if (data.id == "13009") {
// this.scrollView(); // {
// "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); //currentDatavuex this.$store.commit("currentData", this.currentData); //currentDatavuex
this.$store.commit("termId", this.currentData.id); //currentDatavuex this.$store.commit("termId", this.currentData.id); //currentDatavuex
this.$store.commit("protocol", this.currentData.protocol); //currentDatavuex this.$store.commit("protocol", this.currentData.protocol); //currentDatavuex

Loading…
Cancel
Save