Commit 2ed9b7d0 by 蒋勇

d

parent 800b0fcd
......@@ -198,7 +198,7 @@ def UpdateTaskRptUrl(batchid, rptUrl):
# 风险监测自动报告接口
@server.route('/gsb/api/git 2', methods=['POST'])
@server.route('/gsb/api/report2', methods=['POST'])
def report():
if request.method =='POST':
print("=======调用风险检测自动报告接口")
......
<!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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment