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
74dd65e2
Commit
74dd65e2
authored
Dec 20, 2022
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20221220
parent
b235e266
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
apps/inves_manage/statistic_analysis_view.py
+4
-4
No files found.
apps/inves_manage/statistic_analysis_view.py
View file @
74dd65e2
...
...
@@ -52,7 +52,7 @@ def get_data1(district_li, current_year):
data
=
{
"name"
:
district
,
"data"
:
investment_volume
,
"data"
:
investment_volume
/
10000
,
"target"
:
year_target
,
"value"
:
round
(
investment_volume
/
10000
/
year_target
*
100
,
2
)
if
year_target
and
year_target
!=
0
else
0
}
...
...
@@ -126,7 +126,7 @@ def get_data3(district_li, current_year):
data
=
{
"name"
:
district
,
"data"
:
investment_volume
,
"data"
:
investment_volume
/
10000
,
"target"
:
year_target
,
"value"
:
round
(
investment_volume
/
10000
/
year_target
*
100
,
2
)
if
year_target
and
year_target
!=
0
else
0
}
...
...
@@ -165,7 +165,7 @@ def get_data4(district_li, current_year):
data
=
{
"name"
:
district
,
"data"
:
arrive_money
,
"data"
:
arrive_money
/
10000
,
"target"
:
year_target
,
"value"
:
round
(
arrive_money
/
10000
/
year_target
*
100
,
2
)
if
year_target
and
year_target
!=
0
else
0
}
...
...
@@ -205,7 +205,7 @@ def get_data5(district_li, current_year):
year_target
=
jc_obj
.
money_arrive_target0
data
=
{
"name"
:
district
,
"data"
:
investment_volume
,
"data"
:
investment_volume
/
10000
,
"target"
:
year_target
,
"value"
:
round
(
investment_volume
/
10000
/
year_target
*
100
,
2
)
if
year_target
and
year_target
!=
0
else
0
}
...
...
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