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
c0ff8967
Commit
c0ff8967
authored
Sep 10, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
37642242
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
0 deletions
+14
-0
FillInTheBlanks.vue
src/components/subject/FillInTheBlanks.vue
+1
-0
MultipleChoice.vue
src/components/subject/MultipleChoice.vue
+1
-0
judge.vue
src/components/subject/judge.vue
+1
-0
readingCompre.vue
src/components/subject/readingCompre.vue
+5
-0
shortAnswer.vue
src/components/subject/shortAnswer.vue
+1
-0
examPaper.vue
src/pages/exam/examPaper.vue
+5
-0
No files found.
src/components/subject/FillInTheBlanks.vue
View file @
c0ff8967
...
...
@@ -85,6 +85,7 @@ export default {
});
},
onchange
(
e
)
{
context
.
emit
(
"answerChange"
,
data
.
data
);
data
.
ExamIndex
=
e
.
detail
.
current
;
if
(
data
.
ExamIndex
===
data
.
data
.
DetailsList
.
length
+
1
)
{
console
.
log
(
"进入"
);
...
...
src/components/subject/MultipleChoice.vue
View file @
c0ff8967
...
...
@@ -100,6 +100,7 @@ export default {
//选题
change
(
item
)
{
item
.
IsAnswer
=
!
item
.
IsAnswer
;
context
.
emit
(
"answerChange"
,
data
.
data
);
},
onchange
(
e
)
{
data
.
ExamIndex
=
e
.
detail
.
current
;
...
...
src/components/subject/judge.vue
View file @
c0ff8967
...
...
@@ -108,6 +108,7 @@ export default {
});
},
onchange
(
e
)
{
context
.
emit
(
"answerChange"
,
data
.
data
);
data
.
ExamIndex
=
e
.
detail
.
current
;
if
(
data
.
ExamIndex
===
data
.
data
.
DetailsList
.
length
+
1
)
{
this
.
$emit
(
"getAfterTopic"
);
...
...
src/components/subject/readingCompre.vue
View file @
c0ff8967
...
...
@@ -169,6 +169,11 @@ export default {
data
.
current
=
props
.
startIndex
;
data
.
ExamIndex
=
props
.
startIndex
;
}
watch
(
data
.
data
,
(
newVal
,
oldVal
)
=>
{
if
(
newVal
){
context
.
emit
(
"answerChange"
,
newVal
);
}
});
let
methods
=
{
changeNumToHan
,
jumpPage
()
{
...
...
src/components/subject/shortAnswer.vue
View file @
c0ff8967
...
...
@@ -98,6 +98,7 @@ export default {
uni
.
navigateBack
();
},
onchange
(
e
)
{
context
.
emit
(
"answerChange"
,
data
.
data
);
data
.
ExamIndex
=
e
.
detail
.
current
;
if
(
data
.
ExamIndex
===
data
.
data
.
DetailsList
.
length
+
1
)
{
console
.
log
(
"进入"
);
...
...
src/pages/exam/examPaper.vue
View file @
c0ff8967
...
...
@@ -52,6 +52,7 @@
:sortTotal=
"peaperDetail.Paper.GroupList.length"
@
getBeforeTopic=
"getBeforeTopic()"
@
getAfterTopic=
"getAfterTopic()"
@
answerChange=
"getAnswerChange($event, index)"
v-if=
"item.QuestionTypeKey === 'multiple' && index === changeIndex"
/>
<!-- 单选题 -->
...
...
@@ -86,6 +87,7 @@
:sortTotal=
"peaperDetail.Paper.GroupList.length"
@
getBeforeTopic=
"getBeforeTopic()"
@
getAfterTopic=
"getAfterTopic()"
@
answerChange=
"getAnswerChange($event, index)"
v-if=
"item.QuestionTypeKey === 'fill-in' && index === changeIndex"
/>
...
...
@@ -98,6 +100,7 @@
:sortTotal=
"peaperDetail.Paper.GroupList.length"
@
getAfterTopic=
"getAfterTopic()"
@
getBeforeTopic=
"getBeforeTopic()"
@
answerChange=
"getAnswerChange($event, index)"
v-if=
"
item.QuestionTypeKey === 'reading-comprehensio' &&
index === changeIndex
...
...
@@ -112,6 +115,7 @@
:sortTotal=
"peaperDetail.Paper.GroupList.length"
@
getAfterTopic=
"getAfterTopic()"
@
getBeforeTopic=
"getBeforeTopic()"
@
answerChange=
"getAnswerChange($event, index)"
v-if=
"item.QuestionTypeKey === 'judge' && index === changeIndex"
/>
<!-- 简答题 -->
...
...
@@ -123,6 +127,7 @@
:sortTotal=
"peaperDetail.Paper.GroupList.length"
@
getAfterTopic=
"getAfterTopic()"
@
getBeforeTopic=
"getBeforeTopic()"
@
answerChange=
"getAnswerChange($event, index)"
v-if=
"
item.QuestionTypeKey === 'short-answer' && index === changeIndex
"
...
...
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