zhuzhuanzhuan
2023-08-25 487754376a1eb675d430a64b7a4aa9e7ffeb405b
src/views/mdc/base/modules/equipmentAvailCompare/equipmentAvailCompareMain.vue
@@ -198,7 +198,7 @@
          series: [
            {
              name: '利用率',
              type: 'bar',
              type: 'line',
              barWidth: 50,
              itemStyle: {
                normal: {
@@ -235,7 +235,7 @@
      },
      handleChange(value) {
        this.queryParam.timeType = value
        console.log(this.queryParam.timeType)
        // console.log(this.queryParam.timeType)
      },
      tabChange(val) {
        this.activeKey = val
@@ -294,7 +294,11 @@
            }
            this.drawTu()
          }else{
            this.$message.warning(res.message)
            // this.$message.warning(res.message)
            this.$notification.warning({
              message:'消息',
              description:res.message
            });
          }
        }).finally(() => {
          this.loading = false
@@ -329,7 +333,11 @@
              }
              this.drawTu()
            }else{
              this.$message.warning(res.message)
              // this.$message.warning(res.message)
              this.$notification.warning({
                message:'消息',
                description:res.message
              });
            }
          }).finally(() => {
            this.loading = false
@@ -361,7 +369,11 @@
              }
              this.drawTu()
            }else{
              this.$message.warning(res.message)
              // this.$message.warning(res.message)
              this.$notification.warning({
                message:'消息',
                description:res.message
              });
            }
          }).finally(() => {
            this.loading = false
@@ -383,10 +395,18 @@
              this.queryParams = {}
              // this.queryList()
              this.equipment = {}
              _this.$message.warning('请联系管理员,开放设备权限!')
              // _this.$message.warning('请联系管理员,开放设备权限!')
              _this.$notification.warning({
                message:'消息',
                description:'请联系管理员,开放设备权限!'
              });
            }
          }else{
            this.$message.warning(res.message)
            // this.$message.warning(res.message)
            _this.$notification.warning({
              message:'消息',
              description:res.message
            });
          }
        })
      },
@@ -404,10 +424,18 @@
              this.queryParams = {}
              // this.queryList()
              this.equipment = {}
              _this.$message.warning('请联系管理员,开放设备权限!')
              // _this.$message.warning('请联系管理员,开放设备权限!')
              _this.$notification.warning({
                message:'消息',
                description:'请联系管理员,开放设备权限!'
              });
            }
          }else{
            this.$message.warning(res.message)
            // this.$message.warning(res.message)
            _this.$notification.warning({
              message:'消息',
              description:res.message
            });
          }
        })
      }
@@ -419,8 +447,11 @@
      this.queryParam.startTime = '00:00'
      this.queryParam.endTime = "08:00"
      this.queryParams.typeTree = "1";
      this.initEquipment()
    },
    mounted() {
      this.initEquipment()
    },
  }
</script>