|
@@ -131,7 +131,8 @@ export default {
|
|
|
|
|
|
keys.forEach((key, keyIndex) => {
|
|
keys.forEach((key, keyIndex) => {
|
|
pEle.tb.forEach((cEle, cIndex) => {
|
|
pEle.tb.forEach((cEle, cIndex) => {
|
|
- tb[keyIndex].value.push({ text: String(cIndex + 1), value: cEle[keys[keyIndex]] || 0 });
|
|
|
|
|
|
+ // debugger;
|
|
|
|
+ tb[keyIndex].value.push({ text: new Date(cEle.time).formatDate("hh:mm"), value: cEle[keys[keyIndex]] || 0 });
|
|
});
|
|
});
|
|
});
|
|
});
|
|
|
|
|
|
@@ -153,7 +154,7 @@ export default {
|
|
that.requestData(false);
|
|
that.requestData(false);
|
|
that.timmer = setInterval(() => {
|
|
that.timmer = setInterval(() => {
|
|
that.requestData(false);
|
|
that.requestData(false);
|
|
- }, that.$store.state.websocketTimeSec);
|
|
|
|
|
|
+ }, 10000);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
|