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
15516c78
Commit
15516c78
authored
Mar 08, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20230308
parent
d2431157
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apps/view_atlas/view.py
+2
-2
No files found.
apps/view_atlas/view.py
View file @
15516c78
...
...
@@ -1152,7 +1152,7 @@ def industry_enterprise():
"entype"
:
i
.
entype
,
"address"
:
i
.
address
,
"telephone"
:
i
.
telephone
,
"hosts"
:
i
.
hots
,
#
"hosts": i.hots,
"high_new"
:
'高新技术企业'
if
i
.
high_new
==
'1'
else
''
,
"tbe"
:
'科技型中小企业'
if
i
.
tbe
==
'1'
else
''
,
"quoted_company"
:
'上市企业'
if
i
.
quoted_company
==
'1'
else
''
,
...
...
@@ -1167,7 +1167,7 @@ def industry_enterprise():
"patent"
:
'有专利企业'
if
i
.
patent
==
'1'
else
''
,
"chain_master"
:
'链主企业'
if
i
.
chain_master
==
'1'
else
''
}
for
i
in
companys
]
df
.
sort
(
key
=
lambda
s
:
s
[
"hosts"
],
reverse
=
True
)
#
df.sort(key=lambda s: s["hosts"], reverse=True)
data
=
{
"size"
:
size
,
"df"
:
df
}
return
jsonify
(
code
=
RET
.
OK
,
msg
=
"获取成功"
,
data
=
data
)
...
...
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