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
184384d9
Commit
184384d9
authored
Dec 12, 2022
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20221211
parent
ddd237a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
apps/inves_manage/statistic_analysis_view.py
+13
-2
No files found.
apps/inves_manage/statistic_analysis_view.py
View file @
184384d9
...
...
@@ -407,11 +407,17 @@ def export_jc_data1(data_time, path, pro_path):
# 2022年1-11月
current_year
=
data_time
.
split
(
'年'
)[
0
]
current_month
=
data_time
.
split
(
'年'
)[
1
]
.
split
(
'月'
)[
0
]
if
'-'
in
current_year
:
current_month1
=
current_month
.
split
(
'-'
)[
0
]
current_month2
=
current_month
.
split
(
'-'
)[
1
]
current_year1
=
current_year
+
'/'
+
current_month1
current_year2
=
current_year
+
'/'
+
current_month2
else
:
current_month1
=
current_month
current_month2
=
''
current_year1
=
current_year
+
'/'
+
current_month1
current_year2
=
''
district_li
=
[
"全市"
,
"城区"
,
"泽州县"
,
"高平市"
,
"阳城县"
,
"陵川县"
,
"沁水县"
,
"晋城经济技术开发区"
]
# 六。综合得分
...
...
@@ -642,11 +648,16 @@ def export_jc_data2(data_time, path, pro_path):
# 2022年1-11月
current_year
=
data_time
.
split
(
'年'
)[
0
]
current_month
=
data_time
.
split
(
'年'
)[
1
]
.
split
(
'月'
)[
0
]
if
'-'
in
current_year
:
current_month1
=
current_month
.
split
(
'-'
)[
0
]
current_month2
=
current_month
.
split
(
'-'
)[
1
]
current_year1
=
current_year
+
'/'
+
current_month1
current_year2
=
current_year
+
'/'
+
current_month2
else
:
current_month1
=
current_month
current_month2
=
''
current_year1
=
current_year
+
'/'
+
current_month1
current_year2
=
''
target_data_list
=
[]
try
:
...
...
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