|
@@ -181,6 +181,7 @@ export default {
|
|
|
};
|
|
|
apiGetallStationPower(params)
|
|
|
.then((res) => {
|
|
|
+ console.log(1122, res);
|
|
|
that.loading = false;
|
|
|
if (res && res.data) {
|
|
|
// that.tableData = res.data.power
|
|
@@ -191,7 +192,7 @@ export default {
|
|
|
time: iv.time,
|
|
|
};
|
|
|
iv.power.forEach((ic, idx) => {
|
|
|
- obj[obj.nameEn + (idx + 1)] = ic.toFixed(2);
|
|
|
+ obj[obj.nameEn + (idx + 1)] = ic > 0 ? ic.toFixed(2) : "/";
|
|
|
});
|
|
|
that.tableData.push(obj);
|
|
|
});
|