zhouwx
2024-07-17 c1823a7f91775fd157d4e4683b597d7e426cd2ed
src/views/onlineEducation/classHourBatch/components/handleStudent.vue
@@ -1,12 +1,19 @@
<template>
  <div class="app-container">
    <div style="margin-bottom: 10px;display: flex;align-items: center;justify-content: space-between">
      <el-button
          type="primary"
          plain
          icon="Plus"
          @click="openDialog()"
      >选择学员</el-button>
      <div>
        <el-button
            type="primary"
            plain
            icon="Plus"
            @click="openDialog()"
        >选择学员</el-button>
        <el-button
            type="primary"
            plain
            @click="back"
        >返回</el-button>
      </div>
      <el-button
          type="danger"
          plain
@@ -49,7 +56,7 @@
import Cookies from "js-cookie";
import {delQuestionBank, getQuestionBank} from "@/api/onlineEducation/questionBank";
import {batchDelStudent, delBatchStu, getBatchStudent} from "@/api/onlineEducation/batch";
import {useRoute} from 'vue-router'
import {useRoute, useRouter} from 'vue-router'
const route = useRoute()
@@ -57,6 +64,7 @@
const loading = ref(false);
const dialogRef = ref();
const tableRef = ref();
const router = useRouter();
const data = reactive({
  queryParams: {
    pageId: null,
@@ -164,5 +172,9 @@
        }
      })
}
const back = () => {
  router.push("/class");
}
</script>