Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
075a9a7a
Commit
075a9a7a
authored
Feb 27, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考试完成后-更新考试成绩
parent
cbf9f861
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
index.vue
take-order/pages/exam/index.vue
+0
-6
No files found.
take-order/pages/exam/index.vue
View file @
075a9a7a
...
@@ -87,7 +87,6 @@
...
@@ -87,7 +87,6 @@
examScore
:
0
,
examScore
:
0
,
alphaArr
:[
'A'
,
'B'
,
'C'
,
'D'
,
'E'
],
alphaArr
:[
'A'
,
'B'
,
'C'
,
'D'
,
'E'
],
timer
:
null
,
timer
:
null
,
scoreStatus
:
false
,
isComplete
:
false
,
// 是否已经考试完成判定
isComplete
:
false
,
// 是否已经考试完成判定
}
}
},
},
...
@@ -158,22 +157,17 @@
...
@@ -158,22 +157,17 @@
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
//examStatus 用户考试状态 0考试中 1考试完成 2未参与
//examStatus 用户考试状态 0考试中 1考试完成 2未参与
if
(
res
.
data
.
data
.
examStatus
==
2
)
{
if
(
res
.
data
.
data
.
examStatus
==
2
)
{
that
.
scoreStatus
=
true
that
.
applyExam
()
that
.
applyExam
()
return
return
}
}
if
(
res
.
data
.
data
.
examStatus
==
1
){
if
(
res
.
data
.
data
.
examStatus
==
1
){
that
.
isComplete
=
true
that
.
isComplete
=
true
that
.
examScore
=
res
.
data
.
data
.
examScore
that
.
examScore
=
res
.
data
.
data
.
examScore
if
(
that
.
scoreStatus
){
that
.
scoreStatus
=
false
that
.
postResult
()
that
.
postResult
()
}
return
return
}
}
if
(
res
.
data
.
data
.
examStatus
==
0
)
{
if
(
res
.
data
.
data
.
examStatus
==
0
)
{
that
.
userExamId
=
res
.
data
.
data
.
id
that
.
userExamId
=
res
.
data
.
data
.
id
that
.
scoreStatus
=
true
that
.
getNext
()
that
.
getNext
()
}
}
...
...
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