Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
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
向伟
educationStu
Commits
71f3606c
Commit
71f3606c
authored
Sep 17, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1ae80a50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
18 deletions
+25
-18
examPaper.vue
src/pages/exam/examPaper.vue
+25
-18
No files found.
src/pages/exam/examPaper.vue
View file @
71f3606c
...
@@ -345,7 +345,11 @@
...
@@ -345,7 +345,11 @@
/>
/>
</view>
</view>
<view
class=
"answer-con"
v-if=
"isShowNotice"
>
<view
class=
"answer-con"
v-if=
"isShowNotice"
>
<examNotice
:msg=
"msg"
:ExamStatus=
"ExamStatus"
@
hideNotice=
"hideNotice"
/>
<examNotice
:msg=
"msg"
:ExamStatus=
"ExamStatus"
@
hideNotice=
"hideNotice"
/>
</view>
</view>
<van-toast
id=
"van-toast"
/>
<van-toast
id=
"van-toast"
/>
</view>
</view>
...
@@ -458,7 +462,7 @@ export default {
...
@@ -458,7 +462,7 @@ export default {
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
data
.
peaperDetail
=
res
.
Data
;
data
.
peaperDetail
=
res
.
Data
;
this
.
SubmitTimes
=
res
.
Data
.
Publish
.
SubmitTimes
;
this
.
SubmitTimes
=
res
.
Data
.
Publish
.
SubmitTimes
;
data
.
time
=
res
.
Data
.
Publish
.
ExamTimes
*
60
*
1000
;
data
.
time
=
res
.
Data
.
Publish
.
ExamTimes
*
60
*
1000
;
}
}
}
}
},
},
...
@@ -578,7 +582,7 @@ export default {
...
@@ -578,7 +582,7 @@ export default {
...
methods
,
...
methods
,
};
};
},
},
async
onLoad
(
options
)
{
async
onLoad
(
options
)
{
if
(
options
.
GuestId
)
{
if
(
options
.
GuestId
)
{
this
.
msg
.
GuestId
=
options
.
GuestId
;
this
.
msg
.
GuestId
=
options
.
GuestId
;
}
}
...
@@ -591,23 +595,26 @@ export default {
...
@@ -591,23 +595,26 @@ export default {
if
(
options
.
Exam_Student_Id
)
{
if
(
options
.
Exam_Student_Id
)
{
this
.
Exam_Student_Id
=
options
.
Exam_Student_Id
;
this
.
Exam_Student_Id
=
options
.
Exam_Student_Id
;
}
}
//ExamStatus 1未开始 2已开始 3已考试 4缺考 5已阅卷
//ExamStatus 1未开始 2已开始 3已考试 4缺考 5已阅卷
if
(
options
.
ExamStatus
)
{
if
(
options
.
ExamStatus
)
{
this
.
ExamStatus
=
options
.
ExamStatus
;
this
.
ExamStatus
=
options
.
ExamStatus
;
if
(
this
.
ExamStatus
==
3
){
if
(
this
.
msg
.
isShowAnswer
=
true
;
this
.
ExamStatus
==
2
||
}
this
.
ExamStatus
==
1
||
if
(
this
.
ExamStatus
==
2
||
this
.
ExamStatus
==
1
||
this
.
ExamStatus
==
4
){
this
.
ExamStatus
==
4
this
.
isShowNotice
=
true
;
)
{
this
.
isOperate
=
true
;
this
.
isShowNotice
=
true
;
this
.
autoTimeStart
=
true
;
this
.
isOperate
=
true
;
}
this
.
autoTimeStart
=
true
;
if
(
this
.
ExamStatus
==
3
||
this
.
ExamStatus
==
5
){
}
this
.
isOperate
=
false
if
(
this
.
ExamStatus
==
3
||
this
.
ExamStatus
==
5
)
{
this
.
msg
.
isShowAnswer
=
true
;
this
.
msg
.
isShowAnswer
=
true
;
}
this
.
isShowAnswerSee
=
true
;
this
.
isOperate
=
false
;
this
.
msg
.
isShowAnswer
=
true
;
}
}
}
await
this
.
getPaperDetail
();
await
this
.
getPaperDetail
();
if
(
options
.
showScore
)
{
if
(
options
.
showScore
)
{
this
.
isShowAnswer
=
true
;
this
.
isShowAnswer
=
true
;
this
.
isShowAnswerSee
=
true
;
this
.
isShowAnswerSee
=
true
;
...
...
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