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
9d36ff9c
Commit
9d36ff9c
authored
Feb 17, 2022
by
赵宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
db6ec77a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
apps/view_choose/view.py
+4
-2
No files found.
apps/view_choose/view.py
View file @
9d36ff9c
...
...
@@ -38,7 +38,8 @@ def default_address():
"type"
:
i
.
industry_type
,
# 园区类别
"charge"
:
i
.
charge
if
i
.
charge
else
"-"
,
# 园区负责人
"phone"
:
i
.
phone
if
i
.
phone
else
"-"
,
# 园区电话
"address"
:
i
.
address
,
# 园区地址
# "address": i.address, # 园区地址
"address"
:
i
.
region
,
# 园区地址
"jwd"
:
{
"lng"
:
i
.
lng
,
"lat"
:
i
.
lat
}}
for
i
in
result
],
"all_jwd"
:
all_jwd
,
"size"
:
size
}
if
not
result
:
# 在第一条建议显示
...
...
@@ -104,7 +105,8 @@ def advice():
"type"
:
i
.
industry_type
,
# 园区类别
"charge"
:
i
.
charge
if
i
.
charge
else
"-"
,
# 园区负责人
"phone"
:
i
.
phone
if
i
.
phone
else
"-"
,
# 园区电话
"address"
:
i
.
address
,
# 园区地址
# "address": i.address, # 园区地址
"address"
:
i
.
region
,
# 园区地址
"jwd"
:
{
"lng"
:
i
.
lng
,
"lat"
:
i
.
lat
}}
for
i
in
result
],
"all_jwd"
:
all_jwd
,
"size"
:
size
}
if
not
result
:
# 在第一条建议显示
...
...
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