Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shenDianYun
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
shenDianYun
Commits
df29ad86
Commit
df29ad86
authored
May 31, 2023
by
孙香冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
fc13a42b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
投资管控面板.xlsx
res/投资管控面板.xlsx
+0
-0
jstj.ts
src/biz/jszhpt/jstj.ts
+10
-1
No files found.
res/投资管控面板.xlsx
View file @
df29ad86
No preview for this file type
src/biz/jszhpt/jstj.ts
View file @
df29ad86
...
...
@@ -15,7 +15,7 @@ export function getData(req, res) {
let
ret
:
any
=
{};
let
tkjsExcelData
=
{};
let
tkjsExcelData
:
any
=
{};
let
index
=
1
;
for
(
let
key
in
excelData
)
{
if
(
key
.
search
(
year
)
>
-
1
)
{
//匹配年份
...
...
@@ -28,6 +28,15 @@ export function getData(req, res) {
})
ret
[
"api"
+
index
]
=
tkjsExcelData
;
/**todo 李欣鸣 3.30日加入逻辑 */
if
(
index
==
2
)
{
let
itemTotal
=
0
;
tkjsExcelData
.
data
.
forEach
(
item
=>
{
itemTotal
+=
item
.
value
||
0
;
});
ret
[
"api"
+
index
].
total
=
itemTotal
;
}
/**end */
index
++
;
}
}
...
...
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