|
|
@@ -21,9 +21,14 @@
|
|
|
<div class="right-side">
|
|
|
<!-- update: 仅保留AI历史对话 -->
|
|
|
<div class="my-correct-record">
|
|
|
- <h2>学生与AI对话历史记录</h2>
|
|
|
+ <h3>学生与AI对话历史记录</h3>
|
|
|
<AIChatter :dialogueId="dataForm.dialogueId" :messages="dataForm.messages" :is-teacher="true" />
|
|
|
- <el-button @click="showDialog = true">查看行为记录</el-button>
|
|
|
+ <!-- <el-button @click="showDialog = true">查看行为记录</el-button> -->
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="my-correct-behavior ">
|
|
|
+ <h3>学生行为记录</h3>
|
|
|
+ <BehaviorDialog :fileList="fileList" />
|
|
|
</div>
|
|
|
|
|
|
<!-- 教师评分、修改意见及评价 -->
|
|
|
@@ -36,26 +41,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
- <el-dialog v-model="showDialog" title="文件信息">
|
|
|
-
|
|
|
- <el-table :data="fileList" stripe>
|
|
|
- <el-table-column prop="id" label="ID"></el-table-column>
|
|
|
- <el-table-column prop="assignmentId" label="作业 ID"></el-table-column>
|
|
|
- <el-table-column prop="recordFileUrl" label="文件链接" width="300px">
|
|
|
- <template #default="scope">
|
|
|
- <a :href="scope.row.recordFileUrl" target="_blank">{{ scope.row.recordFileUrl }}</a>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="time" label="时间"></el-table-column>
|
|
|
- <el-table-column prop="studentId" label="学生 ID"></el-table-column>
|
|
|
- </el-table>
|
|
|
-
|
|
|
- <template #footer>
|
|
|
- <el-button @click="showDialog = false">取消</el-button>
|
|
|
- <el-button type="primary" @click="downloadAllFiles">导出</el-button>
|
|
|
- </template>
|
|
|
- </el-dialog>
|
|
|
+
|
|
|
|
|
|
</template>
|
|
|
|
|
|
@@ -75,6 +61,7 @@ import { useRoute } from 'vue-router'
|
|
|
import StudentEssay from "../Home/component/StudentEssay/StudentEssay.vue";
|
|
|
import StudentWritingRequirements from "../Home/component/StudentEssay/StudentWritingRequirements.vue";
|
|
|
import Remark from "../Home/component/Remark/Remark.vue";
|
|
|
+import BehaviorDialog from "../Home/component/BehaviorDialog/BehaviorDialog.vue";
|
|
|
|
|
|
|
|
|
// 获得路由中的assignmentId
|