大屏英文版代码
This commit is contained in:
197
package-lock.json
generated
197
package-lock.json
generated
@ -1445,6 +1445,21 @@
|
|||||||
"integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
|
"integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"color-convert": {
|
||||||
|
"version": "2.0.1",
|
||||||
|
"resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
|
||||||
|
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"color-name": "~1.1.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color-name": {
|
||||||
|
"version": "1.1.4",
|
||||||
|
"resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
|
||||||
|
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"emoji-regex": {
|
"emoji-regex": {
|
||||||
"version": "9.2.2",
|
"version": "9.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
|
||||||
@ -1462,6 +1477,40 @@
|
|||||||
"strip-ansi": "^7.0.1"
|
"strip-ansi": "^7.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"string-width-cjs": {
|
||||||
|
"version": "npm:string-width@4.2.3",
|
||||||
|
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
|
||||||
|
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"emoji-regex": "^8.0.0",
|
||||||
|
"is-fullwidth-code-point": "^3.0.0",
|
||||||
|
"strip-ansi": "^6.0.1"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"ansi-regex": {
|
||||||
|
"version": "5.0.1",
|
||||||
|
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
||||||
|
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"emoji-regex": {
|
||||||
|
"version": "8.0.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||||
|
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"strip-ansi": {
|
||||||
|
"version": "6.0.1",
|
||||||
|
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
||||||
|
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"ansi-regex": "^5.0.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"strip-ansi": {
|
"strip-ansi": {
|
||||||
"version": "7.1.0",
|
"version": "7.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
|
||||||
@ -1471,6 +1520,23 @@
|
|||||||
"ansi-regex": "^6.0.1"
|
"ansi-regex": "^6.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"strip-ansi-cjs": {
|
||||||
|
"version": "npm:strip-ansi@6.0.1",
|
||||||
|
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
||||||
|
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"ansi-regex": "^5.0.1"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"ansi-regex": {
|
||||||
|
"version": "5.0.1",
|
||||||
|
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
||||||
|
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"wrap-ansi": {
|
"wrap-ansi": {
|
||||||
"version": "8.1.0",
|
"version": "8.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
|
||||||
@ -1481,6 +1547,60 @@
|
|||||||
"string-width": "^5.0.1",
|
"string-width": "^5.0.1",
|
||||||
"strip-ansi": "^7.0.1"
|
"strip-ansi": "^7.0.1"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"wrap-ansi-cjs": {
|
||||||
|
"version": "npm:wrap-ansi@7.0.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
|
||||||
|
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"ansi-styles": "^4.0.0",
|
||||||
|
"string-width": "^4.1.0",
|
||||||
|
"strip-ansi": "^6.0.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"ansi-regex": {
|
||||||
|
"version": "5.0.1",
|
||||||
|
"resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
||||||
|
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"ansi-styles": {
|
||||||
|
"version": "4.3.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||||
|
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"color-convert": "^2.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"emoji-regex": {
|
||||||
|
"version": "8.0.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||||
|
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"string-width": {
|
||||||
|
"version": "4.2.3",
|
||||||
|
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
|
||||||
|
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"emoji-regex": "^8.0.0",
|
||||||
|
"is-fullwidth-code-point": "^3.0.0",
|
||||||
|
"strip-ansi": "^6.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"strip-ansi": {
|
||||||
|
"version": "6.0.1",
|
||||||
|
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
||||||
|
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"ansi-regex": "^5.0.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -18467,28 +18587,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"string-width-cjs": {
|
|
||||||
"version": "npm:string-width@4.2.3",
|
|
||||||
"resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
|
|
||||||
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"emoji-regex": "^8.0.0",
|
|
||||||
"is-fullwidth-code-point": "^3.0.0",
|
|
||||||
"strip-ansi": "^6.0.1"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"strip-ansi": {
|
|
||||||
"version": "6.0.1",
|
|
||||||
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
|
||||||
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"ansi-regex": "^5.0.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"string.prototype.trim": {
|
"string.prototype.trim": {
|
||||||
"version": "1.2.8",
|
"version": "1.2.8",
|
||||||
"resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz",
|
"resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz",
|
||||||
@ -18554,15 +18652,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz",
|
||||||
"integrity": "sha512-behete+3uqxecWlDAm5lmskaSaISA+ThQ4oNNBDTBJt0x2ppR6IPqfZNuj6BLaLJ/Sji4TPZlcRyOis8wXQTLg=="
|
"integrity": "sha512-behete+3uqxecWlDAm5lmskaSaISA+ThQ4oNNBDTBJt0x2ppR6IPqfZNuj6BLaLJ/Sji4TPZlcRyOis8wXQTLg=="
|
||||||
},
|
},
|
||||||
"strip-ansi-cjs": {
|
|
||||||
"version": "npm:strip-ansi@6.0.1",
|
|
||||||
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
|
||||||
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"ansi-regex": "^5.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"strip-bom": {
|
"strip-bom": {
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
|
||||||
@ -21089,52 +21178,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"wrap-ansi-cjs": {
|
|
||||||
"version": "npm:wrap-ansi@7.0.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
|
|
||||||
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"ansi-styles": "^4.0.0",
|
|
||||||
"string-width": "^4.1.0",
|
|
||||||
"strip-ansi": "^6.0.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"ansi-styles": {
|
|
||||||
"version": "4.3.0",
|
|
||||||
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
|
||||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"color-convert": "^2.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"color-convert": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
|
|
||||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"color-name": "~1.1.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"color-name": {
|
|
||||||
"version": "1.1.4",
|
|
||||||
"resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
|
|
||||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"strip-ansi": {
|
|
||||||
"version": "6.0.1",
|
|
||||||
"resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
|
||||||
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"ansi-regex": "^5.0.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"wrappy": {
|
"wrappy": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
||||||
|
|||||||
@ -205,7 +205,7 @@ export function moneyUnitFormat(num) {
|
|||||||
return 'RMB'
|
return 'RMB'
|
||||||
}
|
}
|
||||||
if (Number(num) >= 1E4) {
|
if (Number(num) >= 1E4) {
|
||||||
return 'M RMB'
|
return 'CNY10K'
|
||||||
}
|
}
|
||||||
return 'RMB'
|
return 'RMB'
|
||||||
} else {
|
} else {
|
||||||
@ -231,7 +231,7 @@ export function KgUnitFormat(num) {
|
|||||||
return 'kg'
|
return 'kg'
|
||||||
}
|
}
|
||||||
if (Number(num) >= 1E3) {
|
if (Number(num) >= 1E3) {
|
||||||
return 'T'
|
return 't'
|
||||||
}
|
}
|
||||||
return 'kg'
|
return 'kg'
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -9,19 +9,19 @@ export default {
|
|||||||
totalCharge: 'Total charge',
|
totalCharge: 'Total charge',
|
||||||
totalDisCharge: 'Total discharge',
|
totalDisCharge: 'Total discharge',
|
||||||
regionStation: 'Regional distribution of power stations',
|
regionStation: 'Regional distribution of power stations',
|
||||||
totalStation: 'Total Station',
|
totalStation: 'Total Stations',
|
||||||
noData: 'No Data',
|
noData: 'No Data',
|
||||||
energySaving: 'Energy Conservation',
|
energySaving: 'Energy Conservation',
|
||||||
planted: 'Equivalent tree plantings',
|
planted: 'Equivalent tree plantings',
|
||||||
co2: 'Equivalent CO2 reduction',
|
co2: 'Equivalent CO2 reduction',
|
||||||
coal: 'Equivalent coal savings',
|
coal: 'Equivalent coal savings',
|
||||||
income: 'Equivalent economic income',
|
income: 'Equivalent economic income',
|
||||||
tree: 'Tree',
|
tree: 'Trees',
|
||||||
yesEarning: "Yesterday's Earnings",
|
yesEarning: "Yesterday's Earnings",
|
||||||
annualEarning: 'Annual Income',
|
annualEarning: 'Annual Income',
|
||||||
totalEarning: 'Total Revenue',
|
totalEarning: 'Total Revenue',
|
||||||
groupEarning: 'Group Income',
|
groupEarning: 'Group Income',
|
||||||
mRMB: 'Million RMB',
|
mRMB: 'CNY10K',
|
||||||
high: 'High',
|
high: 'High',
|
||||||
low: 'Low',
|
low: 'Low',
|
||||||
comTime: 'Commission Time',
|
comTime: 'Commission Time',
|
||||||
@ -37,7 +37,8 @@ export default {
|
|||||||
stationName: 'Station Name',
|
stationName: 'Station Name',
|
||||||
cap: 'Capacity(kWh)',
|
cap: 'Capacity(kWh)',
|
||||||
Eff: 'Efficiency(%)',
|
Eff: 'Efficiency(%)',
|
||||||
groupData: 'Group Income',
|
groupData: 'Group statistics',
|
||||||
|
ztscreenTitle: 'Zetatech Smart energy storage management and control platform',
|
||||||
screenTitle: 'Smart energy storage management and control platform',
|
screenTitle: 'Smart energy storage management and control platform',
|
||||||
xjpScreenTitle: 'FAVFAM Microgrid Al Monitor Platform',
|
xjpScreenTitle: 'FAVFAM Microgrid Al Monitor Platform',
|
||||||
cncharge: 'Energy Storage power',
|
cncharge: 'Energy Storage power',
|
||||||
|
|||||||
@ -2,8 +2,8 @@ export default {
|
|||||||
screen: {
|
screen: {
|
||||||
capacity: '装机容量',
|
capacity: '装机容量',
|
||||||
stationNum: '电站个数',
|
stationNum: '电站个数',
|
||||||
dayCharge: '日充电量',
|
dailyCharge: '日充电量',
|
||||||
dayDisCharge: '日放电量',
|
dailyDischarge: '日放电量',
|
||||||
yearCharge: '年充电量',
|
yearCharge: '年充电量',
|
||||||
yearDisCharge: '年放电量',
|
yearDisCharge: '年放电量',
|
||||||
totalCharge: '总充电量',
|
totalCharge: '总充电量',
|
||||||
@ -38,6 +38,7 @@ export default {
|
|||||||
cap: '容量(kWh)',
|
cap: '容量(kWh)',
|
||||||
Eff: '转换效率(%)',
|
Eff: '转换效率(%)',
|
||||||
groupData: '集团数据',
|
groupData: '集团数据',
|
||||||
|
ztscreenTitle: '智慧储能管控平台',
|
||||||
screenTitle: '智慧储能管控平台',
|
screenTitle: '智慧储能管控平台',
|
||||||
xjpScreenTitle: '新加坡微电网平台',
|
xjpScreenTitle: '新加坡微电网平台',
|
||||||
cncharge: '储能发电量',
|
cncharge: '储能发电量',
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="center-bottom-warp">
|
<div class="center-bottom-warp">
|
||||||
<item :title="'日充放电对比'">
|
<item :title="$t('screen.chargeDischargeComparison')">
|
||||||
<dv-loading v-if="Loading">Loading...</dv-loading>
|
<dv-loading v-if="Loading">Loading...</dv-loading>
|
||||||
<Chart v-else :options="options" />
|
<Chart v-else :options="options" />
|
||||||
</item>
|
</item>
|
||||||
@ -20,6 +20,11 @@ export default {
|
|||||||
Loading: true
|
Loading: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
lang() {
|
||||||
|
return this.$store.getters.language
|
||||||
|
}
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -62,8 +67,8 @@ export default {
|
|||||||
right: 30,
|
right: 30,
|
||||||
itemWidth: 14,
|
itemWidth: 14,
|
||||||
data: [
|
data: [
|
||||||
{ icon: 'image://' + dayChargeIcon, name: '充电' },
|
{ icon: 'image://' + dayChargeIcon, name: this.$t('screen.charge') },
|
||||||
{ icon: 'image://' + dayDischargeIcon, name: '放电' }
|
{ icon: 'image://' + dayDischargeIcon, name: this.$t('screen.discharge') }
|
||||||
]
|
]
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -129,7 +134,7 @@ export default {
|
|||||||
|
|
||||||
// 柱体
|
// 柱体
|
||||||
{
|
{
|
||||||
name: '充电',
|
name: this.$t('screen.charge'),
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
|
|
||||||
barGap: '20%',
|
barGap: '20%',
|
||||||
@ -157,7 +162,7 @@ export default {
|
|||||||
data: dayCharge
|
data: dayCharge
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '放电',
|
name: this.$t('screen.discharge'),
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
barGap: '20%',
|
barGap: '20%',
|
||||||
barCategoryGap: '50%', /* 多个并排柱子设置柱子之间的间距*/
|
barCategoryGap: '50%', /* 多个并排柱子设置柱子之间的间距*/
|
||||||
@ -189,7 +194,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.options = {
|
this.options = {
|
||||||
title: {
|
title: {
|
||||||
text: '暂无数据',
|
text: this.$t('screen.noData'),
|
||||||
x: 'center',
|
x: 'center',
|
||||||
y: 'center',
|
y: 'center',
|
||||||
textStyle: {
|
textStyle: {
|
||||||
|
|||||||
@ -3,40 +3,40 @@
|
|||||||
<div class="income">
|
<div class="income">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<span class="square" />
|
<span class="square" />
|
||||||
<span>昨日收益</span>
|
<span>{{ $t('screen.yesEarning') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<template v-for="(item,index) in info.yestProfit">
|
<template v-for="(item,index) in info.yestProfit">
|
||||||
<div :key="index" class="number">{{ item }}</div>
|
<div :key="index" class="number">{{ item }}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<div class="unit">万元</div>
|
<div class="unit">{{ $t('screen.mRMB') }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="income">
|
<div class="income">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<span class="square" />
|
<span class="square" />
|
||||||
<span>年收益</span>
|
<span>{{ $t('screen.annualEarning') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<template v-for="(item,index) in info.yearProfit">
|
<template v-for="(item,index) in info.yearProfit">
|
||||||
<div :key="index" class="number">{{ item }}</div>
|
<div :key="index" class="number">{{ item }}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<div class="unit">万元</div>
|
<div class="unit">{{ $t('screen.mRMB') }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="income">
|
<div class="income">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<span class="square" />
|
<span class="square" />
|
||||||
<span>总收益</span>
|
<span>{{ $t('screen.totalEarning') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<template v-for="(item,index) in info.totalProfit">
|
<template v-for="(item,index) in info.totalProfit">
|
||||||
<div :key="index" class="number">{{ item }}</div>
|
<div :key="index" class="number">{{ item }}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<div class="unit">万元</div>
|
<div class="unit">{{ $t('screen.mRMB') }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,17 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="left-bottom-warp">
|
<div class="left-bottom-warp">
|
||||||
<item title="节能减排">
|
<item :title="$t('screen.energySaving')">
|
||||||
<dv-loading v-if="loading">Loading...</dv-loading>
|
<dv-loading v-if="loading">Loading...</dv-loading>
|
||||||
<div v-else class="top-all-box">
|
<div v-else class="top-all-box">
|
||||||
<div class="top-con-box">
|
<div class="top-con-box">
|
||||||
<div class="top-item-box">
|
<div class="top-item-box">
|
||||||
<div class="data">{{ info.treePlanting }}<span class="unit">棵</span></div>
|
<div class="data">{{ info.treePlanting }}<span class="unit">{{ $t('screen.tree') }}</span></div>
|
||||||
<div class="title">等效植树量</div>
|
<div class="title">{{ $t('screen.planted') }}</div>
|
||||||
<img :src="screenItemBg" class="item-bg-img">
|
<img :src="screenItemBg" class="item-bg-img">
|
||||||
</div>
|
</div>
|
||||||
<div class="top-item-box">
|
<div class="top-item-box">
|
||||||
<div class="data">{{ info.reductionCO2 | kgFormat }}<span class="unit">{{ info.reductionCO2 | KgUnitFormat }}</span></div>
|
<div class="data">{{ info.reductionCO2 | kgFormat }}<span class="unit">{{ info.reductionCO2 | KgUnitFormat }}</span></div>
|
||||||
<div class="title">等效CO2减排</div>
|
<div class="title">{{ $t('screen.co2') }}</div>
|
||||||
<img :src="screenItemBg" class="item-bg-img">
|
<img :src="screenItemBg" class="item-bg-img">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -19,12 +19,12 @@
|
|||||||
<div class="top-con-box">
|
<div class="top-con-box">
|
||||||
<div class="top-item-box">
|
<div class="top-item-box">
|
||||||
<div class="data">{{ info.equivalentCoal | kgFormat }}<span class="unit">{{ info.equivalentCoal | KgUnitFormat }}</span></div>
|
<div class="data">{{ info.equivalentCoal | kgFormat }}<span class="unit">{{ info.equivalentCoal | KgUnitFormat }}</span></div>
|
||||||
<div class="title">等效节约煤</div>
|
<div class="title">{{ $t('screen.coal') }}</div>
|
||||||
<img :src="screenItemBg" class="item-bg-img">
|
<img :src="screenItemBg" class="item-bg-img">
|
||||||
</div>
|
</div>
|
||||||
<div class="top-item-box">
|
<div class="top-item-box">
|
||||||
<div class="data">{{ info.income | moneyFormat }}<span class="unit">{{ info.income | moneyUnitFormat }}</span></div>
|
<div class="data">{{ info.income | moneyFormat }}<span class="unit">{{ info.income | moneyUnitFormat }}</span></div>
|
||||||
<div class="title">等效经济收入</div>
|
<div class="title">{{ $t('screen.income') }}</div>
|
||||||
<img :src="screenItemBg" class="item-bg-img">
|
<img :src="screenItemBg" class="item-bg-img">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -57,9 +57,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
async getData(deptId) {
|
async getData(deptId) {
|
||||||
try {
|
try {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="left-center-warp">
|
<div class="left-center-warp">
|
||||||
|
|
||||||
<item :title="'电站区域分布'">
|
<item :title="$t('screen.regionStation')">
|
||||||
<dv-loading v-if="loading">Loading...</dv-loading>
|
<dv-loading v-if="loading">Loading...</dv-loading>
|
||||||
<div v-else class="chart-box">
|
<div v-else class="chart-box">
|
||||||
<Chart :options="options" :class-name="'chart'" />
|
<Chart :options="options" :class-name="'chart'" />
|
||||||
@ -54,7 +54,7 @@ export default {
|
|||||||
const count = this.arrCount(ydata)
|
const count = this.arrCount(ydata)
|
||||||
this.options = {
|
this.options = {
|
||||||
title: [{
|
title: [{
|
||||||
text: '电站总数',
|
text: this.$t('screen.totalStation'),
|
||||||
subtext: count,
|
subtext: count,
|
||||||
|
|
||||||
subtextStyle: {
|
subtextStyle: {
|
||||||
|
|||||||
@ -1,46 +1,78 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="left-top-warp">
|
<div class="left-top-warp">
|
||||||
<item>
|
<item :title="$t('screen.groupData')">
|
||||||
<dv-loading v-if="loading">Loading...</dv-loading>
|
<dv-loading v-if="loading">Loading...</dv-loading>
|
||||||
<div v-else class="top-all-box">
|
<div v-else class="top-all-box">
|
||||||
<div class="value-box">
|
<div class="value-box">
|
||||||
<div class="title">装机容量</div>
|
<el-tooltip class="item" effect="dark" :content="$t('screen.capacity')" placement="top">
|
||||||
<div class="value">{{ info.capacity |kwhFormat }}</div>
|
<div class="title">{{ $t('screen.capacity') }}</div>
|
||||||
|
</el-tooltip>
|
||||||
|
<el-tooltip class="item" effect="dark" :content="info.capacity |kwhFormat" placement="top">
|
||||||
|
<div class="value">{{ info.capacity |kwhFormat }}</div>
|
||||||
|
</el-tooltip>
|
||||||
<div class="unit">{{ info.capacity | kwhUnitFormat }}</div>
|
<div class="unit">{{ info.capacity | kwhUnitFormat }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="value-box">
|
<div class="value-box">
|
||||||
<div class="title">电站个数</div>
|
<el-tooltip class="item" effect="dark" :content="$t('screen.stationNum')" placement="top">
|
||||||
<div class="value">{{ info.stationNumber }}</div>
|
<div class="title">{{ $t('screen.stationNum') }}</div>
|
||||||
<div class="unit">个</div>
|
</el-tooltip>
|
||||||
|
<el-tooltip class="item" effect="dark" :content="info.stationNumber" placement="top">
|
||||||
|
<div class="value">{{ info.stationNumber }}</div>
|
||||||
|
</el-tooltip>
|
||||||
|
<div class="unit">{{ lang === 'zh'? '个':'' }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="value-box">
|
<div class="value-box">
|
||||||
<div class="title">{{ $t('dashboard.dailyCharge') }}</div>
|
<el-tooltip class="item" effect="dark" :content="$t('screen.dailyCharge')" placement="top">
|
||||||
<div class="value">{{ info.dayCharge |kwhFormat }}</div>
|
<div class="title">{{ $t('screen.dailyCharge') }}</div>
|
||||||
|
</el-tooltip>
|
||||||
|
<el-tooltip class="item" effect="dark" :content="info.dayCharge |kwhFormat" placement="top">
|
||||||
|
<div class="value">{{ info.dayCharge |kwhFormat }}</div>
|
||||||
|
</el-tooltip>
|
||||||
<div class="unit">{{ info.dayCharge |kwhUnitFormat }}</div>
|
<div class="unit">{{ info.dayCharge |kwhUnitFormat }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="value-box">
|
<div class="value-box">
|
||||||
<div class="title">{{ $t('dashboard.dailyDischarge') }}</div>
|
<el-tooltip class="item" effect="dark" :content="$t('screen.dailyDischarge')" placement="top">
|
||||||
<div class="value">{{ info.dayDischarge |kwhFormat }}</div>
|
<div class="title">{{ $t('screen.dailyDischarge') }}</div>
|
||||||
|
</el-tooltip>
|
||||||
|
<el-tooltip class="item" effect="dark" :content="info.dayDischarge |kwhFormat" placement="top">
|
||||||
|
<div class="value">{{ info.dayDischarge |kwhFormat }}</div>
|
||||||
|
</el-tooltip>
|
||||||
<div class="unit">{{ info.dayDischarge |kwhUnitFormat }}</div>
|
<div class="unit">{{ info.dayDischarge |kwhUnitFormat }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="value-box">
|
<div class="value-box">
|
||||||
<div class="title">年充电量</div>
|
<el-tooltip class="item" effect="dark" :content="$t('screen.yearCharge')" placement="top">
|
||||||
<div class="value">{{ info.yearCharge |kwhFormat }}</div>
|
<div class="title">{{ $t('screen.yearCharge') }}</div>
|
||||||
|
</el-tooltip>
|
||||||
|
<el-tooltip class="item" effect="dark" :content="info.yearCharge |kwhFormat" placement="top">
|
||||||
|
<div class="value">{{ info.yearCharge |kwhFormat }}</div>
|
||||||
|
</el-tooltip>
|
||||||
<div class="unit">{{ info.yearCharge |kwhUnitFormat }}</div>
|
<div class="unit">{{ info.yearCharge |kwhUnitFormat }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="value-box">
|
<div class="value-box">
|
||||||
<div class="title">年放电量</div>
|
<el-tooltip class="item" effect="dark" :content="$t('screen.yearDisCharge')" placement="top">
|
||||||
<div class="value">{{ info.yearDischarge |kwhFormat }}</div>
|
<div class="title">{{ $t('screen.yearDisCharge') }}</div>
|
||||||
|
</el-tooltip>
|
||||||
|
<el-tooltip class="item" effect="dark" :content="info.yearDischarge |kwhFormat" placement="top">
|
||||||
|
<div class="value">{{ info.yearDischarge |kwhFormat }}</div>
|
||||||
|
</el-tooltip>
|
||||||
<div class="unit">{{ info.yearDischarge |kwhUnitFormat }}</div>
|
<div class="unit">{{ info.yearDischarge |kwhUnitFormat }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="value-box">
|
<div class="value-box">
|
||||||
<div class="title">总充电量</div>
|
<el-tooltip class="item" effect="dark" :content="$t('screen.totalCharge')" placement="top">
|
||||||
<div class="value">{{ info.totalCharge |kwhFormat }}</div>
|
<div class="title">{{ $t('screen.totalCharge') }}</div>
|
||||||
|
</el-tooltip>
|
||||||
|
<el-tooltip class="item" effect="dark" :content="info.totalCharge |kwhFormat" placement="top">
|
||||||
|
<div class="value">{{ info.totalCharge |kwhFormat }}</div>
|
||||||
|
</el-tooltip>
|
||||||
<div class="unit">{{ info.totalCharge |kwhUnitFormat }}</div>
|
<div class="unit">{{ info.totalCharge |kwhUnitFormat }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="value-box">
|
<div class="value-box">
|
||||||
<div class="title">{{ $t('dashboard.totalDischarge') }}</div>
|
<el-tooltip class="item" effect="dark" :content="$t('screen.totalDisCharge')" placement="top">
|
||||||
<div class="value">{{ info.totalDischarge |kwhFormat }}</div>
|
<div class="title">{{ $t('screen.totalDisCharge') }}</div>
|
||||||
|
</el-tooltip>
|
||||||
|
<el-tooltip class="item" effect="dark" :content="info.totalDischarge |kwhFormat" placement="top">
|
||||||
|
<div class="value">{{ info.totalDischarge |kwhFormat }}</div>
|
||||||
|
</el-tooltip>
|
||||||
<div class="unit">{{ info.totalDischarge |kwhUnitFormat }}</div>
|
<div class="unit">{{ info.totalDischarge |kwhUnitFormat }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -64,10 +96,14 @@ export default {
|
|||||||
loading: true
|
loading: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
lang() {
|
||||||
|
return this.$store.getters.language
|
||||||
|
}
|
||||||
|
},
|
||||||
watch: {
|
watch: {
|
||||||
info: {
|
info: {
|
||||||
handler(val) {
|
handler(val) {
|
||||||
console.log(1111, val)
|
|
||||||
if (val) {
|
if (val) {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} else {
|
} else {
|
||||||
@ -115,6 +151,10 @@ export default {
|
|||||||
|
|
||||||
.title{
|
.title{
|
||||||
color: rgba(179, 221, 253, 1);
|
color: rgba(179, 221, 253, 1);
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
min-width: 90px;
|
||||||
|
max-width: 90px;
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,8 +14,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import chinaMap from '@/assets/mapJson/chinaMap.json'
|
// import chinaMap from '@/assets/mapJson/chinaMap.json'
|
||||||
import { chinaMapOutline } from '@/assets/mapJson/chinaMapOut.js'
|
import worldJson from 'echarts/map/json/world.json'
|
||||||
|
// import { chinaMapOutline } from '@/assets/mapJson/chinaMapOut.js'
|
||||||
import blue from '../../../assets/new-screen/map-blue.png'
|
import blue from '../../../assets/new-screen/map-blue.png'
|
||||||
import { GetStationInfo, GetCapacity, GetRegionalDistribution } from '@/api/screen/zzScreen'
|
import { GetStationInfo, GetCapacity, GetRegionalDistribution } from '@/api/screen/zzScreen'
|
||||||
export default {
|
export default {
|
||||||
@ -95,15 +96,23 @@ export default {
|
|||||||
this.getInitMap()
|
this.getInitMap()
|
||||||
},
|
},
|
||||||
getInitMap() {
|
getInitMap() {
|
||||||
this.$echarts.registerMap('china', chinaMap)
|
this.$echarts.registerMap('world', worldJson)
|
||||||
this.$echarts.registerMap('chinaMapOutline', chinaMapOutline)
|
// this.$echarts.registerMap('china', chinaMap)
|
||||||
|
// this.$echarts.registerMap('chinaMapOutline', chinaMapOutline)
|
||||||
|
this.pointData = [
|
||||||
|
{ name: 'Beijing', value: [116.4074, 39.9042] }, // 北京
|
||||||
|
{ name: 'New York', value: [-74.0060, 40.7128] }, // 纽约
|
||||||
|
{ name: 'London', value: [-0.1278, 51.5074] } // 伦敦
|
||||||
|
]
|
||||||
var series = [
|
var series = [
|
||||||
{
|
{
|
||||||
map: 'china',
|
// map: 'china',
|
||||||
|
name: '国家',
|
||||||
|
map: 'world',
|
||||||
type: 'map',
|
type: 'map',
|
||||||
roam: false,
|
roam: false,
|
||||||
zoom: 1.65,
|
// zoom: 1.65,
|
||||||
|
zoom: 1.1,
|
||||||
label: {
|
label: {
|
||||||
normal: {
|
normal: {
|
||||||
show: false,
|
show: false,
|
||||||
@ -117,7 +126,8 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
top: '29%',
|
// top: '29%',
|
||||||
|
top: '10%',
|
||||||
tooltip: {
|
tooltip: {
|
||||||
show: false
|
show: false
|
||||||
},
|
},
|
||||||
@ -134,7 +144,8 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data: this.mapData
|
// data: this.mapData
|
||||||
|
data: [{ name: 'China', value: 100 }]
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -150,11 +161,10 @@ export default {
|
|||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
color: '#F4E925',
|
color: '#F4E925',
|
||||||
|
|
||||||
shadowColor: '#333'
|
shadowColor: '#333'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
symbolSize: 50,
|
symbolSize: 10,
|
||||||
data: [this.pointData[this.pointIndex]]
|
data: [this.pointData[this.pointIndex]]
|
||||||
|
|
||||||
// showEffectOn: 'render' // 加载完毕显示特效
|
// showEffectOn: 'render' // 加载完毕显示特效
|
||||||
@ -167,7 +177,7 @@ export default {
|
|||||||
max: Math.max(...this.stationNum),
|
max: Math.max(...this.stationNum),
|
||||||
right: 'right',
|
right: 'right',
|
||||||
top: 'bottom',
|
top: 'bottom',
|
||||||
text: ['高(电站个数)', '低(电站个数)'],
|
text: [this.$t('screen.high') + '(' + this.$t('screen.stationNum') + ')', this.$t('screen.low') + '(' + this.$t('screen.stationNum') + ')'],
|
||||||
calculable: true,
|
calculable: true,
|
||||||
inRange: {
|
inRange: {
|
||||||
// color: ['#5edfd6', '#37d4cf', '#14c9c9', '#0da5aa', '#07828b']
|
// color: ['#5edfd6', '#37d4cf', '#14c9c9', '#0da5aa', '#07828b']
|
||||||
@ -214,10 +224,11 @@ export default {
|
|||||||
geo: [
|
geo: [
|
||||||
{
|
{
|
||||||
silent: true,
|
silent: true,
|
||||||
map: 'chinaMapOutline',
|
// map: 'chinaMapOutline',
|
||||||
|
map: 'world',
|
||||||
|
|
||||||
zoom: 1.1,
|
zoom: 1.1,
|
||||||
top: '10%',
|
// top: '10%',
|
||||||
label: {
|
label: {
|
||||||
normal: {
|
normal: {
|
||||||
show: false,
|
show: false,
|
||||||
@ -255,8 +266,8 @@ export default {
|
|||||||
{
|
{
|
||||||
silent: true,
|
silent: true,
|
||||||
map: 'chinaMapOutline',
|
map: 'chinaMapOutline',
|
||||||
|
// zoom: 1.1,
|
||||||
zoom: 1.1,
|
zoom: 1.2,
|
||||||
top: '7%',
|
top: '7%',
|
||||||
label: {
|
label: {
|
||||||
normal: {
|
normal: {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="left-bottom-warp">
|
<div class="left-bottom-warp">
|
||||||
|
|
||||||
<item title="系统转换效率">
|
<item :title="$t('screen.sysEff')">
|
||||||
<dv-loading v-if="tableLoading">Loading...</dv-loading>
|
<dv-loading v-if="tableLoading">Loading...</dv-loading>
|
||||||
<div v-else class="con-box">
|
<div v-else class="con-box">
|
||||||
<SwiperTable
|
<SwiperTable
|
||||||
@ -27,9 +27,9 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
tableLoading: false,
|
tableLoading: false,
|
||||||
tableTitles: ['电站名称', '容量(kWh)', '转换效率(%)'],
|
tableTitles: [this.$t('screen.stationName'), this.$t('screen.cap'), this.$t('screen.Eff')],
|
||||||
tableData: [],
|
tableData: [],
|
||||||
widths: ['200', 'auto', 'auto', 'auto'],
|
widths: ['auto', 'auto', 'auto', 'auto'],
|
||||||
contentHeight: 200,
|
contentHeight: 200,
|
||||||
tableColumns: [
|
tableColumns: [
|
||||||
'stationName',
|
'stationName',
|
||||||
@ -66,5 +66,8 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.class1{
|
||||||
|
color: #F4E925;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="right-top-warp">
|
<div class="right-top-warp">
|
||||||
<item :title="'充放收益排名'">
|
<item :title="$t('screen.earningRanking')">
|
||||||
<dv-loading v-if="tableLoading">Loading...</dv-loading>
|
<dv-loading v-if="tableLoading">Loading...</dv-loading>
|
||||||
<div v-else class="con-box">
|
<div v-else class="con-box">
|
||||||
<SwiperTableCenter
|
<SwiperTableCenter
|
||||||
@ -47,7 +47,7 @@ export default {
|
|||||||
})
|
})
|
||||||
this.tableData = res.data
|
this.tableData = res.data
|
||||||
this.tableData.map((el) => {
|
this.tableData.map((el) => {
|
||||||
el.incomeValue = el.incomeValue + '万元'
|
el.incomeValue = el.incomeValue + ' ' + this.$t('screen.mRMB')
|
||||||
})
|
})
|
||||||
} finally {
|
} finally {
|
||||||
this.tableLoading = false
|
this.tableLoading = false
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="right-top-warp">
|
<div class="right-top-warp">
|
||||||
<item title="集团收益">
|
<item :title="$t('screen.groupEarning')">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="button-box">
|
<div class="button-box">
|
||||||
<el-tabs
|
<el-tabs
|
||||||
@ -8,9 +8,9 @@
|
|||||||
tab-position="top"
|
tab-position="top"
|
||||||
@tab-click="handleClick"
|
@tab-click="handleClick"
|
||||||
>
|
>
|
||||||
<el-tab-pane label="近30天" name="day" />
|
<el-tab-pane :label="$t('screen.daily30')" name="day" />
|
||||||
<el-tab-pane label="月度" name="month" />
|
<el-tab-pane :label="$t('screen.monthly')" name="month" />
|
||||||
<el-tab-pane label="年度" name="year" />
|
<el-tab-pane :label="$t('screen.yearly')" name="year" />
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
<div class="chart-box">
|
<div class="chart-box">
|
||||||
@ -108,7 +108,7 @@ export default {
|
|||||||
yAxis: [
|
yAxis: [
|
||||||
{
|
{
|
||||||
type: 'value',
|
type: 'value',
|
||||||
name: '万元',
|
name: this.$t('screen.mRMB'),
|
||||||
nameTextStyle: {
|
nameTextStyle: {
|
||||||
color: '#6E7174',
|
color: '#6E7174',
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
@ -137,7 +137,7 @@ export default {
|
|||||||
],
|
],
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
name: '收益',
|
name: this.$t('screen.earning'),
|
||||||
type: 'line',
|
type: 'line',
|
||||||
data: profit_data,
|
data: profit_data,
|
||||||
smooth: true,
|
smooth: true,
|
||||||
@ -176,7 +176,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.options = {
|
this.options = {
|
||||||
title: {
|
title: {
|
||||||
text: '暂无数据',
|
text: this.$t('screen.noData'),
|
||||||
x: 'center',
|
x: 'center',
|
||||||
y: 'center',
|
y: 'center',
|
||||||
textStyle: {
|
textStyle: {
|
||||||
|
|||||||
@ -7,16 +7,13 @@
|
|||||||
<div class="title_wrap">
|
<div class="title_wrap">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<span class="left-title" />
|
<span class="left-title" />
|
||||||
<span class="title-text">中自智慧储能管控平台</span>
|
<span :class="lang === 'zh'? 'title-text' : 'en-eitle-text'">{{ $t('screen.ztscreenTitle') }}</span>
|
||||||
<div class="right-title">
|
<div class="right-title">
|
||||||
<span>{{ time }}</span>
|
<span>{{ time }}</span>
|
||||||
<!-- <span class="weather">{{ weatherInfo ? weatherInfo.skyCon : '' }} {{ weatherInfo? weatherInfo.minTemperature :'' }}℃ ~ {{ weatherInfo ? weatherInfo.maxTemperature : '' }}℃</span> -->
|
<!-- <span class="weather">{{ weatherInfo ? weatherInfo.skyCon : '' }} {{ weatherInfo? weatherInfo.minTemperature :'' }}℃ ~ {{ weatherInfo ? weatherInfo.maxTemperature : '' }}℃</span> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="left-top">
|
<div class="left-top">
|
||||||
@ -97,6 +94,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
lang() {
|
||||||
|
return this.$store.getters.language
|
||||||
|
}
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
this.changeFavicon(`./zhongzi.ico`)
|
this.changeFavicon(`./zhongzi.ico`)
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
@ -349,7 +351,16 @@ $margin: 16px;
|
|||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.en-eitle-text{
|
||||||
|
font-size: 18px;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
font-weight: 900;
|
||||||
|
width: 100%;
|
||||||
|
background: linear-gradient(92deg, #fff, #fff 48.85254%, #fff);
|
||||||
|
font-family: PangMenNumber;
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
}
|
||||||
.title-text {
|
.title-text {
|
||||||
font-size: 38px;
|
font-size: 38px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
|
|||||||
@ -13,6 +13,7 @@ const leftBottomList = [
|
|||||||
]
|
]
|
||||||
const topCenterList = [
|
const topCenterList = [
|
||||||
{ label: '215kWh', value: 'topCenter_215' },
|
{ label: '215kWh', value: 'topCenter_215' },
|
||||||
|
{ label: '261光储', value: 'gunanjieTopCenter' },
|
||||||
{ label: '标准', value: 'commonTopCenter' },
|
{ label: '标准', value: 'commonTopCenter' },
|
||||||
{ label: '单柜配置', value: 'onceTopCenter' },
|
{ label: '单柜配置', value: 'onceTopCenter' },
|
||||||
{ label: '二合一', value: 'secondTopCenter' },
|
{ label: '二合一', value: 'secondTopCenter' },
|
||||||
|
|||||||
Reference in New Issue
Block a user