lohir
2024-10-17 2e45831fca4c883a7f67a06c65749c048c409ffe
班级成员管理显示班级名
3个文件已修改
12 ■■■■ 已修改文件
src/views/class-management/Class.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/class-management/ClassStaff.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/exam/ExamManage.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/class-management/Class.vue
@@ -95,7 +95,7 @@
          <el-button v-show="scope.row.status !== '解散'" size="small" @click="handlerOpenNotify(scope.row)"
                     type="info">通知
          </el-button>
          <el-button v-show="scope.row.status !== '解散'" @click="studentManager(scope.row.id)" size="small"
          <el-button v-show="scope.row.status !== '解散'" @click="studentManager(scope.row.id,scope.row.className)" size="small"
                     type="success">成员管理
          </el-button>
          <el-popconfirm
@@ -352,8 +352,8 @@
      this.title = '新增班级'
    },
    // 跳转(查看班级人员情况)
    studentManager (classesId) {
      this.$router.push({ path: '/classes/class-management/Class-staff', query: { classesId: classesId } })
    studentManager (classesId,className) {
      this.$router.push({ path: '/classes/class-management/Class-staff', query: { classesId: classesId, className: className } })
    },
    // 返回上一个页面
    goBack () {
src/views/class-management/ClassStaff.vue
@@ -3,7 +3,7 @@
  <div class="app-container">
    <div style="display: flex; flex-direction: row">
      <div style="padding-bottom:20px">
        <span class="item">{{ title }}</span>
        <span class="item">{{ this.$route.query.className }}</span>
        <el-button class="item" @click="handlerAddStudent" type="primary" size="small">新增学员</el-button>
        <el-button class="item" @click="open = true" type="primary" size="small">学员调整</el-button>
      </div>
src/views/exam/exam/ExamManage.vue
@@ -119,7 +119,7 @@
      class="flex"
      style="justify-content:center;margin-top:20px;"
    >
      <pagination v-show="total>0" :total="total" :page.sync="searchForm.pageIndex" :limit.sync="searchForm.pageSize"
      <pagination v-show="total>0" :total="total" :page.sync="searchForm.currentPage" :limit.sync="searchForm.pageSize"
                  @pagination="page"/>
    </div>
    <el-dialog width="500px" :title="title" @close="closeHandler" :visible.sync="open" :destroy-on-close="true"
@@ -221,7 +221,7 @@
      searchForm: {
        examName: '',
        subject: null,
        pageIndex: 1,
        currentPage: 1,
        pageSize: 10
      },
      tableData: []