From fe8842f9caa8ae657fabc485283bca910869b848 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期三, 16 八月 2023 09:26:42 +0800
Subject: [PATCH] 设备配置中关于部门的权限处理;设备工作日历界面的配置弹窗中的日历选中效果修改;设备日志界面的历史记录界面不显示报警信息显示的问题处理;设备日志界面的工作曲线的时间的选择弹窗关闭的问题处理;设备统计分析界面的饼图的开机率关机率的问题处理;统计图表界面的样式调整

---
 src/views/mdc/base/modules/deviceLog/WorkChartModel.vue |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/src/views/mdc/base/modules/deviceLog/WorkChartModel.vue b/src/views/mdc/base/modules/deviceLog/WorkChartModel.vue
index 50aa166..dbc2ee2 100644
--- a/src/views/mdc/base/modules/deviceLog/WorkChartModel.vue
+++ b/src/views/mdc/base/modules/deviceLog/WorkChartModel.vue
@@ -129,10 +129,8 @@
       return current && current > moment().endOf("day");
     },
     initPlainOptions(param) {
-      console.log(param)
       let that = this
       let equipment = param.equipmentId
-      console.log(equipment)
       getAction(this.url.initPlainOptions,{equipmentId:equipment}).then((res) => {
         if (res.success) {
 
@@ -207,13 +205,19 @@
       })
     },
     handleCancel() {
-      this.visible = false
+      this.visible = false;
+      this.stratOpen = false;
+      this.endOpen = false;
     },
     checkboxOnChange(e) {
       if (e.length <= 3) {
         this.option = e
       } else {
-        this.$message.warn('鏈�澶氬彧鑳介�夋嫨3涓�')
+        // this.$message.warn('鏈�澶氬彧鑳介�夋嫨3涓�')
+        this.$notification.warning({
+          message:'娑堟伅',
+          description:'鏈�澶氬彧鑳介�夋嫨涓変釜'
+        });
         return false
       }
     },
@@ -337,7 +341,11 @@
       }
       getAction(this.url.workChart, param).then((res) => {
         if(JSON.stringify(res.result) == '[]' || res.result == null){
-          this.$message.warning('鏃犳暟鎹紒')
+          // this.$message.warning('鏃犳暟鎹紒')
+          this.$notification.warning({
+            message:'娑堟伅',
+            description:'鏃犳暟鎹�!'
+          });
           this.spinning = false;
           _this.workChart.setOption(option,true)
         }else{

--
Gitblit v1.9.3