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>
|
||||||
<div>
|
<div>
|
||||||
<div class="box1" style="margin-left: 55px; margin-top: 20px">
|
<div class="box1" v-for="(itteems, indexss) in values.assessmentSingleChoiceVoList" style="margin-left: 55px; margin-top: 20px" :key="indexss">
|
||||||
<div class="asstype">选择1:</div>
|
<div class="asstype">选择{{indexss+1}}:</div>
|
||||||
<div style="display:flex;justify-content:center;align-items:center;">
|
<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 style="width:8px;height:8px;border-radius:4px;background-color:#409eff;"></div>
|
||||||
</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>
|
<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>
|
</div>
|
||||||
<!-- <a-radio :value="indexs" defaultValue>{{iitem.singleOptionName}}</a-radio> -->
|
<!-- <a-radio :value="indexs" defaultValue>{{iitem.singleOptionName}}</a-radio> -->
|
||||||
</div>
|
</div>
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
<div style="margin-bottom:30px;"></div>
|
<div style="margin-bottom:30px;"></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 多项选择 -->
|
<!-- 多项选择 -->
|
||||||
<div v-if="values.questionType==2" class="assessbox" style="margin-top: 30px">
|
<div v-if="values.questionType==2" class="assessbox" style="margin-top: 30px">
|
||||||
<div class="box1">
|
<div class="box1">
|
||||||
<div class="asstype">评估类型:</div>
|
<div class="asstype">评估类型:</div>
|
||||||
<div class="typename">多选</div>
|
<div class="typename">多选</div>
|
||||||
@@ -68,14 +68,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="box1" style="margin-left: 55px; margin-top: 20px">
|
<div class="box1" v-for="(itteems, indexss) in values.multipleChoiceVoList" style="margin-left: 55px; margin-top: 20px" :key="indexss">
|
||||||
<div class="asstype">选择1:</div>
|
<div class="asstype">选择{{indexss+1}}:</div>
|
||||||
<div style="display:flex;justify-content:center;align-items:center;">
|
<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 style="width:8px;height:8px;border-radius:4px;background-color:#409eff;"></div>
|
||||||
</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>
|
<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>
|
</div>
|
||||||
<!-- <a-radio :value="indexs" defaultValue>{{iitem.singleOptionName}}</a-radio> -->
|
<!-- <a-radio :value="indexs" defaultValue>{{iitem.singleOptionName}}</a-radio> -->
|
||||||
</div>
|
</div>
|
||||||
@@ -200,7 +200,7 @@ export default {
|
|||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if(res.data.code==200){
|
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 = []
|
let allArr = []
|
||||||
for(let i=0;i<qarr.length;i++){
|
for(let i=0;i<qarr.length;i++){
|
||||||
for(let j=0;j<qarr[i].length;j++){
|
for(let j=0;j<qarr[i].length;j++){
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
<div class="up down">
|
<div class="up down">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="text">学员情况</div>
|
<div class="text">学员情况</div>
|
||||||
<div class="btn btn2">
|
<div class="btn btn2" @click="exportStudentInfo">
|
||||||
<div class="img2"></div>
|
<div class="img2"></div>
|
||||||
<div class="wz">导出信息</div>
|
<div class="wz">导出信息</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -152,6 +152,11 @@ export default {
|
|||||||
|
|
||||||
getInfoDate();
|
getInfoDate();
|
||||||
|
|
||||||
|
// 导出学员信息
|
||||||
|
function exportStudentInfo() {
|
||||||
|
window.open(`${process.env.VUE_APP_PROXY_URL}admin/assessment/manage/exportAssessmentMessage?assessmentId=${state.basicInfo.assessmentId}`)
|
||||||
|
}
|
||||||
|
|
||||||
//分页
|
//分页
|
||||||
const changePaginationStu = (page) => {
|
const changePaginationStu = (page) => {
|
||||||
state.evalStuListLoading = true;
|
state.evalStuListLoading = true;
|
||||||
@@ -327,7 +332,8 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
showassess,
|
showassess,
|
||||||
changePaginationStu
|
changePaginationStu,
|
||||||
|
exportStudentInfo
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user