From 0b926eb66984e2080318862f64da2d775f5f9654 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 17 十月 2024 15:23:43 +0800
Subject: [PATCH] 域名更改
---
src/views/class-management/Class.vue | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/src/views/class-management/Class.vue b/src/views/class-management/Class.vue
index 1e93db5..4248781 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>
@@ -321,7 +322,7 @@
this.page()
})
},
- recover(id) {
+ recover (id) {
recover(id).then(res => {
this.$message.success(res.data.message)
this.page()
@@ -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