Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
42920565
Commit
42920565
authored
Sep 08, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
2e105b21
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
198 additions
and
81 deletions
+198
-81
single.vue
src/components/questiontype/single.vue
+1
-1
v-cloze.vue
src/components/questiontype/v-cloze.vue
+14
-4
v-entryproblem.vue
src/components/questiontype/v-entryproblem.vue
+8
-2
v-fillin.vue
src/components/questiontype/v-fillin.vue
+7
-1
v-judge.vue
src/components/questiontype/v-judge.vue
+14
-4
v-matching.vue
src/components/questiontype/v-matching.vue
+13
-3
v-multiple.vue
src/components/questiontype/v-multiple.vue
+14
-3
v-readingcomprehensio.vue
src/components/questiontype/v-readingcomprehensio.vue
+29
-16
v-sharingchoose.vue
src/components/questiontype/v-sharingchoose.vue
+15
-5
v-shortanswer.vue
src/components/questiontype/v-shortanswer.vue
+15
-5
v-single.vue
src/components/questiontype/v-single.vue
+17
-6
v-sortingproblem.vue
src/components/questiontype/v-sortingproblem.vue
+19
-9
examineeManager.vue
src/pages/exam/examineeManager.vue
+6
-0
examtestinfo.vue
src/pages/exam/examtestinfo.vue
+14
-11
examtestreview.vue
src/pages/exam/examtestreview.vue
+12
-11
No files found.
src/components/questiontype/single.vue
View file @
42920565
...
...
@@ -8,7 +8,7 @@
<
template
>
<div
class=
"singleQuestion"
>
<table
v-if=
"data&&data.length>0"
class=
"common_TiTable"
>
<tr
v-for=
"(item,index) in data"
>
<tr
v-for=
"(item,index) in data"
:key=
"index"
>
<td
style=
"width:40px;text-align:center;"
>
<div
class=
"Answer_List"
@
click=
"ChangeItem(item)"
:class=
"
{'Is_Answer':item.IsAnswer}">
{{
item
.
Name
}}
...
...
src/components/questiontype/v-cloze.vue
View file @
42920565
...
...
@@ -28,6 +28,10 @@
cursor
:
pointer
;
}
.vClozeQuestionBold
{
font-weight
:
bold
;
}
</
style
>
<
template
>
<div
class=
"vClozeQuestion"
>
...
...
@@ -66,19 +70,20 @@
</tbody>
<tfoot
v-if=
"isShowAnswer"
>
<tr>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
<td
colspan=
"2"
class=
"vClozeQuestionB
old"
>
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr>
<td
v-if=
"isShowStudentAnswer"
colspan=
"2"
style=
"font-weight:b
old"
>
<td
v-if=
"isShowStudentAnswer"
colspan=
"2"
class=
"vClozeQuestionB
old"
>
考生答案: {{data.AnswerList[index].SubAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.AnswerList[index].StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.AnswerList[index].StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"vClozeQuestionBold"
>
考生得分:{{data.AnswerList[index].StudentScore}}
</span>
</td>
</tr>
</tfoot>
...
...
@@ -118,6 +123,11 @@
isShowScore
:
{
type
:
Boolean
,
default
:
false
,
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
data
()
{
...
...
src/components/questiontype/v-entryproblem.vue
View file @
42920565
...
...
@@ -73,8 +73,9 @@
</
template
>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_entryProblemBold"
>
考生得分:{{data.StudentScore}}
</span>
</td>
</tr>
<tr>
...
...
@@ -104,6 +105,11 @@
isShowStudentAnswer
:
{
type
:
Boolean
,
default
:
false
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
data
()
{
...
...
src/components/questiontype/v-fillin.vue
View file @
42920565
...
...
@@ -74,8 +74,9 @@
</
template
>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_fillInBold"
>
考生得分:{{data.StudentScore}}
</span>
</td>
</tr>
<tr>
...
...
@@ -104,6 +105,11 @@
isShowStudentAnswer
:
{
type
:
Boolean
,
default
:
false
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
data
()
{
...
...
src/components/questiontype/v-judge.vue
View file @
42920565
...
...
@@ -4,6 +4,10 @@
width
:
100%
;
}
.v_judgeQuestionBold
{
font-weight
:
bold
}
</
style
>
<
template
>
<div
class=
"v_judgeQuestion"
>
...
...
@@ -31,15 +35,16 @@
</tbody>
<tfoot
v-if=
"isShowAnswer"
>
<tr>
<td
colspan=
"2"
>
正确答案:{{data.Answer}}
</td>
<td
colspan=
"2"
class=
"v_judgeQuestionBold"
>
正确答案:{{data.Answer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
考生答案:{{data.StundetAnswer}}
</td>
<td
colspan=
"2"
class=
"v_judgeQuestionB
old"
>
考生答案:{{data.StundetAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_judgeQuestionBold"
>
考生得分:{{data.StudentScore}}
</span>
</td>
</tr>
<tr>
...
...
@@ -69,6 +74,11 @@
isShowStudentAnswer
:
{
type
:
Boolean
,
default
:
false
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
data
()
{
...
...
src/components/questiontype/v-matching.vue
View file @
42920565
...
...
@@ -20,6 +20,10 @@
margin
:
13px
12px
0
0
;
}
.v_matchingQuestionBold
{
font-weight
:
bold
;
}
</
style
>
<
template
>
<div
class=
"v_matchingQuestion"
>
...
...
@@ -79,14 +83,15 @@
</tr>
<tfoot>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"3"
style=
"font-weight:b
old"
>
<td
colspan=
"3"
class=
"v_matchingQuestionB
old"
>
考生答案:{{data.StundetAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"3"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_matchingQuestionBold"
>
考生得分:{{data.StudentScore}}
</span>
</td>
</tr>
<tr>
...
...
@@ -118,6 +123,11 @@
isShowStudentAnswer
:
{
type
:
Boolean
,
default
:
false
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
data
()
{
...
...
src/components/questiontype/v-multiple.vue
View file @
42920565
...
...
@@ -4,6 +4,10 @@
width
:
100%
;
}
.v_multipleQuestionBold
{
font-weight
:
bold
;
}
</
style
>
<
template
>
<div
class=
"v_multipleQuestion"
>
...
...
@@ -30,14 +34,16 @@
</tbody>
<tfoot
v-if=
"isShowAnswer"
>
<tr>
<td
colspan=
"2"
>
正确答案:{{data.Answer}}
</td>
<td
colspan=
"2"
class=
"v_multipleQuestionBold"
>
正确答案:{{data.Answer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
考生答案:{{data.StundetAnswer}}
</td>
<td
colspan=
"2"
class=
"v_multipleQuestionB
old"
>
考生答案:{{data.StundetAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_multipleQuestionBold"
>
考生得分:{{data.StudentScore}}
</span>
</td>
</tr>
<tr>
...
...
@@ -67,6 +73,11 @@
isShowStudentAnswer
:
{
type
:
Boolean
,
default
:
false
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
data
()
{
...
...
src/components/questiontype/v-readingcomprehensio.vue
View file @
42920565
...
...
@@ -24,6 +24,10 @@
cursor
:
pointer
;
}
.v_readingComprehensioQuestionBold
{
font-weight
:
bold
;
}
</
style
>
<
template
>
<div
class=
"v_readingComprehensioQuestion"
>
...
...
@@ -85,19 +89,20 @@
</td>
</tr>
<tr
v-if=
"isShowAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
<td
colspan=
"2"
class=
"v_readingComprehensioQuestionB
old"
>
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
<td
colspan=
"2"
class=
"v_readingComprehensioQuestionB
old"
>
学生答案: {{data.AnswerList[index].SubAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.AnswerList[index].StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.AnswerList[index].StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_readingComprehensioQuestionBold"
>
考生得分:{{data.AnswerList[index].StudentScore}}
</span>
</td>
</tr>
</template>
...
...
@@ -114,19 +119,20 @@
</tr>
</
template
>
<tr
v-if=
"isShowAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
<td
colspan=
"2"
class=
"v_readingComprehensioQuestionB
old"
>
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
<td
colspan=
"2"
class=
"v_readingComprehensioQuestionB
old"
>
学生答案: {{data.AnswerList[index].SubAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.AnswerList[index].StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.AnswerList[index].StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_readingComprehensioQuestionBold"
>
考生得分:{{data.AnswerList[index].StudentScore}}
</span>
</td>
</tr>
</template>
...
...
@@ -157,19 +163,20 @@
</tr>
</
template
>
<tr
v-if=
"isShowAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
<td
colspan=
"2"
class=
"v_readingComprehensioQuestionB
old"
>
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
<td
colspan=
"2"
class=
"v_readingComprehensioQuestionB
old"
>
学生答案: {{data.AnswerList[index].SubAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.AnswerList[index].StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.AnswerList[index].StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_readingComprehensioQuestionBold"
>
考生得分:{{data.AnswerList[index].StudentScore}}
</span>
</td>
</tr>
</template>
...
...
@@ -183,19 +190,20 @@
</tr>
</
template
>
<tr
v-if=
"isShowAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
<td
colspan=
"2"
class=
"v_readingComprehensioQuestionB
old"
>
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
<td
colspan=
"2"
class=
"v_readingComprehensioQuestionB
old"
>
学生答案: {{data.AnswerList[index].SubAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.AnswerList[index].StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.AnswerList[index].StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_readingComprehensioQuestionBold"
>
考生得分:{{data.AnswerList[index].StudentScore}}
</span>
</td>
</tr>
</template>
...
...
@@ -229,6 +237,11 @@
isShowScore
:
{
type
:
Boolean
,
default
:
false
,
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
data
()
{
...
...
src/components/questiontype/v-sharingchoose.vue
View file @
42920565
<!--共用选择题-->
<
style
>
.sharingChooseQuestion
{
.
v_
sharingChooseQuestion
{
width
:
100%
;
}
...
...
@@ -11,9 +11,13 @@
margin-left
:
13px
;
}
.v_sharingChooseQuestionBold
{
font-weight
:
bold
;
}
</
style
>
<
template
>
<div
class=
"sharingChooseQuestion"
>
<div
class=
"
v_
sharingChooseQuestion"
>
<table
v-if=
"data.QuestionContentObj&&data.QuestionContentObj.length>0"
class=
"common_TiTable"
>
<thead>
<tr>
...
...
@@ -63,14 +67,15 @@
</tbody>
<tfoot
v-if=
"isShowStudentAnswer"
>
<tr>
<td
colspan=
"2"
style=
"font-weight:bold;
"
>
<td
colspan=
"2"
class=
"v_sharingChooseQuestionBold
"
>
考生答案:{{data.StundetAnswer}}
</td>
</tr>
<tr>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_sharingChooseQuestionBold"
>
考生得分:{{data.StudentScore}}
</span>
</td>
</tr>
</tfoot>
...
...
@@ -97,6 +102,11 @@
isShowStudentAnswer
:
{
type
:
Boolean
,
default
:
false
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
components
:
{
...
...
src/components/questiontype/v-shortanswer.vue
View file @
42920565
...
...
@@ -5,26 +5,31 @@
margin-bottom
:
20px
;
}
.v_shortAnswerQuestionBold
{
font-weight
:
bold
;
}
</
style
>
<
template
>
<div
class=
"v_shortAnswerQuestion"
>
<div
style=
"display:flex;"
v-if=
"isShowAnswer"
>
<div
style=
"font-weight:bold;
"
>
答案:
</div>
<div
class=
"v_shortAnswerQuestionBold
"
>
答案:
</div>
<div
v-html=
"data.Answer"
></div>
</div>
<div
style=
"display:flex;"
v-if=
"isOperate"
>
<el-input
v-model=
"data.Answer"
placeholder=
"请填写问题答案"
>
</el-input>
</div>
<div
v-if=
"isShowStudentAnswer"
style=
"display:flex;"
>
<div
style=
"font-weight:bold;
"
>
考生答案:
</div>
<div
class=
"v_shortAnswerQuestionBold
"
>
考生答案:
</div>
<div
v-html=
"data.StundetAnswer"
></div>
</div>
<div
v-if=
"isShowStudentAnswer"
style=
"display:flex;"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_shortAnswerQuestionBold"
>
考生得分:
{{
data
.
StudentScore
}}
</span>
</div>
<div
style=
"display:flex;"
v-if=
"isShowAnswer"
>
<div
style=
"font-weight:bold;
"
>
解析:
</div>
<div
class=
"v_shortAnswerQuestionBold
"
>
解析:
</div>
<div
v-html=
"data.AnswerParse"
></div>
</div>
</div>
...
...
@@ -49,6 +54,11 @@
isShowStudentAnswer
:
{
type
:
Boolean
,
default
:
false
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
data
()
{
...
...
src/components/questiontype/v-single.vue
View file @
42920565
...
...
@@ -3,6 +3,10 @@
width
:
100%
;
}
.v_singleQuestionBold
{
font-weight
:
bold
;
}
</
style
>
<!--单选题查看-->
<
template
>
...
...
@@ -30,14 +34,16 @@
</tbody>
<tfoot
v-if=
"isShowAnswer"
>
<tr>
<td
colspan=
"2"
>
正确答案:{{data.Answer}}
</td>
<td
colspan=
"2"
class=
"v_singleQuestionBold"
>
正确答案:{{data.Answer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
style=
"font-weight:b
old"
>
考生答案:{{data.StundetAnswer}}
</td>
<td
colspan=
"2"
class=
"v_singleQuestionB
old"
>
考生答案:{{data.StundetAnswer}}
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td
colspan=
"2"
>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_singleQuestionBold"
>
考生得分:{{data.StudentScore}}
</span>
</td>
</tr>
<tr>
...
...
@@ -64,9 +70,14 @@
default
:
false
,
},
//是否显示学生答案
isShowStudentAnswer
:{
type
:
Boolean
,
default
:
false
isShowStudentAnswer
:
{
type
:
Boolean
,
default
:
false
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
data
()
{
...
...
src/components/questiontype/v-sortingproblem.vue
View file @
42920565
<!--排序题-->
<
style
>
.sortingProblemQuestion
{
.
v_
sortingProblemQuestion
{
width
:
100%
}
...
...
@@ -32,11 +32,15 @@
box-shadow
:
0
0
7px
1px
#75BAFF
;
}
.v_sortingProblemQuestionBold
{
font-weight
:
bold
;
}
</
style
>
<
template
>
<div
class=
"sortingProblemQuestion"
>
<div
class=
"
v_
sortingProblemQuestion"
>
<table
v-if=
"data&&data.QuestionContentObj&&data.QuestionContentObj.length>0"
>
<tr
v-for=
"(item,index) in data.QuestionContentObj[0]"
>
<tr
v-for=
"(item,index) in data.QuestionContentObj[0]"
:key=
"index"
>
<td
style=
"width:40px;text-align:center;"
>
{{
item
.
Name
}}
</td>
...
...
@@ -65,24 +69,25 @@
<table
v-if=
"isShowAnswer"
>
<tr>
<td>
<span
style=
"font-weight:bold;
"
>
答案:
</span>
<span>
<span
class=
"v_sortingProblemQuestionBold
"
>
答案:
</span>
<span
class=
"v_sortingProblemQuestionBold"
>
{{data.Answer}}
</span>
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td>
<span
style=
"font-weight:bold;
"
>
考生答案:
</span>
<span
style=
"font-weight:bold;
"
>
<span
class=
"v_sortingProblemQuestionBold
"
>
考生答案:
</span>
<span
class=
"v_sortingProblemQuestionBold
"
>
{{data.StundetAnswer}}
</span>
</td>
</tr>
<tr
v-if=
"isShowStudentAnswer"
>
<td>
<q-input
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<q-input
v-if=
"isEditStudentScore"
standout=
"bg-primary text-white"
v-model=
"data.StudentScore"
label=
"得分:"
maxlength=
"20"
@
input=
"getQuestionScore"
/>
<span
v-else
class=
"v_sortingProblemQuestionBold"
>
考生得分:{{data.StudentScore}}
</span>
</td>
</tr>
<tr>
...
...
@@ -113,6 +118,11 @@
isShowStudentAnswer
:
{
type
:
Boolean
,
default
:
false
},
//是否可以编辑学生得分
isEditStudentScore
:
{
type
:
Boolean
,
default
:
false
,
}
},
data
()
{
...
...
src/pages/exam/examineeManager.vue
View file @
42920565
...
...
@@ -97,6 +97,12 @@
label
:
"班级名称"
,
field
:
"ClassName"
,
align
:
"left"
,
},
{
name
:
"ExamStatusName"
,
label
:
"状态"
,
field
:
"ExamStatusName"
,
align
:
"left"
,
},
{
name
:
"optioned"
,
...
...
src/pages/exam/examtestinfo.vue
View file @
42920565
...
...
@@ -252,13 +252,11 @@
{{
DataObj
.
PaperName
}}
<br
/>
题量:
{{
examNum
}}
满分:
{{
examScore
}}
<br
/>
学生总得分:
{{
studentScore
}}
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"DataObj.StuComment"
class=
"col-6 q-pb-lg q-pr-lg"
label=
"评语"
/>
学生总得分:
{{
studentScore
}}
<br
/>
评语:
{{
DataObj
.
StuComment
}}
<br/>
</div>
</div>
<div
style=
"width:20%;text-align:right;"
>
<!--
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"submitTeacherScoring()"
label=
"提交阅卷"
/>
-->
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"goBack()"
label=
"返回"
/>
</div>
</div>
...
...
@@ -366,7 +364,7 @@
vSharingchoose
},
meta
:
{
title
:
"
阅卷
"
title
:
"
考生试卷详情
"
},
watch
:
{
...
...
@@ -391,8 +389,9 @@
PaperConfig
:
{},
//试卷配置
isShowAnswer
:
true
,
//是否显示答案
isShowStudentAnswer
:
true
,
//是否显示学生答案,
isShowScore
:
true
,
//是否显示完型填空、阅读理解、听力,小题分数
isShowScore
:
true
,
//是否显示完型填空、阅读理解、听力,小题分数
studentScore
:
0
,
//学生总得分
examScore
:
0
,
//总分,
examNum
:
0
,
//总题量
}
...
...
@@ -447,16 +446,18 @@
GetPaperInfo
()
{
queryPaperDetails
(
this
.
msg
).
then
(
res
=>
{
var
tempData
=
res
.
Data
;
console
.
log
(
"tempData"
,
tempData
);
if
(
res
.
Code
==
1
)
{
this
.
DataObj
.
PaperId
=
tempData
.
Paper
.
PaperId
;
this
.
DataObj
.
PaperName
=
tempData
.
Paper
.
PaperName
;
this
.
DataObj
.
GuestId
=
tempData
.
Paper
.
GuestId
;
this
.
DataObj
.
PublishId
=
tempData
.
Paper
.
PublishId
;
this
.
DataObj
.
StuComment
=
tempData
.
StuComment
;
this
.
DataObj
.
StuComment
=
tempData
.
StuComment
;
if
(
tempData
.
Paper
.
GroupList
&&
tempData
.
Paper
.
GroupList
.
length
>
0
)
{
this
.
DataObj
.
GroupList
=
tempData
.
Paper
.
GroupList
;
}
this
.
PaperConfig
=
tempData
.
Publish
;
this
.
studentScore
=
tempData
.
TotalScore
this
.
calcPaper
();
}
})
...
...
@@ -465,7 +466,6 @@
calcPaper
()
{
this
.
examScore
=
0
;
this
.
examNum
=
0
;
this
.
studentScore
=
0
;
if
(
this
.
DataObj
&&
this
.
DataObj
.
GroupList
)
{
this
.
DataObj
.
GroupList
.
forEach
(
x
=>
{
if
(
x
.
DetailsList
&&
x
.
DetailsList
.
length
>
0
)
{
...
...
@@ -473,7 +473,6 @@
x
.
DetailsList
.
forEach
(
y
=>
{
if
(
y
.
Score
)
{
this
.
examScore
+=
Number
(
y
.
Score
);
this
.
studentScore
+=
Number
(
y
.
StudentScore
)
}
})
}
...
...
@@ -482,9 +481,13 @@
},
//返回
goBack
()
{
var
qMsg
=
{
Id
:
this
.
msg
.
PublishId
};
this
.
$router
.
push
({
path
:
'/exam/examlist'
})
path
:
'/exam/examineeManager'
,
query
:
qMsg
});
},
//老师提交阅卷
submitTeacherScoring
()
{
...
...
src/pages/exam/examtestreview.vue
View file @
42920565
...
...
@@ -276,19 +276,19 @@
<!--单选题-->
<v-single
v-if=
"dItem.QuestionTypeKey=='single'||dItem.QuestionTypeKey=='single-number'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
>
@
getScore=
"calcPaper"
:isEditStudentScore=
"isEditStudentScore"
>
</v-single>
<!--多选题-->
<v-multiple
v-if=
"dItem.QuestionTypeKey=='multiple'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
>
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
:isEditStudentScore=
"isEditStudentScore"
>
</v-multiple>
<!--填空题-->
<v-fillin
v-if=
"dItem.QuestionTypeKey=='fill-in'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
>
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
:isEditStudentScore=
"isEditStudentScore"
>
</v-fillin>
<!--判断题-->
<v-judge
v-if=
"dItem.QuestionTypeKey=='judge'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
></v-judge>
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
:isEditStudentScore=
"isEditStudentScore"
></v-judge>
<!--简答题、名词解释、论述题、计算题、口语题、其它-->
<v-shortanswer
v-if=
"dItem.QuestionTypeKey=='short-answer'
...
...
@@ -297,37 +297,37 @@
||dItem.QuestionTypeKey=='calculation'
|| dItem.QuestionTypeKey=='spoken'
|| dItem.QuestionTypeKey=='other'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
>
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
:isEditStudentScore=
"isEditStudentScore"
>
</v-shortanswer>
<!--分录题、资料题-->
<v-entryproblem
v-if=
"dItem.QuestionTypeKey=='entry-problem'|| dItem.QuestionTypeKey=='data-question'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
>
@
getScore=
"calcPaper"
:isEditStudentScore=
"isEditStudentScore"
>
</v-entryproblem>
<!--连线题-->
<v-matching
v-if=
"dItem.QuestionTypeKey=='matching'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
>
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
:isEditStudentScore=
"isEditStudentScore"
>
</v-matching>
<!--排序题-->
<v-sortingproblem
v-if=
"dItem.QuestionTypeKey=='sorting-problem'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
>
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
:isEditStudentScore=
"isEditStudentScore"
>
</v-sortingproblem>
<!--完型填空-->
<v-cloze
v-if=
"dItem.QuestionTypeKey=='cloze'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
:isShowScore=
"isShowScore"
></v-cloze>
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
:isShowScore=
"isShowScore"
:isEditStudentScore=
"isEditStudentScore"
></v-cloze>
<!--阅读理解、听力题-->
<v-readingcomprehensio
v-if=
"dItem.QuestionTypeKey=='reading-comprehensio'||dItem.QuestionTypeKey=='listening'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
:isShowScore=
"isShowScore"
>
@
getScore=
"calcPaper"
:isShowScore=
"isShowScore"
:isEditStudentScore=
"isEditStudentScore"
>
</v-readingcomprehensio>
<!--共用选择题-->
<v-sharingchoose
v-if=
"dItem.QuestionTypeKey=='sharing-choose'"
:questionObj=
"dItem"
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
>
:isShowAnswer=
"isShowAnswer"
:isShowStudentAnswer=
"isShowStudentAnswer"
@
getScore=
"calcPaper"
:isEditStudentScore=
"isEditStudentScore"
>
</v-sharingchoose>
</div>
</div>
...
...
@@ -392,6 +392,7 @@
isShowAnswer
:
true
,
//是否显示答案
isShowStudentAnswer
:
true
,
//是否显示学生答案
isShowScore
:
true
,
//是否显示完型填空、阅读理解、听力,小题分数
isEditStudentScore
:
true
,
//是否可以编辑学生得分
studentScore
:
0
,
//学生总得分
examScore
:
0
,
//总分,
examNum
:
0
,
//总题量
...
...
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