Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
tea-resources-web
Commits
4e5140f8
Commit
4e5140f8
authored
May 17, 2024
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频播放
parent
eec9881d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
questionManagement.vue
...eInformation/examinationManagement/questionManagement.vue
+9
-2
No files found.
src/views/courseInformation/examinationManagement/questionManagement.vue
View file @
4e5140f8
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<div>
作答:
<div>
作答:
<span
:style=
"
{ color: item.isRight ? 'green' : 'red'}">
<span
:style=
"
{ color: item.isRight ? 'green' : 'red'}">
{{
item
.
answer
}}
</span></div>
{{
item
.
questionType
===
3
?
answerMap
[
item
.
answer
]:
item
.
answer
}}
</span></div>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
class=
"elClass"
>
<el-row
class=
"elClass"
>
...
@@ -186,6 +186,10 @@ export default {
...
@@ -186,6 +186,10 @@ export default {
// 对话框
// 对话框
dialogFormVisible
:
false
,
dialogFormVisible
:
false
,
dialogVisible
:
false
,
dialogVisible
:
false
,
answerMap
:
{
'0'
:
'错'
,
'1'
:
'对'
},
// 新增课程
// 新增课程
form
:
{
form
:
{
id
:
''
,
id
:
''
,
...
@@ -396,7 +400,10 @@ export default {
...
@@ -396,7 +400,10 @@ export default {
res
.
data
.
forEach
(
item
=>
{
res
.
data
.
forEach
(
item
=>
{
if
(
item
.
questionType
===
4
)
{
if
(
item
.
questionType
===
4
)
{
item
.
score
=
''
item
.
score
=
''
}
else
if
(
item
.
answer
===
item
.
standardAnswer
)
{
}
else
if
(
item
.
questionType
===
3
)
{
item
.
score
=
item
.
mark
item
.
isRight
=
item
.
answer
===
item
.
standardAnswer
}
else
if
(
this
.
answerMap
[
item
.
answer
]
===
item
.
standardAnswer
)
{
item
.
score
=
item
.
mark
item
.
score
=
item
.
mark
item
.
isRight
=
true
item
.
isRight
=
true
}
else
{
}
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