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
03040d25
Commit
03040d25
authored
Dec 29, 2024
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
427d7ef9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
zjny.xlsx
res/zjny.xlsx
+0
-0
getData.ts
src/biz/getData.ts
+4
-1
dataInterface.ts
src/data/interface/dataInterface.ts
+3
-1
No files found.
res/zjny.xlsx
View file @
03040d25
No preview for this file type
src/biz/getData.ts
View file @
03040d25
...
...
@@ -77,14 +77,17 @@ let guangfuData = {
{
key
:
"装机容量"
,
value
:
46
,
unit
:
""
},
{
key
:
"总发电量"
,
value
:
"61312.7"
,
unit
:
"KW"
},
{
key
:
"实时功率"
,
value
:
13.800000190734863
,
value
:
13.80
,
unit
:
"KW"
},
],
xyfxfd
:
{
...
...
src/data/interface/dataInterface.ts
View file @
03040d25
...
...
@@ -142,7 +142,9 @@ export async function getGuangFu() {
}
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
});
}
/**效益分析-发电 */
...
...
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