| | |
| | | title="班级通知" |
| | | :visible.sync="notifyOpen" |
| | | width="600px" |
| | | :before-close="handleClose"> |
| | | :before-close="handleNotifyClose" |
| | | :close-on-click-modal="false"> |
| | | <el-form :model="notifyForm" :rules="notifyRules" ref="notifyForm" label-width="100px" class="demo-ruleForm"> |
| | | <el-form-item label="通知班级:" prop="className"> |
| | | <span>{{ notifyForm.className }}</span> |
| | |
| | | this.form = row |
| | | this.open = true |
| | | }, |
| | | handleClose (done) { |
| | | handleClose () { |
| | | this.open = false |
| | | this.resetForm() |
| | | done() |
| | | }, |
| | | handleNotifyClose () { |
| | | this.notifyOpen = false |
| | | this.resetNotifyForm() |
| | | }, |
| | | resetNotifyForm () { |
| | | this.notifyForm = { |
| | | className: '', |
| | | notifyContent: '', |
| | | classesId: null |
| | | } |
| | | }, |
| | | handlerAdd () { |
| | | this.open = true |
| | |
| | | :before-close="handleAddClose" |
| | | :close-on-click-modal="false"> |
| | | <el-form :model="studentForm" :rules="studentRules" ref="studentForm" label-width="100px" class="demo-ruleForm"> |
| | | <el-form-item label="学号" prop="id" v-show="false"/> |
| | | <el-form-item label="姓名" prop="realName"> |
| | | <el-input v-model="studentForm.realName"></el-input> |
| | | </el-form-item> |