From 232febf29b40995d7cdef2a6e5a7a4c1e8668008 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期一, 03 三月 2025 14:51:42 +0800
Subject: [PATCH] art: 【设备台账-新增】页面,点击“设备所属分类”下拉选项,已经删除的“设备分类”仍显示,有误!

---
 src/views/mdc/base/modules/DepartList/DepartListTree/modules/DepartTree/TierModel.vue |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/views/mdc/base/modules/DepartList/DepartListTree/modules/DepartTree/TierModel.vue b/src/views/mdc/base/modules/DepartList/DepartListTree/modules/DepartTree/TierModel.vue
index 20cceff..0899353 100644
--- a/src/views/mdc/base/modules/DepartList/DepartListTree/modules/DepartTree/TierModel.vue
+++ b/src/views/mdc/base/modules/DepartList/DepartListTree/modules/DepartTree/TierModel.vue
@@ -158,11 +158,19 @@
             }
             obj.then((res) => {
               if (res.success) {
-                that.$message.success("缂栬緫鎴愬姛")
+                // that.$message.success("缂栬緫鎴愬姛")
+                that.$notification.success({
+                  message:'娑堟伅',
+                  description:"缂栬緫鎴愬姛"
+                });
                 // that.$message.success(res.message)
                 that.$emit('ok', res.result)
               } else {
-                that.$message.warning(res.message)
+                // that.$message.warning(res.message)
+                that.$notification.warning({
+                  message:'娑堟伅',
+                  description:res.message
+                });
               }
             }).finally(() => {
               that.confirmLoading = false

--
Gitblit v1.9.3