代码提交
This commit is contained in:
parent
a91b9ad5ae
commit
63ea2b14b2
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -366,10 +366,19 @@ export default {
|
||||||
this.equipmentName = "箱变";
|
this.equipmentName = "箱变";
|
||||||
}
|
}
|
||||||
this.getDeviceData();
|
this.getDeviceData();
|
||||||
|
|
||||||
|
if (this.ringMainUnit!='金盾FH9环网柜') {
|
||||||
window.setTimeout(() => {
|
window.setTimeout(() => {
|
||||||
let tab = { index: 0, name: "interval1" };
|
let tab = { index: 0, name: "interval1" };
|
||||||
this.intervalClick(tab);
|
this.intervalClick(tab);
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
}else{
|
||||||
|
window.setTimeout(() => {
|
||||||
|
let tab = { index: 1, name: "interval2" };
|
||||||
|
this.intervalClick(tab);
|
||||||
|
}, 1000);
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
// beforeDestroy() {
|
// beforeDestroy() {
|
||||||
// this.webRtcServer.disconnect();
|
// this.webRtcServer.disconnect();
|
||||||
|
@ -412,14 +421,14 @@ export default {
|
||||||
});
|
});
|
||||||
this.tableColumns = Object.keys(units).map((x, y) => {
|
this.tableColumns = Object.keys(units).map((x, y) => {
|
||||||
let heardName = [];
|
let heardName = [];
|
||||||
heardName.push((heardName = "间隔" + (y + 1)));
|
heardName.push((heardName = "间隔" + units[x].name.substring(0,1)));
|
||||||
return { name: heardName, key: "interval" + (y + 1) };
|
return { name: heardName, key: "interval" + units[x].name.substring(0,1) };
|
||||||
});
|
});
|
||||||
this.totalInterval = this.tableColumns.length;
|
this.totalInterval = this.tableColumns.length;
|
||||||
this.echartsTab = Object.keys(units).map((x, y) => {
|
this.echartsTab = Object.keys(units).map((x, y) => {
|
||||||
let heardName = [];
|
let heardName = [];
|
||||||
heardName.push((heardName = "间隔" + (y + 1) + "局放数据"));
|
heardName.push((heardName = "间隔" + units[x].name.substring(0,1) + "局放数据"));
|
||||||
return { name: heardName, key: "interval" + (y + 1) };
|
return { name: heardName, key: "interval" + units[x].name.substring(0,1) };
|
||||||
});
|
});
|
||||||
let temperatureChildDataA = [];
|
let temperatureChildDataA = [];
|
||||||
let temperatureChildDataB = [];
|
let temperatureChildDataB = [];
|
||||||
|
@ -697,13 +706,15 @@ export default {
|
||||||
// this.$emit("closeStatus", this.closeStatus)
|
// this.$emit("closeStatus", this.closeStatus)
|
||||||
this.rtsp = "";
|
this.rtsp = "";
|
||||||
this.rtsp1 = "";
|
this.rtsp1 = "";
|
||||||
|
if (this.JSMpeg != null) {
|
||||||
this.closeJSMpeg();
|
this.closeJSMpeg();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//图
|
//图
|
||||||
intervalShow(InintervalData) {
|
intervalShow(InintervalData) {
|
||||||
let num = [];
|
let num = [];
|
||||||
let time = [];
|
let time = [];
|
||||||
if (InintervalData != null) {
|
if (InintervalData != null && InintervalData!= []) {
|
||||||
for (const i in InintervalData[0].hour_data) {
|
for (const i in InintervalData[0].hour_data) {
|
||||||
num.push(InintervalData[0].hour_data[i]);
|
num.push(InintervalData[0].hour_data[i]);
|
||||||
time.push(i);
|
time.push(i);
|
||||||
|
@ -923,7 +934,6 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-content: space-between;
|
align-content: space-between;
|
||||||
overflow: auto;
|
|
||||||
.top {
|
.top {
|
||||||
height: 4%;
|
height: 4%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Loading…
Reference in New Issue