Commit 42920565 authored by 黄奎's avatar 黄奎

页面修改

parent 2e105b21
......@@ -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}}
......
......@@ -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:bold">
<td colspan="2" class="vClozeQuestionBold">
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr>
<td v-if="isShowStudentAnswer" colspan="2" style="font-weight:bold">
<td v-if="isShowStudentAnswer" colspan="2" class="vClozeQuestionBold">
考生答案: {{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() {
......
......@@ -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() {
......
......@@ -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() {
......
......@@ -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:bold">考生答案:{{data.StundetAnswer}}</td>
<td colspan="2" class="v_judgeQuestionBold">考生答案:{{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() {
......
......@@ -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:bold">
<td colspan="3" class="v_matchingQuestionBold">
考生答案:{{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() {
......
......@@ -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:bold">考生答案:{{data.StundetAnswer}}</td>
<td colspan="2" class="v_multipleQuestionBold">考生答案:{{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() {
......
......@@ -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:bold">
<td colspan="2" class="v_readingComprehensioQuestionBold">
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2" style="font-weight:bold">
<td colspan="2" class="v_readingComprehensioQuestionBold">
学生答案: {{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:bold">
<td colspan="2" class="v_readingComprehensioQuestionBold">
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2" style="font-weight:bold">
<td colspan="2" class="v_readingComprehensioQuestionBold">
学生答案: {{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:bold">
<td colspan="2" class="v_readingComprehensioQuestionBold">
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2" style="font-weight:bold">
<td colspan="2" class="v_readingComprehensioQuestionBold">
学生答案: {{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:bold">
<td colspan="2" class="v_readingComprehensioQuestionBold">
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2" style="font-weight:bold">
<td colspan="2" class="v_readingComprehensioQuestionBold">
学生答案: {{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() {
......
<!--共用选择题-->
<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: {
......
......@@ -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() {
......
......@@ -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:bold">考生答案:{{data.StundetAnswer}}</td>
<td colspan="2" class="v_singleQuestionBold">考生答案:{{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() {
......
<!--排序题-->
<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() {
......
......@@ -97,6 +97,12 @@
label: "班级名称",
field: "ClassName",
align: "left",
},
{
name: "ExamStatusName",
label: "状态",
field: "ExamStatusName",
align: "left",
},
{
name: "optioned",
......
......@@ -252,13 +252,11 @@
{{DataObj.PaperName}} <br />
题量:{{examNum}} &nbsp;&nbsp;&nbsp; 满分:{{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() {
......
......@@ -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, //总题量
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment