| | |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <pagination v-show="total>0" :total="total" :page.sync="searchForm.pageIndex" |
| | | <pagination v-show="total>0" :total="total" :page.sync="searchForm.currentPage" |
| | | :limit.sync="searchForm.pageSize" |
| | | @pagination="page"/> |
| | | <el-dialog |
| | |
| | | :title="title" |
| | | :visible.sync="open" |
| | | width="700px" |
| | | :before-close="handleClose"> |
| | | :before-close="handleClose" |
| | | :close-on-click-modal="false"> |
| | | <el-form :model="form" :rules="rules" ref="form" label-width="100px" class="demo-ruleForm"> |
| | | <el-form-item label="班级名称" prop="className"> |
| | | <el-input v-model="form.className" size="small"></el-input> |
| | |
| | | status: '', |
| | | subject: null, |
| | | pageSize: 10, |
| | | pageNum: 1 |
| | | currentPage: 1 |
| | | }, |
| | | form: { |
| | | id: null, |
| | |
| | | this.form = row |
| | | this.open = true |
| | | }, |
| | | handleClose () { |
| | | handleClose (done) { |
| | | this.open = false |
| | | this.resetForm() |
| | | done() |
| | | }, |
| | | handlerAdd () { |
| | | this.open = true |