xiangpei
2024-10-16 f8e01819a747c0615ad047a39a93ecd72684b635
班级管理恢复解散点击无效问题
1个文件已修改
12 ■■■■ 已修改文件
src/views/class-management/Class.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/class-management/Class.vue
@@ -88,14 +88,14 @@
        fixed="right"
      >
        <template slot-scope="scope">
          <el-button v-if="scope.row.status !== '解散'" size="small" @click="handlerEdit(scope.row)"
          <el-button v-show="scope.row.status !== '解散'" size="small" @click="handlerEdit(scope.row)"
                     type="primary">修改
          </el-button>
          <el-button v-if="scope.row.status !== '解散'" size="small" type="warning">班级验证</el-button>
          <el-button v-if="scope.row.status !== '解散'" size="small" @click="handlerOpenNotify(scope.row)"
          <el-button v-show="scope.row.status !== '解散'" size="small" type="warning">班级验证</el-button>
          <el-button v-show="scope.row.status !== '解散'" size="small" @click="handlerOpenNotify(scope.row)"
                     type="info">通知
          </el-button>
          <el-button v-if="scope.row.status !== '解散'" @click="studentManager(scope.row.id)" size="small"
          <el-button v-show="scope.row.status !== '解散'" @click="studentManager(scope.row.id)" size="small"
                     type="success">成员管理
          </el-button>
          <el-popconfirm
@@ -103,7 +103,7 @@
            title="确定要解散该班级?"
            @confirm="dissolution(scope.row.id)"
          >
            <el-button slot="reference" v-if="scope.row.status !== '解散'" type="danger"
            <el-button slot="reference" v-show="scope.row.status !== '解散'" type="danger"
                       size="small">解散
            </el-button>
          </el-popconfirm>
@@ -112,7 +112,7 @@
            title="确定要恢复该班级吗?"
            @confirm="recover(scope.row.id)"
          >
            <el-button slot="reference" v-if="scope.row.status === '解散'" type="success"
            <el-button slot="reference" v-show="scope.row.status === '解散'" type="success"
                       size="small">恢复正常
            </el-button>
          </el-popconfirm>