|
|
|
@ -84,16 +84,11 @@ export default {
|
|
|
|
|
heartBeatList: [],
|
|
|
|
|
paginationConfig: {
|
|
|
|
|
texts: {
|
|
|
|
|
count:`${this.$t("Showing {from} to {to} of {count} records")}|{count} ${this.$t("records")}|${this.$t("One record")}`,
|
|
|
|
|
first:this.$t("First"),
|
|
|
|
|
last:this.$t("Last"),
|
|
|
|
|
nextPage:'>',
|
|
|
|
|
nextChunk:'>>',
|
|
|
|
|
prevPage:'<',
|
|
|
|
|
prevChunk:'<<'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
count: "",
|
|
|
|
|
},
|
|
|
|
|
chunksNavigation: "scroll",
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
stats() {
|
|
|
|
@ -106,7 +101,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
for (let monitorID in this.$root.monitorList) {
|
|
|
|
|
let beat = this.$root.lastHeartbeatList[monitorID];
|
|
|
|
|
let monitor = this.$root.monitorList[monitorID]
|
|
|
|
|
let monitor = this.$root.monitorList[monitorID];
|
|
|
|
|
|
|
|
|
|
if (monitor && ! monitor.active) {
|
|
|
|
|
result.pause++;
|
|
|
|
@ -132,7 +127,7 @@ export default {
|
|
|
|
|
let result = [];
|
|
|
|
|
|
|
|
|
|
for (let monitorID in this.$root.importantHeartbeatList) {
|
|
|
|
|
let list = this.$root.importantHeartbeatList[monitorID]
|
|
|
|
|
let list = this.$root.importantHeartbeatList[monitorID];
|
|
|
|
|
result = result.concat(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -140,7 +135,7 @@ export default {
|
|
|
|
|
let monitor = this.$root.monitorList[beat.monitorID];
|
|
|
|
|
|
|
|
|
|
if (monitor) {
|
|
|
|
|
beat.name = monitor.name
|
|
|
|
|
beat.name = monitor.name;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -167,7 +162,7 @@ export default {
|
|
|
|
|
return this.heartBeatList.slice(startIndex, endIndex);
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|