mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +08:00
fix:修改评估管理学员情况查看评估详情题目问题,增加导出数据
This commit is contained in:
@@ -41,14 +41,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="box1" style="margin-left: 55px; margin-top: 20px">
|
||||
<div class="asstype">选择1:</div>
|
||||
<div class="box1" v-for="(itteems, indexss) in values.assessmentSingleChoiceVoList" style="margin-left: 55px; margin-top: 20px" :key="indexss">
|
||||
<div class="asstype">选择{{indexss+1}}:</div>
|
||||
<div style="display:flex;justify-content:center;align-items:center;">
|
||||
<div v-if="values.select" style="display:flex;justify-content:center;align-items:center;width:16px;height:16px;border-radius:8px;border:1px solid rgba(151, 151, 151, 0.29);margin-right: 8px;">
|
||||
<div v-if="itteems.select" style="display:flex;justify-content:center;align-items:center;width:16px;height:16px;border-radius:8px;border:1px solid rgba(151, 151, 151, 0.29);margin-right: 8px;">
|
||||
<div style="width:8px;height:8px;border-radius:4px;background-color:#409eff;"></div>
|
||||
</div>
|
||||
<div v-else style="width:16px;height:16px;border-radius:8px;border:1px solid rgba(151, 151, 151, 0.29);margin-right: 8px;"></div>
|
||||
{{values.singleOptionName}}
|
||||
{{itteems.singleOptionName}}
|
||||
</div>
|
||||
<!-- <a-radio :value="indexs" defaultValue>{{iitem.singleOptionName}}</a-radio> -->
|
||||
</div>
|
||||
@@ -68,14 +68,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="box1" style="margin-left: 55px; margin-top: 20px">
|
||||
<div class="asstype">选择1:</div>
|
||||
<div class="box1" v-for="(itteems, indexss) in values.multipleChoiceVoList" style="margin-left: 55px; margin-top: 20px" :key="indexss">
|
||||
<div class="asstype">选择{{indexss+1}}:</div>
|
||||
<div style="display:flex;justify-content:center;align-items:center;">
|
||||
<div v-if="values.select" style="display:flex;justify-content:center;align-items:center;width:16px;height:16px;border-radius:8px;border:1px solid rgba(151, 151, 151, 0.29);margin-right: 8px;">
|
||||
<div v-if="itteems.select" style="display:flex;justify-content:center;align-items:center;width:16px;height:16px;border-radius:8px;border:1px solid rgba(151, 151, 151, 0.29);margin-right: 8px;">
|
||||
<div style="width:8px;height:8px;border-radius:4px;background-color:#409eff;"></div>
|
||||
</div>
|
||||
<div v-else style="width:16px;height:16px;border-radius:8px;border:1px solid rgba(151, 151, 151, 0.29);margin-right: 8px;"></div>
|
||||
{{values.multipleOptionName}}
|
||||
{{itteems.multipleOptionName}}
|
||||
</div>
|
||||
<!-- <a-radio :value="indexs" defaultValue>{{iitem.singleOptionName}}</a-radio> -->
|
||||
</div>
|
||||
@@ -200,7 +200,7 @@ export default {
|
||||
}).then(res=>{
|
||||
console.log(res)
|
||||
if(res.data.code==200){
|
||||
let qarr = [res.data.data.assessmentEssayQuestionDtoList, res.data.data.assessmentMultipleChoiceDtoList,res.data.data.assessmentScoringQuestionDtoList,res.data.data.assessmentSingleChoiceDtoList]
|
||||
let qarr = [res.data.data.essayQuestionVoList, res.data.data.multipleStemVoList,res.data.data.scoringQuestionVoList,res.data.data.singleStemVoList]
|
||||
let allArr = []
|
||||
for(let i=0;i<qarr.length;i++){
|
||||
for(let j=0;j<qarr[i].length;j++){
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<div class="up down">
|
||||
<div class="header">
|
||||
<div class="text">学员情况</div>
|
||||
<div class="btn btn2">
|
||||
<div class="btn btn2" @click="exportStudentInfo">
|
||||
<div class="img2"></div>
|
||||
<div class="wz">导出信息</div>
|
||||
</div>
|
||||
@@ -152,6 +152,11 @@ export default {
|
||||
|
||||
getInfoDate();
|
||||
|
||||
// 导出学员信息
|
||||
function exportStudentInfo() {
|
||||
window.open(`${process.env.VUE_APP_PROXY_URL}admin/assessment/manage/exportAssessmentMessage?assessmentId=${state.basicInfo.assessmentId}`)
|
||||
}
|
||||
|
||||
//分页
|
||||
const changePaginationStu = (page) => {
|
||||
state.evalStuListLoading = true;
|
||||
@@ -327,7 +332,8 @@ export default {
|
||||
},
|
||||
],
|
||||
showassess,
|
||||
changePaginationStu
|
||||
changePaginationStu,
|
||||
exportStudentInfo
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user