zhouwx
2024-10-11 91645e9d87249621aa358ef519111ea72679d959
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;
    }