Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
server
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
changsanjiao
server
Commits
adb65f61
Commit
adb65f61
authored
Oct 22, 2021
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
9ee6ae87
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
2 deletions
+6
-2
其他数据模板.xlsx
res/其他数据模板.xlsx
+0
-0
绿色电力数据模板.xlsx
res/绿色电力数据模板.xlsx
+0
-0
lsdl_qjnygfPage.ts
src/biz/lsdl_qjnygfPage.ts
+1
-1
qyehPage.ts
src/biz/qyehPage.ts
+4
-0
zhdyMsgbox1.ts
src/biz/zhdyMsgbox1.ts
+1
-1
No files found.
res/其他数据模板.xlsx
View file @
adb65f61
No preview for this file type
res/绿色电力数据模板.xlsx
View file @
adb65f61
No preview for this file type
src/biz/lsdl_qjnygfPage.ts
View file @
adb65f61
...
...
@@ -44,7 +44,7 @@
let
当期指数分四象限分析数据
=
[];
for
(
let
key
in
excelData
.
当期指数分四象限分析
)
{
let
{
x
,
y
,
name
}
=
excelData
.
当期指数分四象限分析
[
key
];
let
info
=
{
x
,
y
:
Math
.
floor
(
parseFloat
(
y
)
*
10000
)
/
100
,
name
};
let
info
=
{
x
:
Math
.
floor
(
parseFloat
(
x
)
*
10000
)
/
100
,
y
:
Math
.
floor
(
parseFloat
(
y
)
*
10000
)
/
100
,
name
};
当期指数分四象限分析数据
.
push
(
info
);
}
...
...
src/biz/qyehPage.ts
View file @
adb65f61
...
...
@@ -73,6 +73,10 @@
}
ret
[
"api21"
]
=
getKeyValue
(
"营商业务互动性"
,
excelData
.
营商业务互动性
,
false
,
false
,
false
);
ret
[
"api22"
]
=
{
title
:
"图片"
,
data
:{
"1"
:
"qyrh1.png"
,
"2"
:
"qyrh2.png"
}
};
res
.
send
(
ret
);
}
src/biz/zhdyMsgbox1.ts
View file @
adb65f61
...
...
@@ -13,7 +13,7 @@
let
吴江区数据
DataAndUnit
=
objKeyReplace
(
excelData
.
吴江区数据
);
ret
[
"api2"
]
=
getKeyValue
(
"吴江区数据"
,
吴江区数据
DataAndUnit
.
dataMap
,
吴江区数据
DataAndUnit
.
unitMap
,
false
,
false
);
ret
[
"api3"
]
=
getChartData
(
"长三角示范区一体化协同发展指数趋势"
,
excelData
.
长三角示范区一体化协同发展指数趋势
,
"户"
,
false
);
ret
[
"api3"
]
=
getChartData
(
"长三角示范区一体化协同发展指数趋势"
,
excelData
.
长三角示范区一体化协同发展指数趋势
,
false
,
false
);
let
青浦区数据
DataAndUnit
=
objKeyReplace
(
excelData
.
青浦区数据
);
ret
[
"api4"
]
=
getKeyValue
(
"青浦区数据"
,
青浦区数据
DataAndUnit
.
dataMap
,
青浦区数据
DataAndUnit
.
unitMap
,
false
,
false
);
...
...
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