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
5b190f4f
Commit
5b190f4f
authored
Mar 15, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1f8be06d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
11 deletions
+23
-11
examGongu.vue
src/pages/exam/examGongu.vue
+23
-11
No files found.
src/pages/exam/examGongu.vue
View file @
5b190f4f
...
...
@@ -105,20 +105,32 @@
onchange
(
e
)
{
if
(
e
&&
e
.
detail
){
data
.
current
=
e
.
detail
.
current
;
if
(
ctx
.
$refs
.
myRef
&&
ctx
.
$refs
.
myRef
.
length
>
0
){
ctx
.
$refs
.
myRef
[
0
].
clickParent
();
}
if
(
data
.
CommonType
==
3
||
data
.
CommonType
==
4
||
data
.
CommonType
==
5
||
data
.
CommonType
==
6
){
this
.
setPractise
();
var
Id
=
0
;
if
(
data
.
current
>=
1
){
Id
=
data
.
dataList
[
data
.
current
-
1
].
Id
;
this
.
setPractise
(
Id
);
}
if
(
data
.
current
+
1
==
data
.
dataList
.
length
){
Id
=
data
.
dataList
[
data
.
current
].
Id
this
.
setPractise
(
Id
);
}
}
}
},
//设置已答题
setPractise
(){
if
(
data
.
current
>=
1
){
data
.
setMsg
.
Id
=
data
.
dataList
[
data
.
current
-
1
].
Id
;
setPractise
(
Id
){
// if(data.current>=1){
data
.
setMsg
.
Id
=
Id
;
// if(data.current+1==data.dataList.length){
// data.setMsg.Id = data.dataList[data.current].Id;
// }
SetPracticeReview
(
data
.
setMsg
).
then
(
res
=>
{
})
}
},
getList
()
{
if
(
data
.
isShowJx
){
...
...
@@ -197,11 +209,11 @@
this
.
msg
.
StudentId
=
''
;
this
.
isShowJx
=
false
;
this
.
getList
();
// setTimeout(function(){
// let _that = this;
// setTimeout(function(){
// console.log('111');
// _that.msg.pageSize=1000;
//
this
.getList();
//
_that
.getList();
// },2000)
}
if
(
options
.
Type
==
2
){
...
...
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