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
e609a14f
Commit
e609a14f
authored
Jan 11, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20230111
parent
1f91445f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
apps/inves_manage/statistic_analysis_view.py
+6
-3
No files found.
apps/inves_manage/statistic_analysis_view.py
View file @
e609a14f
...
...
@@ -879,7 +879,8 @@ def project_graph():
project_source
=
req_dic
[
'project_source'
]
# 用于1项目来源区域分布
industry_name
=
req_dic
[
'industry_name'
]
# 用于4项目行业类型分布
current_year
=
datetime
.
now
()
.
year
# current_year = datetime.now().year
current_year
=
2022
try
:
project_obj
=
ProjectManagement
.
query
.
filter
(
ProjectManagement
.
district
==
district
if
district
else
text
(
''
),
...
...
@@ -1122,7 +1123,8 @@ def areal_project():
flag
=
req_dic
[
'flag'
]
# 1项目来源区域分布,2项目投资额区间分布,3项目产业分布,4项目行业类型分布
page
=
req_dic
[
'page'
]
per_page
=
req_dic
[
'per_page'
]
current_year
=
datetime
.
now
()
.
year
# current_year = datetime.now().year
current_year
=
2022
try
:
project_obj
=
ProjectManagement
.
query
.
filter
(
...
...
@@ -1255,7 +1257,8 @@ def areal_project():
def
get_data
():
req_dic
=
request
.
get_json
()
flag
=
req_dic
[
'flag'
]
current_year
=
str
(
datetime
.
now
()
.
year
)
# current_year = str(datetime.now().year)
current_year
=
"2022"
district_li1
=
[
"全市"
,
"城区"
,
"泽州县"
,
"高平市"
,
"阳城县"
,
"陵川县"
,
"沁水县"
,
"晋城经济技术开发区"
]
...
...
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