baigl #229

Merged
baigl merged 2 commits from baigl into main 2024-09-19 16:58:15 +08:00
1 changed files with 16 additions and 18 deletions
Showing only changes of commit 9ea05568e1 - Show all commits

View File

@ -8,15 +8,15 @@
<div class="teacher_content_con"> <div class="teacher_content_con">
<!-- 题目内容习题训练 --> <!-- 题目内容习题训练 -->
<div v-if="dialogProps.studentObj.worktype == '习题训练'"> <div v-if="dialogProps.studentObj.worktype == '习题训练'">
<div v-for="(quItem, qIndex) in dialogProps.quizlist" :key="quItem.id">
<div v-for="(stuItem, sIndex) in dialogProps.studentQuizAllList" :key="stuItem.id"> <div v-for="(stuItem, sIndex) in dialogProps.studentQuizAllList" :key="stuItem.id">
<div v-for="quItem in dialogProps.quizlist" :key="quItem.id">
<div v-if="stuItem.entpcourseworkid == quItem.id"> <div v-if="stuItem.entpcourseworkid == quItem.id">
<el-card style="max-width: 100%; margin-bottom: 10px"> <el-card style="max-width: 100%; margin-bottom: 10px">
<!-- 题型 分值 --> <!-- 题型 分值 -->
<template #header> <template #header>
<div class="card-header"> <div class="card-header">
<span <span
>{{ sIndex + 1 }}{{ quItem.worktype }} >{{ qIndex + 1 }}{{ quItem.worktype }}
{{ stuItem.score ? stuItem.score : 0 }}</span {{ stuItem.score ? stuItem.score : 0 }}</span
> >
</div> </div>
@ -94,11 +94,8 @@
</span> </span>
</el-col> </el-col>
<el-col :span="6" style="padding: 10px"> <el-col :span="6" style="padding: 10px">
<div <div v-if="stuItem.imagefile && stuItem.imagefile.length > 0">
v-for="(imageItem, index) in stuItem.imagefile" <div v-for="(imageItem, index) in stuItem.imagefile" :key="index">
v-if="stuItem.imagefile && stuItem.imagefile.length > 0"
:key="index"
>
<el-image <el-image
style="width: 30px; height: 30px" style="width: 30px; height: 30px"
:src="imageItem" :src="imageItem"
@ -110,6 +107,7 @@
fit="contain" fit="contain"
/> />
</div> </div>
</div>
</el-col> </el-col>
<el-col :span="6" style="padding: 10px"> <el-col :span="6" style="padding: 10px">
<!-- 单选题 填空题 多选题 判断题 主观题 复合题 待完善 <!-- 单选题 填空题 多选题 判断题 主观题 复合题 待完善