From 91645e9d87249621aa358ef519111ea72679d959 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期五, 11 十月 2024 13:34:05 +0800 Subject: [PATCH] 修改 --- src/views/onlineEducation/studentSupervision/index.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/onlineEducation/studentSupervision/index.vue b/src/views/onlineEducation/studentSupervision/index.vue index a8b88a2..00eff9d 100644 --- a/src/views/onlineEducation/studentSupervision/index.vue +++ b/src/views/onlineEducation/studentSupervision/index.vue @@ -69,7 +69,7 @@ :visible.sync="learningDialog" :modal-append-to-body="false" :close-on-click-modal="false" - width="850px" + width="900px" append-to-body :before-close="handleCloseLearning"> <learning-record ref="learnRef" ></learning-record> @@ -79,7 +79,7 @@ :visible.sync="dialogVisible" :modal-append-to-body="false" :close-on-click-modal="false" - width="850px" + width="900px" :before-close="handleClose"> <exam-manage ref="examRef" ></exam-manage> </el-dialog> @@ -92,6 +92,7 @@ import learningRecord from '@/views/onlineEducation/learnRecord/index.vue' import { listStudent } from '@/api/onlineEducation/student' import noPic from '@/assets/images/none.png' +import Cookies from 'js-cookie' import { listPlat } from '@/api/onlineEducation/plat' export default { name: "nPeopleManage", @@ -155,21 +156,25 @@ }, viewLearnRecord(data){ this.learningDialog = true + Cookies.set('learnRecord',true) setTimeout(() => { this.$refs.learnRef.getList(data) },10) }, viewExamRecord(data){ this.dialogVisible = true + Cookies.set('examRecord',true) setTimeout(() => { this.$refs.examRef.getList(data) },10) }, handleClose() { + Cookies.remove('examRecord') this.dialogVisible = false; }, handleCloseLearning() { + Cookies.remove('learnRecord') this.learningDialog = false; } -- Gitblit v1.9.2