Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
2ed9b7d0
Commit
2ed9b7d0
authored
Feb 21, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
800b0fcd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
116 additions
and
1 deletions
+116
-1
rpt_result/__pycache__/GetFIinfoFromJson.cpython-37.pyc
+0
-0
rpt_result/__pycache__/GetRiskinfoFromJson.cpython-37.pyc
+0
-0
rpt_result/__pycache__/getcompanyinfofromES.cpython-37.pyc
+0
-0
rpt_result/main.py
+1
-1
rpt_result/render.html
+115
-0
No files found.
rpt_result/__pycache__/GetFIinfoFromJson.cpython-37.pyc
0 → 100644
View file @
2ed9b7d0
File added
rpt_result/__pycache__/GetRiskinfoFromJson.cpython-37.pyc
0 → 100644
View file @
2ed9b7d0
File added
rpt_result/__pycache__/getcompanyinfofromES.cpython-37.pyc
0 → 100644
View file @
2ed9b7d0
File added
rpt_result/main.py
View file @
2ed9b7d0
...
...
@@ -198,7 +198,7 @@ def UpdateTaskRptUrl(batchid, rptUrl):
# 风险监测自动报告接口
@server.route
(
'/gsb/api/
git
2'
,
methods
=
[
'POST'
])
@server.route
(
'/gsb/api/
report
2'
,
methods
=
[
'POST'
])
def
report
():
if
request
.
method
==
'POST'
:
print
(
"=======调用风险检测自动报告接口"
)
...
...
rpt_result/render.html
0 → 100644
View file @
2ed9b7d0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Awesome-pyecharts
</title>
<script
type=
"text/javascript"
src=
"https://assets.pyecharts.org/assets/echarts.min.js"
></script>
</head>
<body>
<div
id=
"1aeab2db907a4b8a8d4c0e39dfbe4f9c"
style=
"width:450px; height:450px;"
></div>
<script>
var
chart_1aeab2db907a4b8a8d4c0e39dfbe4f9c
=
echarts
.
init
(
document
.
getElementById
(
'1aeab2db907a4b8a8d4c0e39dfbe4f9c'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_1aeab2db907a4b8a8d4c0e39dfbe4f9c
=
{
"color"
:
[
"#c23531"
,
"#2f4554"
,
"#61a0a8"
,
"#d48265"
,
"#749f83"
,
"#ca8622"
,
"#bda29a"
,
"#6e7074"
,
"#546570"
,
"#c4ccd3"
,
"#f05b72"
,
"#ef5b9c"
,
"#f47920"
,
"#905a3d"
,
"#fab27b"
,
"#2a5caa"
,
"#444693"
,
"#726930"
,
"#b2d235"
,
"#6d8346"
,
"#ac6767"
,
"#1d953f"
,
"#6950a1"
,
"#918597"
],
"series"
:
[
{
"type"
:
"gauge"
,
"detail"
:
{
"show"
:
true
,
"position"
:
"top"
,
"margin"
:
8
,
"fontSize"
:
55
,
"formatter"
:
"{value}%"
},
"min"
:
0
,
"max"
:
100
,
"splitNumber"
:
10
,
"startAngle"
:
225
,
"endAngle"
:
-
45
,
"data"
:
[
{
"name"
:
"
\
u88ab
\
u7a3d
\
u67e5
\
u98ce
\
u9669"
,
"value"
:
"30"
}
],
"axisLine"
:
{
"show"
:
true
,
"onZero"
:
true
,
"onZeroAxisIndex"
:
0
,
"lineStyle"
:
{
"width"
:
35
,
"opacity"
:
1
,
"curveness"
:
0
,
"type"
:
"solid"
,
"color"
:
[
[
0.3
,
"#67e0e3"
],
[
0.7
,
"#37a2da"
],
[
1
,
"#fd666d"
]
]
}
}
}
],
"legend"
:
[
{
"data"
:
[
""
],
"selected"
:
{
""
:
true
}
}
],
"tooltip"
:
{
"show"
:
true
,
"trigger"
:
"item"
,
"triggerOn"
:
"mousemove|click"
,
"axisPointer"
:
{
"type"
:
"line"
},
"textStyle"
:
{
"fontSize"
:
14
},
"borderWidth"
:
0
}
};
chart_1aeab2db907a4b8a8d4c0e39dfbe4f9c
.
setOption
(
option_1aeab2db907a4b8a8d4c0e39dfbe4f9c
);
</script>
</body>
</html>
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