Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
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
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
593e59d0
Commit
593e59d0
authored
Jun 09, 2021
by
guomingpang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:关闭答题详情B端查看限制。
parent
a00933ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
14 deletions
+1
-14
src/modules/teach-tool/examination-manager/TestDetailPage.jsx
+1
-14
No files found.
src/modules/teach-tool/examination-manager/TestDetailPage.jsx
View file @
593e59d0
...
@@ -157,10 +157,6 @@ function TestDetailPage(props) {
...
@@ -157,10 +157,6 @@ function TestDetailPage(props) {
}
}
function
renderResultInfo
()
{
function
renderResultInfo
()
{
console
.
log
(
'userExamState====>'
,
userExamState
);
if
(
userExamState
!==
'INIT'
)
{
if
(
userExamState
===
'FINISH_EXAM'
)
{
if
(
resultShow
===
'IMMEDIATELY'
||
(
resultShow
===
'AFTER_EXAM_END'
&&
Date
.
now
()
>
examEndTime
))
{
return
(
return
(
<
div
>
<
div
>
<
div
className=
'exam-info'
>
<
div
className=
'exam-info'
>
...
@@ -218,9 +214,7 @@ function TestDetailPage(props) {
...
@@ -218,9 +214,7 @@ function TestDetailPage(props) {
}
}
>
}
}
>
<
img
<
img
className=
'icon'
className=
'icon'
src=
{
src=
{
item
.
isCorrect
===
1
?
'https://image.xiaomaiketang.com/xm/FwZa2Kaypc.png'
:
'https://image.xiaomaiketang.com/xm/7tRHDf6ysA.png'
}
item
.
isCorrect
===
1
?
'https://image.xiaomaiketang.com/xm/FwZa2Kaypc.png'
:
'https://image.xiaomaiketang.com/xm/7tRHDf6ysA.png'
}
/>
/>
<
div
className=
'result-content-box'
>
{
index
+
1
}
</
div
>
<
div
className=
'result-content-box'
>
{
index
+
1
}
</
div
>
</
div
>
</
div
>
...
@@ -232,13 +226,6 @@ function TestDetailPage(props) {
...
@@ -232,13 +226,6 @@ function TestDetailPage(props) {
<
AnswerDescPage
/>
<
AnswerDescPage
/>
</
div
>
</
div
>
);
);
}
else
if
(
resultShow
===
'AFTER_EXAM_END'
)
{
return
customizeRenderEmpty
(
'after'
);
}
}
else
{
return
customizeRenderEmpty
(
'lack'
);
}
}
}
}
function
customizeRenderEmpty
(
status
)
{
function
customizeRenderEmpty
(
status
)
{
...
...
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