| | |
| | | width="180px" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="年级" |
| | | label="状态" |
| | | align="center" |
| | | width="80px" |
| | | prop="grade" |
| | | prop="status" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | width="100px" |
| | |
| | | <el-button size="small" @click="handlerEdit(scope.row)" type="primary">修改</el-button> |
| | | <el-button size="small" type="warning">班级验证</el-button> |
| | | <el-button size="small" type="info">通知</el-button> |
| | | <el-button @click="routersTo()" size="small" type="success">成员管理</el-button> |
| | | <el-button @click="remove(scope.row.id)" type="danger" size="small">删除</el-button> |
| | | <el-button @click="studentManager(scope.row.id)" size="small" type="success">成员管理</el-button> |
| | | <el-button @click="remove(scope.row.id)" type="danger" size="small">解散</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | }, |
| | | remove(id) { |
| | | deleteClassesById(id).then(res => { |
| | | this.$message.success("删除成功") |
| | | this.$message.success(res.data.message) |
| | | this.page() |
| | | }) |
| | | }, |
| | |
| | | this.title = "新增班级" |
| | | }, |
| | | // 跳转(查看班级人员情况) |
| | | routersTo() { |
| | | this.$router.push({ |
| | | name: "ClassStaff", |
| | | }); |
| | | studentManager(classesId) { |
| | | this.$router.push({ path: "class-management/Class-staff", query: { classesId: classesId } }); |
| | | }, |
| | | // 返回上一个页面 |
| | | goBack() { |