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
cc0e44bb
Commit
cc0e44bb
authored
Feb 01, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20230201
parent
4b925ff4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
apps/view_choose/map_view.py
+1
-2
No files found.
apps/view_choose/map_view.py
View file @
cc0e44bb
...
@@ -26,7 +26,7 @@ def show_area():
...
@@ -26,7 +26,7 @@ def show_area():
if
not
district_name
:
if
not
district_name
:
district_name
=
get_district_name
(
token
)
district_name
=
get_district_name
(
token
)
area_data
=
[]
area_data
=
[
{
"district_name"
:
district_name
}
]
# 今年的1月1号
# 今年的1月1号
current_year
=
datetime
.
datetime
.
now
()
.
strftime
(
'
%
Y-01-01 00:00:00'
)
current_year
=
datetime
.
datetime
.
now
()
.
strftime
(
'
%
Y-01-01 00:00:00'
)
# 今年今天的前一天凌晨
# 今年今天的前一天凌晨
...
@@ -202,7 +202,6 @@ def show_area():
...
@@ -202,7 +202,6 @@ def show_area():
# 闲置率
# 闲置率
"current_build_empty_rate"
:
total_empty_rate
,
"current_build_empty_rate"
:
total_empty_rate
,
"build_rate"
:
build_rate
,
"build_rate"
:
build_rate
,
"district_name"
:
district_name
})
})
except
Exception
as
e
:
except
Exception
as
e
:
current_app
.
logger
.
error
(
e
)
current_app
.
logger
.
error
(
e
)
...
...
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