From b57f2a267747845f2846002e7042c38727f12c45 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 16 十月 2024 10:43:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/class-management/Class.vue |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/views/class-management/Class.vue b/src/views/class-management/Class.vue
index 1e93db5..7cf959e 100644
--- a/src/views/class-management/Class.vue
+++ b/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

--
Gitblit v1.8.0