From 8e75a78f55d60565eb48b25eafd4eb07939ce2cc Mon Sep 17 00:00:00 2001
From: zenglf <18502938215@163.com>
Date: 星期四, 28 九月 2023 14:09:05 +0800
Subject: [PATCH] Merge branch 'master' into develop

---
 src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue |   30 +++++++++++++++++++++++++-----
 1 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue b/src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue
index 2941cbd..99dfe82 100644
--- a/src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue
+++ b/src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue
@@ -146,7 +146,11 @@
             this.treeDataSource = res.result
             this.generateList(res.result)
           } else {
-            this.$message.warn(res.message)
+            // this.$message.warn(res.message)
+            this.$notification.warning({
+              message:'娑堟伅',
+              description:res.message
+            });
           }
         }).finally(() =>{
           this.loading = false
@@ -247,12 +251,20 @@
       },
       batchDel: function(entity) {
         if (!this.url.deleteBatch) {
-          this.$message.error('璇疯缃畊rl.deleteBatch灞炴��!')
+          // this.$message.error('璇疯缃畊rl.deleteBatch灞炴��!')
+          this.$notification.warning({
+            message:'娑堟伅',
+            description:"璇疯缃畊rl.deletBatch灞炴�э紒"
+          });
           return
         }
         let ids = entity.id
         if (!ids) {
-          this.$message.warning('璇烽�夋嫨涓�鏉¤褰曪紒')
+          // this.$message.warning('璇烽�夋嫨涓�鏉¤褰曪紒')
+          this.$notification.warning({
+            message:'娑堟伅',
+            description:"璇烽�夋嫨涓�鏉¤褰�"
+          });
           return
         } else {
           var that = this
@@ -263,10 +275,18 @@
               that.loading = true
               deleteAction(that.url.deleteBatch, { ids: ids }).then((res) => {
                 if (res.success) {
-                  that.$message.success(res.message)
+                  // that.$message.success(res.message)
+                  that.$notification.warning({
+                    message:'娑堟伅',
+                    description:res.message
+                  });
                   that.queryTreeData();
                 } else {
-                  that.$message.warning(res.message)
+                  // that.$message.warning(res.message)
+                  that.$notification.warning({
+                    message:'娑堟伅',
+                    description:res.message
+                  });
                 }
               }).finally(() => {
                 that.loading = false

--
Gitblit v1.9.3