Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zjntServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
zjntServer
Commits
b6159bb7
Commit
b6159bb7
authored
Feb 18, 2025
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ba0dcb64
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
51 deletions
+51
-51
zjny.xlsx
res/zjny.xlsx
+0
-0
光伏.xlsx
res/光伏.xlsx
+0
-0
getData.ts
src/biz/getData.ts
+51
-48
hjszzl.ts
src/biz/hjszzl.ts
+0
-3
No files found.
res/zjny.xlsx
View file @
b6159bb7
No preview for this file type
res/光伏.xlsx
View file @
b6159bb7
No preview for this file type
src/biz/getData.ts
View file @
b6159bb7
...
@@ -13,20 +13,23 @@ let guangfuData = {
...
@@ -13,20 +13,23 @@ let guangfuData = {
{
{
key
:
"安全运行天数"
,
key
:
"安全运行天数"
,
value
:
62
,
value
:
62
,
unit
:
"天"
},
},
{
{
key
:
"组件总功率"
,
key
:
"组件总功率"
,
value
:
0
,
value
:
1024
,
unit
:
"kWp"
},
},
{
{
key
:
"设备总数"
,
key
:
"设备总数"
,
value
:
0
,
value
:
23
,
unit
:
"台"
},
},
],
],
nhfx
:
{
nhfx
:
{
count
:
[
count
:
[
{
key
:
'年用电量'
,
value
:
'85693.7'
},
{
key
:
'年用电量'
,
value
:
'85693.7'
,
unit
:
"kwp"
},
{
key
:
'光伏发电量'
,
value
:
'85872.1'
}
{
key
:
'光伏发电量'
,
value
:
'85872.1'
,
unit
:
"kwp"
}
],
],
charData
:
[
charData
:
[
{
key
:
2019
,
value
:
0
},
{
key
:
2019
,
value
:
0
},
...
@@ -39,27 +42,27 @@ let guangfuData = {
...
@@ -39,27 +42,27 @@ let guangfuData = {
],
],
dayData
:
[
dayData
:
[
{
key
:
'05:00'
,
value
:
0
},
{
key
:
'05:00'
,
value
:
0
},
{
key
:
'06:00'
,
value
:
74494.85
272216797
},
{
key
:
'06:00'
,
value
:
74494.85
},
{
key
:
'07:00'
,
value
:
1274767.62
890625
},
{
key
:
'07:00'
,
value
:
1274767.62
},
{
key
:
'08:00'
,
value
:
3469207.81
25
},
{
key
:
'08:00'
,
value
:
3469207.81
},
{
key
:
'09:00'
,
value
:
5133055.46
875
},
{
key
:
'09:00'
,
value
:
5133055.46
},
{
key
:
'10:00'
,
value
:
6363192.78
125
},
{
key
:
'10:00'
,
value
:
6363192.78
},
],
],
},
},
trsy
:
{
trsy
:
{
count
:
[
count
:
[
{
key
:
'光伏投入成本'
,
value
:
'
123'
},
{
key
:
'光伏投入成本'
,
value
:
'
307'
,
unit
:
"万"
},
{
key
:
'运维成本'
,
value
:
'
123'
},
{
key
:
'运维成本'
,
value
:
'
5'
,
unit
:
"万/年"
},
{
key
:
'发电量'
,
value
:
'85872.1'
},
{
key
:
'发电量'
,
value
:
'85872.1'
,
unit
:
"kwh"
},
{
key
:
'发电时长'
,
value
:
1473.64
91358333333
},
{
key
:
'发电时长'
,
value
:
1473.64
,
unit
:
"h"
},
],
],
charData
:
[
charData
:
[
{
key
:
'20
16'
,
value
:
'518
'
},
{
key
:
'20
20'
,
value
:
'0
'
},
{
key
:
'20
17'
,
value
:
'733
'
},
{
key
:
'20
21'
,
value
:
'0
'
},
{
key
:
'20
18'
,
value
:
'116
'
},
{
key
:
'20
22'
,
value
:
'0
'
},
{
key
:
'20
19'
,
value
:
'634
'
},
{
key
:
'20
23'
,
value
:
'0
'
},
{
key
:
'202
0'
,
value
:
'116
'
},
{
key
:
'202
4'
,
value
:
'0
'
},
{
key
:
'202
1'
,
value
:
'634'
}
{
key
:
'202
5'
,
value
:
'237'
},
],
],
},
},
ztsj
:
[
ztsj
:
[
...
@@ -75,26 +78,26 @@ let guangfuData = {
...
@@ -75,26 +78,26 @@ let guangfuData = {
},
},
{
{
key
:
"实时功率"
,
key
:
"实时功率"
,
value
:
5.80
0000171661377
,
value
:
5.80
,
unit
:
"KW"
,
unit
:
"KW"
,
},
},
],
],
xyfxfd
:
{
xyfxfd
:
{
count
:
[
count
:
[
{
key
:
'今日发电'
,
value
:
'3773.4'
},
{
key
:
'今日发电'
,
value
:
'3773.4'
,
unit
:
"kwh"
},
{
key
:
'日功率'
,
value
:
4
4926325.05975342
},
{
key
:
'日功率'
,
value
:
4
.49
,
unit
:
"kw"
},
{
key
:
'当前功率'
,
value
:
2.56
9999933242798
},
{
key
:
'当前功率'
,
value
:
2.56
,
unit
:
"kw"
},
{
key
:
'等效小时数'
,
value
:
0
},
{
key
:
'等效小时数'
,
value
:
0
,
unit
:
"h"
},
],
],
chartData
:
[
chartData
:
[
{
key
:
'
2025-
02-11'
,
value
:
'1167.9'
},
{
key
:
'02-11'
,
value
:
'1167.9'
},
{
key
:
'
2025-
02-12'
,
value
:
'687.5'
},
{
key
:
'02-12'
,
value
:
'687.5'
},
{
key
:
'
2025-
02-13'
,
value
:
'3749.7'
},
{
key
:
'02-13'
,
value
:
'3749.7'
},
{
key
:
'
2025-
02-14'
,
value
:
'1060.7'
},
{
key
:
'02-14'
,
value
:
'1060.7'
},
{
key
:
'
2025-
02-15'
,
value
:
'364.8'
},
{
key
:
'02-15'
,
value
:
'364.8'
},
{
key
:
'
2025-
02-16'
,
value
:
'3257.1'
},
{
key
:
'02-16'
,
value
:
'3257.1'
},
{
key
:
'
2025-
02-17'
,
value
:
'2940.3'
},
{
key
:
'02-17'
,
value
:
'2940.3'
},
{
key
:
'
2025-
02-18'
,
value
:
'3773.6'
},
{
key
:
'02-18'
,
value
:
'3773.6'
},
],
],
},
},
xyfx
:
{
xyfx
:
{
...
@@ -105,24 +108,24 @@ let guangfuData = {
...
@@ -105,24 +108,24 @@ let guangfuData = {
],
],
chartData
:
{
chartData
:
{
"今年"
:
[
"今年"
:
[
{
key
:
'
2025-
02-11'
,
value
:
700.74
},
{
key
:
'02-11'
,
value
:
700.74
},
{
key
:
'
2025-
02-12'
,
value
:
412.5
},
{
key
:
'02-12'
,
value
:
412.5
},
{
key
:
'
2025-02-13'
,
value
:
2249.8199999999997
},
{
key
:
'
02-13'
,
value
:
2249.81
},
{
key
:
'
2025-
02-14'
,
value
:
636.42
},
{
key
:
'02-14'
,
value
:
636.42
},
{
key
:
'
2025-
02-15'
,
value
:
218.88
},
{
key
:
'02-15'
,
value
:
218.88
},
{
key
:
'
2025-02-16'
,
value
:
1954.2599999999998
},
{
key
:
'
02-16'
,
value
:
1954.25
},
{
key
:
'
2025-
02-17'
,
value
:
1764.18
},
{
key
:
'02-17'
,
value
:
1764.18
},
{
key
:
'
2025-
02-18'
,
value
:
2264.16
},
{
key
:
'02-18'
,
value
:
2264.16
},
],
],
"去年"
:
[
"去年"
:
[
{
key
:
'
2024-
02-11'
,
value
:
0
},
{
key
:
'02-11'
,
value
:
0
},
{
key
:
'
2024-
02-12'
,
value
:
0
},
{
key
:
'02-12'
,
value
:
0
},
{
key
:
'
2024-
02-13'
,
value
:
0
},
{
key
:
'02-13'
,
value
:
0
},
{
key
:
'
2024-
02-14'
,
value
:
0
},
{
key
:
'02-14'
,
value
:
0
},
{
key
:
'
2024-
02-15'
,
value
:
0
},
{
key
:
'02-15'
,
value
:
0
},
{
key
:
'
2024-
02-16'
,
value
:
0
},
{
key
:
'02-16'
,
value
:
0
},
{
key
:
'
2024-
02-17'
,
value
:
0
},
{
key
:
'02-17'
,
value
:
0
},
{
key
:
'
2024-
02-18'
,
value
:
0
},
{
key
:
'02-18'
,
value
:
0
},
],
],
},
},
},
},
...
...
src/biz/hjszzl.ts
View file @
b6159bb7
...
@@ -6,9 +6,6 @@ import { doubleYBarCharPackage, keyValuePackage, onceYBarChartPackage, rankPacka
...
@@ -6,9 +6,6 @@ import { doubleYBarCharPackage, keyValuePackage, onceYBarChartPackage, rankPacka
import
{
getDoubleYBarChartOut
,
getKeyValueOut
,
getOnceYBarChartOut
,
getStringOut
,
getTableOut
}
from
'../dataPackage/out'
;
import
{
getDoubleYBarChartOut
,
getKeyValueOut
,
getOnceYBarChartOut
,
getStringOut
,
getTableOut
}
from
'../dataPackage/out'
;
/* 环境数字治理 */
/* 环境数字治理 */
export
function
getData
(
req
,
res
)
{
export
function
getData
(
req
,
res
)
{
let
excelData
=
hjszzlTableData
();
let
excelData
=
hjszzlTableData
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment