Commit a94b2a21 by 赵宇

fix

parent fa4970f7
...@@ -131,7 +131,7 @@ def menu(): ...@@ -131,7 +131,7 @@ def menu():
# qt = 100 - mcq - gjd - mtmhg - gtzz - qyly - xdfu # qt = 100 - mcq - gjd - mtmhg - gtzz - qyly - xdfu
qt = 100 - ctys - gjd - mcq - wlky - xdfw - szjj qt = 100 - ctys - gjd - mcq - wlky - xdfw - szjj
# 产业结构分布 # 产业结构分布
industry = [ industry_dic = [
{"per": ctys, "name": "传统优势产业集群", "count": count_ctys}, # {百分比,value} {"per": ctys, "name": "传统优势产业集群", "count": count_ctys}, # {百分比,value}
{"per": gjd, "name": "光机电产业集群", "count": count_gjd}, {"per": gjd, "name": "光机电产业集群", "count": count_gjd},
{"per": mcq, "name": "煤层气产业集群", "count": count_mcq}, {"per": mcq, "name": "煤层气产业集群", "count": count_mcq},
...@@ -146,7 +146,7 @@ def menu(): ...@@ -146,7 +146,7 @@ def menu():
data = { data = {
"jjzb_dic": jjzb_data, # 左上角经济指标数据 "jjzb_dic": jjzb_data, # 左上角经济指标数据
"table_dic": table_dic, # 左上角企业数据统计 "table_dic": table_dic, # 左上角企业数据统计
"industry_dic": industry # 产业结构分布饼状图数据 "industry_dic": industry_dic # 产业结构分布饼状图数据
} }
return jsonify(code=RET.OK, msg="查找成功", data=data) return jsonify(code=RET.OK, msg="查找成功", data=data)
......
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