From 3a5c117b8a89fbd9ae30154023286cbbf5d7fffb Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Wed, 16 Oct 2024 13:13:08 +0800
Subject: [PATCH] 修改
---
src/views/onlineEducation/studentSupervision/index.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/onlineEducation/studentSupervision/index.vue b/src/views/onlineEducation/studentSupervision/index.vue
index 3787e21..00eff9d 100644
--- a/src/views/onlineEducation/studentSupervision/index.vue
+++ b/src/views/onlineEducation/studentSupervision/index.vue
@@ -18,7 +18,7 @@
</div>
<el-table v-loading="loading" :data="expertList">
<el-table-column label="姓名" align="center" prop="name" />
- <el-table-column label="身份证号" align="center" prop="idcard" :show-overflow-tooltip="true" />
+ <el-table-column label="身份证号" align="center" prop="idcard" :show-overflow-tooltip="true" width="170" />
<el-table-column label="性别" align="center" prop="sex" >
<template #default="scope">
<span>{{scope.row.sex == 1 ? '男' : scope.row.sex == 2?'女':'未知'}}</span>
@@ -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