bug
lohir
2024-10-16 72c887a302752aad95ce0132273d213d2b476ad3
bug
2个文件已修改
18 ■■■■ 已修改文件
src/views/class-management/Class.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/class-management/ClassStaff.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/class-management/Class.vue
@@ -127,7 +127,8 @@
      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>
@@ -331,10 +332,20 @@
      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
src/views/class-management/ClassStaff.vue
@@ -79,7 +79,6 @@
      :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>