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
d58a9e55
Commit
d58a9e55
authored
Feb 12, 2022
by
赵宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5b2cd250
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
apps/view_index/view.py
+11
-1
No files found.
apps/view_index/view.py
View file @
d58a9e55
...
@@ -514,7 +514,7 @@ def enterprise_detail():
...
@@ -514,7 +514,7 @@ def enterprise_detail():
"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
"-"
,
# 创建时间
...
@@ -529,6 +529,16 @@ def enterprise_detail():
...
@@ -529,6 +529,16 @@ def enterprise_detail():
# "choice": "3"
# "choice": "3"
"tax_code"
:
company
.
tax_code
if
company
.
tax_code
else
"-"
,
"tax_code"
:
company
.
tax_code
if
company
.
tax_code
else
"-"
,
"register_code"
:
company
.
register_code
if
company
.
register_code
else
"-"
,
"register_code"
:
company
.
register_code
if
company
.
register_code
else
"-"
,
"high_new"
:
'高新技术企业'
if
company
.
high_new
==
1
else
"-"
,
"tbe"
:
'科技型中小企业'
if
company
.
tbe
==
1
else
"-"
,
# "fianacing": '融资企业' if company.fianacing == 1' else "-",
"quoted_company"
:
'上市企业'
if
company
.
quoted_company
==
1
else
"-"
,
# "patent": '专利企业' if company.patent == 1' else "-",
"unicorn"
:
'独角兽企业'
if
company
.
unicorn
==
1
else
"-"
,
"dengl"
:
'瞪羚'
if
company
.
dengl
==
1
else
"-"
,
"isfive"
:
'中国500强'
if
company
.
isfive
==
1
else
"-"
,
"zjtg"
:
'中国500强'
if
company
.
zjtg
==
1
else
"-"
,
},
},
# 经营状况数据封装
# 经营状况数据封装
"select2_info"
:
{
"select2_info"
:
{
...
...
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