heyujie
2021-07-08 1fbbb592d4646f86e8a272b13c16ca54abc08414
src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue
@@ -1076,7 +1076,16 @@
  methods: {
    refreshShoubiNum(){
      let n = sessionStorage.getItem("shoubiNum")
      this.optionsOfHidDangerBar.series[0].data[1].value = +n
      // this.optionsOfHidDangerBar.series[0].data[1].value = +n
      this.$set(this.optionsOfHidDangerBar.series,0, {
            name: '数量',
            type: 'bar',
            barWidth: '60%',
            label:{
              show:true,position: 'top'
            },
            data: [{value:1,itemStyle:{color:'#3aa0ff'}},{value:+n,itemStyle:{color:'#36cbcb'}},{value:1,itemStyle:{color:'#4dcb73'}},{value:1,itemStyle:{color:'#fad337'}},{value:3,itemStyle:{color:'#f2637b'}}, {value:2,itemStyle:{color:'#975fe4'}}]
          })
    },
    initTabContent(tab){
      if(tab.name == "hidDanderStatistic"){