Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
e7dcb48f
Commit
e7dcb48f
authored
Jan 14, 2021
by
pengxiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/manage' into manage
parents
08101add
7d1b4ee0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
portfolio_diagnose.py
app/service/portfolio_diagnose.py
+3
-3
No files found.
app/service/portfolio_diagnose.py
View file @
e7dcb48f
...
@@ -97,13 +97,13 @@ def translate_single(content, content_id, evaluation):
...
@@ -97,13 +97,13 @@ def translate_single(content, content_id, evaluation):
ret
.
append
(
v
)
ret
.
append
(
v
)
continue
continue
elif
content
[
content_id
][
i
][
v
]
in
[
"优秀"
,
"良好"
,
"高"
,
"高于"
,
"较好"
]:
elif
content
[
content_id
][
i
][
v
]
in
[
"优秀"
,
"良好"
,
"高"
,
"高于"
,
"较好"
]:
ret
.
append
(
"""<span class="self_description_red">{}</span>"""
.
format
(
content
[
content_id
][
i
][
v
])
)
ret
.
append
(
content
[
content_id
][
i
][
v
]
)
continue
continue
elif
content_id
==
4
and
v
==
0
:
elif
content_id
==
4
and
v
==
0
:
ret
.
append
(
"""<span class="self_description_red">{}</span>"""
.
format
(
content
[
content_id
][
i
][
v
])
)
ret
.
append
(
content
[
content_id
][
i
][
v
]
)
continue
continue
else
:
else
:
ret
.
append
(
"""<span class="self_description_green">{}</span>"""
.
format
(
content
[
content_id
][
i
][
v
])
)
ret
.
append
(
content
[
content_id
][
i
][
v
]
)
return
tuple
(
ret
)
return
tuple
(
ret
)
...
...
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