From 1e1e70da5288f47d8770ba2e7f22f3362e5b577c Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期五, 08 十二月 2023 17:16:35 +0800
Subject: [PATCH] 1、全局修改密码弹窗中的新密码校验长度与数据字典password_length设置保持一致 2、报警分析页面优化过快点击多次表格行时图表内容出现数据残留以及加载图表应设置加载中动画,若不设置用户在查询时短时间内不清楚有无数据 3、车间看板以及设备监控页面设备详情弹窗右上角增加关闭按钮、设备详情弹窗透明度加深、设备详情弹窗图表表盘指针对比色加强、调整设备详情弹窗中描述列表子项标题对齐方式由左对齐改为右对齐,锁定运行数据描述列表子项数值宽度,超出部分隐藏出现省略号,悬浮出现气泡卡片 4、设备利用率、设备开动率、班次利用率页面表格前三列增加表头,依次为公司、车间、工段以及表格有关时间值调整为若小时或分钟为0则不显示 5、设备综合效率分析页面表格数据默认每页最多显示10条改为20条 6、设备加工工件报表页面完成布局及功能实现

---
 src/views/system/DepartList1.vue |   59 ++++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 48 insertions(+), 11 deletions(-)

diff --git a/src/views/system/DepartList1.vue b/src/views/system/DepartList1.vue
index b6ce4d7..de37e4c 100644
--- a/src/views/system/DepartList1.vue
+++ b/src/views/system/DepartList1.vue
@@ -320,7 +320,11 @@
       batchDel: function () {
         console.log(this.checkedKeys)
         if (this.checkedKeys.length <= 0) {
-          this.$message.warning('璇烽�夋嫨涓�鏉¤褰曪紒')
+          // this.$message.warning('璇烽�夋嫨涓�鏉¤褰曪紒')
+          this.$notification.warning({
+            message:'娑堟伅',
+            description:"璇烽�夋嫨涓�鏉¤褰�"
+          });
         } else {
           var ids = ''
           for (var a = 0; a < this.checkedKeys.length; a++) {
@@ -333,11 +337,19 @@
             onOk: function () {
               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.loadTree()
                   that.onClearSelected()
                 } else {
-                  that.$message.warning(res.message)
+                  // that.$message.warning(res.message)
+                  that.$notification.warning({
+                    message:'娑堟伅',
+                    description:res.message
+                  });
                 }
               })
             }
@@ -355,7 +367,11 @@
                 that.departTree.push(temp)
               }
             } else {
-              that.$message.warning(res.message)
+              // that.$message.warning(res.message)
+              that.$notification.warning({
+                message:'娑堟伅',
+                description:res.message
+              });
             }
           })
         } else {
@@ -427,16 +443,25 @@
         this.$refs.form.validate(valid => {
           if (valid) {
             if (!this.currSelected.id) {
-              this.$message.warning('璇风偣鍑婚�夋嫨瑕佷慨鏀归儴闂�!')
+              this.$notification.warning({
+                message:'娑堟伅',
+                description:"璇风偣鍑婚�夋嫨瑕佷慨鏀归儴闂�"
+              });
               return
             }
 
             httpAction(this.url.edit, this.currSelected, 'put').then((res) => {
               if (res.success) {
-                this.$message.success('淇濆瓨鎴愬姛!')
+                this.$notification.warning({
+                  message:'娑堟伅',
+                  description:"淇濆瓨鎴愬姛"
+                });
                 this.loadTree()
               } else {
-                this.$message.error(res.message)
+                this.$notification.warning({
+                  message:'娑堟伅',
+                  description:res.message
+                });
               }
             })
           }
@@ -463,7 +488,11 @@
         } else if (num == 2) {
           let key = this.currSelected.key
           if (!key) {
-            this.$message.warning('璇峰厛鐐瑰嚮閫変腑涓婄骇閮ㄩ棬锛�')
+            // this.$message.warning('璇峰厛鐐瑰嚮閫変腑涓婄骇閮ㄩ棬锛�')
+            this.$notification.warning({
+              message:'娑堟伅',
+              description:"璇峰厛鐐瑰嚮閫変腑涓婄骇閮ㄩ棬锛�"
+            });
             return false
           }
           this.$refs.departModal.add(this.selectedKeys)
@@ -483,7 +512,11 @@
               if (resp.success) {
                 //鍒犻櫎鎴愬姛鍚庯紝鍘婚櫎宸查�変腑涓殑鏁版嵁
                 that.checkedKeys.splice(that.checkedKeys.findIndex(key => key === that.rightClickSelectedKey), 1);
-                that.$message.success('鍒犻櫎鎴愬姛!')
+                // that.$message.success('鍒犻櫎鎴愬姛!')
+                that.$notification.success({
+                  message:'娑堟伅',
+                  description:"鍒犻櫎鎴愬姛"
+                });
                 that.loadTree()
                 //鍒犻櫎鍚庡悓姝ユ竻绌哄彸渚у熀鏈俊鎭唴瀹�
                 let orgCode=that.model.orgCode;
@@ -491,7 +524,11 @@
                   that.onClearSelected()
                 }
               } else {
-                that.$message.warning('鍒犻櫎澶辫触!')
+                // that.$message.warning('鍒犻櫎澶辫触!')
+                this.$notification.warning({
+                  message:'娑堟伅',
+                  description:"鍒犻櫎澶辫触"
+                });
               }
             })
           }
@@ -550,7 +587,7 @@
         }
       }
       //---- author:os_chengtgen -- date:20190827 --  for:鍒囨崲鐖跺瓙鍕鹃�夋ā寮� =======------
-      
+
     },
     created() {
       this.currFlowId = this.$route.params.id

--
Gitblit v1.9.3