Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mancheng
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
Administrator
mancheng
Commits
a94b2a21
Commit
a94b2a21
authored
Feb 14, 2022
by
赵宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fa4970f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apps/view_index/view.py
+2
-2
No files found.
apps/view_index/view.py
View file @
a94b2a21
...
...
@@ -131,7 +131,7 @@ def menu():
# qt = 100 - mcq - gjd - mtmhg - gtzz - qyly - xdfu
qt
=
100
-
ctys
-
gjd
-
mcq
-
wlky
-
xdfw
-
szjj
# 产业结构分布
industry
=
[
industry
_dic
=
[
{
"per"
:
ctys
,
"name"
:
"传统优势产业集群"
,
"count"
:
count_ctys
},
# {百分比,value}
{
"per"
:
gjd
,
"name"
:
"光机电产业集群"
,
"count"
:
count_gjd
},
{
"per"
:
mcq
,
"name"
:
"煤层气产业集群"
,
"count"
:
count_mcq
},
...
...
@@ -146,7 +146,7 @@ def menu():
data
=
{
"jjzb_dic"
:
jjzb_data
,
# 左上角经济指标数据
"table_dic"
:
table_dic
,
# 左上角企业数据统计
"industry_dic"
:
industry
# 产业结构分布饼状图数据
"industry_dic"
:
industry
_dic
# 产业结构分布饼状图数据
}
return
jsonify
(
code
=
RET
.
OK
,
msg
=
"查找成功"
,
data
=
data
)
...
...
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