From ec68cffd70d2a2788f7c74af55a11563aaf611d1 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期三, 06 十二月 2023 15:47:38 +0800
Subject: [PATCH] 1、登录页面优化首次登录会出现404字样,需要明确用户登录后显示页面是否为首页/消息页或者角色中可设置 2、驱动参数管理页面新增或修改控制系统中英文名称规则限制字符数最少6位调整为2位 3、效率段管理页面效率段颜色可自定义 4、设备利用率、设备开动率、班次利用率页面增加可按照设备类型筛选查询 5、对比分析页面增加通过选择设备来对比 6、设备日利用率和设备日利用率对比页面优化选择树节点后查询区域的设备名称字段不会更新问题

---
 src/views/mdc/base/modules/DepartList/DepartListContent/DepartList.vue |   51 +++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 41 insertions(+), 10 deletions(-)

diff --git a/src/views/mdc/base/modules/DepartList/DepartListContent/DepartList.vue b/src/views/mdc/base/modules/DepartList/DepartListContent/DepartList.vue
index d37ed2c..b35b021 100644
--- a/src/views/mdc/base/modules/DepartList/DepartListContent/DepartList.vue
+++ b/src/views/mdc/base/modules/DepartList/DepartListContent/DepartList.vue
@@ -183,7 +183,7 @@
             }
           },{
 
-            title: '璁惧缂栫爜',
+            title: '缁熶竴缂栫爜',
             align: 'center',
             dataIndex: 'equipmentId',
           },
@@ -334,7 +334,11 @@
             }
             //update-end---author:zhangyafei    Date:20201118  for锛氶�傞厤涓嶅垎椤电殑鏁版嵁鍒楄〃------------
           }else{
-            this.$message.warning(res.message)
+            // this.$message.warning(res.message)
+            this.$notification.warning({
+              message:'娑堟伅',
+              description:res.message
+            });
           }
         }).finally(() => {
           this.loading = false
@@ -346,7 +350,11 @@
           return
         }
         if (this.selectedRowKeys.length <= 0) {
-          this.$message.warning('璇烽�夋嫨涓�鏉¤褰曪紒');
+          // this.$message.warning('璇烽�夋嫨涓�鏉¤褰曪紒');
+          this.$notification.warning({
+            message:'娑堟伅',
+            description:"璇烽�夋嫨涓�鏉¤褰�"
+          });
           return;
         } else {
           var ids = "";
@@ -363,12 +371,20 @@
                 if (res.success) {
                   //閲嶆柊璁$畻鍒嗛〉闂
                   that.reCalculatePage(that.selectedRowKeys.length)
-                  that.$message.success(res.message);
+                  // that.$message.success(res.message);
+                  that.$notification.success({
+                    message:'娑堟伅',
+                    description:res.message
+                  });
                   that.loadData();
                   that.onClearSelected();
                   that.$emit('delectTree','')
                 } else {
-                  that.$message.warning(res.message);
+                  // that.$message.warning(res.message);
+                  that.$notification.warning({
+                    message:'娑堟伅',
+                    description:res.message
+                  });
                 }
               }).finally(() => {
                 that.loading = false;
@@ -387,12 +403,20 @@
           if (res.success) {
             //閲嶆柊璁$畻鍒嗛〉闂
             that.reCalculatePage(1)
-            that.$message.success(res.message);
+            // that.$message.success(res.message);
+            that.$notification.success({
+              message:'娑堟伅',
+              description:res.message
+            });
             that.loadData();
             that.onClearSelected();
             that.$emit('delectTree','')
           } else {
-            that.$message.warning(res.message);
+            // that.$message.warning(res.message);
+            that.$notification.warning({
+              message:'娑堟伅',
+              description:res.message
+            });
           }
         })
       },
@@ -406,12 +430,20 @@
           if (res.success) {
             //閲嶆柊璁$畻鍒嗛〉闂
            that.reCalculatePage(1)
-            that.$message.success(res.message);
+            // that.$message.success(res.message);
+            that.$notification.success({
+              message:'娑堟伅',
+              description:res.message
+            });
             that.loadData2();
             // that.onClearSelected();
             // that.$emit('delectTree','')
           } else {
-            that.$message.warning(res.message);
+            // that.$message.warning(res.message);
+            that.$notification.warning({
+              message:'娑堟伅',
+              description:res.message
+            });
           }
         })
       },
@@ -478,7 +510,6 @@
         this.selectedRowKeys = []
       },
       handleEdit: function (record) {
-        console.log(record)
         if (record.id) {
           this.$refs.modalForm.title = '缂栬緫'
           this.$refs.modalForm.disableSubmit = false

--
Gitblit v1.9.3