Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 58631959
authored
Sep 19, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(studyDetail): 修复长期课程考试成绩显示逻辑
根据课程状态和分数显示不同的考试成绩文本,包括待考核、分数和无需考核状态
1 parent
62431f78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
pages/common/studyDetail/longCourse.vue
pages/common/studyDetail/longCourse.vue
View file @
5863195
...
...
@@ -74,7 +74,12 @@
<
/view
>
<
view
class
=
"item-info"
>
<
view
class
=
"item-info-label"
>
考试成绩
<
/view
>
<
view
class
=
"item-info-value"
>
{{
(
item
.
totalScore
||
item
.
totalScore
===
0
)
?
item
.
totalScore
:
'未考核'
}}
<
/view
>
<
view
class
=
"item-info-value"
>
<
template
v
-
if
=
"item.status !== 5 && item.totalScore == null"
>
待考核
<
/template
>
<
template
v
-
else
-
if
=
"item.status !== 5 && item.totalScore != null"
>
{{
item
.
totalScore
}}
分
<
/template
>
<
template
v
-
else
-
if
=
"item.status === 5 && item.totalScore == null"
>
无需考核
<
/template
>
<
template
v
-
else
-
if
=
"item.status === 5 && item.totalScore != null"
>
{{
item
.
totalScore
}}
分
<
/template
>
<
/view
>
<
/view
>
<
view
class
=
"item-info"
>
<
view
class
=
"item-info-label"
>
课程时长
<
/view
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment