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
5d0ea281
Commit
5d0ea281
authored
Feb 14, 2022
by
赵宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0ef8c144
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
apps/view_index/view.py
+19
-19
No files found.
apps/view_index/view.py
View file @
5d0ea281
...
@@ -505,26 +505,26 @@ def company_detail():
...
@@ -505,26 +505,26 @@ def company_detail():
if
company
:
if
company
:
data
=
{
"select1_info"
:
{
"id"
:
company
.
id
,
data
=
{
"select1_info"
:
{
"id"
:
company
.
id
,
"company_name"
:
company
.
company_name
,
# 企业名
"company_name"
:
company
.
company_name
,
# 企业名
"telephone"
:
company
.
telephone
if
company
.
telephone
else
"
-
"
,
# 电话
"telephone"
:
company
.
telephone
if
company
.
telephone
else
""
,
# 电话
"web_site"
:
company
.
web_site
if
company
.
web_site
else
"
-
"
,
# 网址
"web_site"
:
company
.
web_site
if
company
.
web_site
else
""
,
# 网址
"email"
:
company
.
email
if
company
.
email
else
"
-
"
,
# 邮箱
"email"
:
company
.
email
if
company
.
email
else
""
,
# 邮箱
"address"
:
company
.
address
if
company
.
address
else
"
-
"
,
# 地址
"address"
:
company
.
address
if
company
.
address
else
""
,
# 地址
"jwd"
:
{
"lng"
:
company
.
lng
if
company
.
lng
else
"
-
"
,
# 经度
"jwd"
:
{
"lng"
:
company
.
lng
if
company
.
lng
else
""
,
# 经度
"lat"
:
company
.
lat
if
company
.
lat
else
"
-
"
},
# 维度
"lat"
:
company
.
lat
if
company
.
lat
else
""
},
# 维度
"company_info"
:
company
.
company_info
if
company
.
company_info
else
"
-
"
,
# 企业信息
"company_info"
:
company
.
company_info
if
company
.
company_info
else
""
,
# 企业信息
"business_scope"
:
company
.
business_scope
if
company
.
business_scope
else
"
-
"
,
"business_scope"
:
company
.
business_scope
if
company
.
business_scope
else
""
,
# 经营范围
# 经营范围
# "high_new": "高新技术企业" if company.high_new else "
-
", # 高新技术企业
# "high_new": "高新技术企业" if company.high_new else "", # 高新技术企业
"legal"
:
company
.
legal
if
company
.
legal
else
"
-
"
,
# 法定代表人
"legal"
:
company
.
legal
if
company
.
legal
else
""
,
# 法定代表人
"status"
:
company
.
status
if
company
.
status
else
"
-
"
,
# 状态
"status"
:
company
.
status
if
company
.
status
else
""
,
# 状态
"build_date"
:
str
(
company
.
build_date
)[:
10
]
if
company
.
build_date
else
"
-
"
,
# 创建时间
"build_date"
:
str
(
company
.
build_date
)[:
10
]
if
company
.
build_date
else
""
,
# 创建时间
"capital"
:
company
.
capital
if
company
.
capital
else
"
-
"
,
# 注册资本
"capital"
:
company
.
capital
if
company
.
capital
else
""
,
# 注册资本
"social_code"
:
company
.
social_code
if
company
.
social_code
else
"
-
"
,
# 统一社会信用代码
"social_code"
:
company
.
social_code
if
company
.
social_code
else
""
,
# 统一社会信用代码
# "taking": company.takingn if company.takingn else "
-
", # 营收 (万元)
# "taking": company.takingn if company.takingn else "", # 营收 (万元)
"bao"
:
company
.
bao_num
if
company
.
bao_num
else
"
-
"
,
# 参保人数
"bao"
:
company
.
bao_num
if
company
.
bao_num
else
""
,
# 参保人数
"entype"
:
company
.
entype
if
company
.
entype
else
"
-
"
,
# 企业类型
"entype"
:
company
.
entype
if
company
.
entype
else
""
,
# 企业类型
"industry"
:
company
.
company_industry
if
company
.
company_industry
else
"
-
"
,
# 所属行业
"industry"
:
company
.
company_industry
if
company
.
company_industry
else
""
,
# 所属行业
"scope"
:
company
.
business_scope
if
company
.
business_scope
else
"
-
"
,
# 企业经营范围
"scope"
:
company
.
business_scope
if
company
.
business_scope
else
""
,
# 企业经营范围
# "collect": "1",
# "collect": "1",
# "choice": "3"
# "choice": "3"
"tax_code"
:
company
.
tax_code
if
company
.
tax_code
else
""
,
"tax_code"
:
company
.
tax_code
if
company
.
tax_code
else
""
,
...
...
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