Commit 03040d25 by chenjinjing

no message

parent 427d7ef9
No preview for this file type
...@@ -77,14 +77,17 @@ let guangfuData = { ...@@ -77,14 +77,17 @@ let guangfuData = {
{ {
key: "装机容量", key: "装机容量",
value: 46, value: 46,
unit: ""
}, },
{ {
key: "总发电量", key: "总发电量",
value: "61312.7", value: "61312.7",
unit: "KW"
}, },
{ {
key: "实时功率", key: "实时功率",
value: 13.800000190734863, value: 13.80,
unit: "KW"
}, },
], ],
xyfxfd: { xyfxfd: {
......
...@@ -142,7 +142,9 @@ export async function getGuangFu() { ...@@ -142,7 +142,9 @@ export async function getGuangFu() {
} }
for (let key in ssData) { for (let key in ssData) {
result.ztsj.push({key, value:ssData[key]}); let unit = "";
if(key != "装机容量") unit = "KW";
result.ztsj.push({key, value:ssData[key], unit});
} }
/**效益分析-发电 */ /**效益分析-发电 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment