src/views/dashboard/WorkshopSectionSignage.vue
@@ -5,15 +5,16 @@
        <div class="back-nav" @click="$emit('backToLastSignage','BranchFactory')" v-if="userType>=3">
          <dv-decoration-7>上一级</dv-decoration-7>
        </div>
        <dv-border-box-9 style="padding: 15px">
        <dv-border-box-9 style="padding: 15px 15px 0">
          <div id="tech_condition_chart" style="width:100%;height: 240px;"></div>
          <div id="warranty_malfunction_chart" style="width:100%;height: 240px;"></div>
          <div style="display: flex;">
            <div style="flex:0.5;display: flex;flex-direction:column;align-items: center">
              <dv-decoration-11 style="width:90%;height:60px;color: #ccc;font-size: 20px">三保计划</dv-decoration-11>
          <div>
            <div style="display: flex;flex-direction:column;align-items: center">
              <dv-decoration-11 style="width:45%;height:60px;color: #fff;font-size: 20px;align-self: flex-start">三保计划
              </dv-decoration-11>
              <div class="support-plan-container">
                <div class="support-plan-item" style="background:#67C23A">
                <div class="support-plan-item" style="background:#5FE0AF">
                  <div>三保本月计划</div>
                  <div class="plan-value-container">
                    <div class="plan-value">{{thisMonthMaintenancePlanNum}}</div>
@@ -27,24 +28,24 @@
                    <div>台</div>
                  </div>
                </div>
                <div class="support-plan-item" style="background:#E6A23C">
                <div class="support-plan-item" style="background:#FCAA29">
                  <div>延期</div>
                  <div class="plan-value-container">
                    <div class="plan-value">{{nextMonthMaintenancePlanNum}}</div>
                    <div class="plan-value">{{maintenanceExtensionNum}}</div>
                    <div>台</div>
                  </div>
                </div>
                <div class="support-plan-item" style="background:#F56C6C">
                  <div>超期</div>
                  <div class="plan-value-container">
                    <div class="plan-value">{{nextNextMonthMaintenancePlanNum}}</div>
                    <div class="plan-value">{{maintenanceOverdueNum}}</div>
                    <div>台</div>
                  </div>
                </div>
                <div class="support-plan-item" style="background:#719D8E">
                <div class="support-plan-item" style="background:#D6BC52">
                  <div>下月计划</div>
                  <div class="plan-value-container">
                    <div class="plan-value">{{nextNextMonthMaintenancePlanNum}}</div>
                    <div class="plan-value">{{nextMonthMaintenancePlanNum}}</div>
                    <div>台</div>
                  </div>
                </div>
@@ -58,8 +59,12 @@
              </div>
            </div>
            <div style="flex:0.5;display: flex;justify-content: center">
              <dv-decoration-11 style="width:90%;height:60px;color: #ccc;font-size: 20px">二保计划</dv-decoration-11>
            <div style="display: flex;margin-top: 10px;justify-content: space-between;align-items: center;">
              <dv-decoration-11 style="width:45%;height:60px;font-size: 20px;color: #fff">二保计划</dv-decoration-11>
              <div
                style="flex:1;text-align:center;font-size: 25px;color: #9BD890;overflow: hidden;text-overflow: ellipsis;white-space: nowrap">
                2024年4月1日大修
              </div>
            </div>
          </div>
        </dv-border-box-9>
@@ -71,11 +76,12 @@
          <div id="line_chart" style="width:100%;height: 400px;"></div>
        </dv-border-box-9>
      </div>
      <div style="width: 30%">
      <div style="width: 30%" class="right-col">
        <dv-border-box-9 style="padding: 15px">
          <a-form layout="inline" @keyup.enter.native="$emit('switchToNextSignage', { signageName: 'Equipment', productionCode: equipmentId })">
          <a-form layout="inline"
                  @keyup.enter.native="$emit('switchToNextSignage', { signageName: 'Equipment', productionCode: equipmentId })">
            <a-form-item label="设备编号">
              <!--<a-input v-model="equipmentId" size="large"></a-input>-->
              <a-auto-complete
                v-model="equipmentId"
                placeholder="回车键查询"
@@ -85,10 +91,10 @@
            </a-form-item>
          </a-form>
          <div style="display: flex;flex-wrap: wrap">
            <div id="gauge_chart1" style="width:50%;height: 200px;"></div>
            <div id="gauge_chart2" style="width:50%;height: 200px;"></div>
            <div id="gauge_chart3" style="width:50%;height: 200px;"></div>
            <div id="gauge_chart4" style="width:50%;height: 200px;"></div>
            <div id="gauge_chart1" class="gauge-chart"></div>
            <div id="gauge_chart2" class="gauge-chart"></div>
            <div id="gauge_chart3" class="gauge-chart"></div>
            <div id="gauge_chart4" class="gauge-chart"></div>
          </div>
          <div id="bar_chart" style="width:100%;height: 330px;"></div>
        </dv-border-box-9>
@@ -135,61 +141,24 @@
        ],
        thisMonthMaintenancePlanNum: 0,
        thisMonthMaintenanceRealNum: 0,
        maintenanceExtensionNum: 0,
        maintenanceOverdueNum: 0,
        nextMonthMaintenancePlanNum: 0,
        nextNextMonthMaintenancePlanNum: 0,
        lineChart: '',
        lineChartData: [],
        lineChartData: {},
        gaugeChart1: '',
        gaugeChart2: '',
        gaugeChart3: '',
        gaugeChart4: '',
        gaugeChartData1: [],
        gaugeChartData2: [],
        gaugeChartData3: [],
        gaugeChartData4: [],
        gaugeChartData: {
          utilizationRate: 0,
          startRate: 0,
          openRate: 0,
          overallEquipmentEfficiency: 0
        },
        barChart: '',
        barChartData: [
          {
            name: '2640221',
            value: 20
          },
          {
            name: '2640222',
            value: 40
          },
          {
            name: '2640223',
            value: 70
          },
          {
            name: '2640224',
            value: 30
          },
          {
            name: '2640225',
            value: 35
          },
          {
            name: '2640226',
            value: 80
          },
          {
            name: '2640227',
            value: 40
          },
          {
            name: '12640220',
            value: 60
          },
          {
            name: '12640221',
            value: 40
          },
          {
            name: '12640222',
            value: 35
          }
        ],
        barChartData: [],
        equipmentId: ''
      }
    },
@@ -198,14 +167,10 @@
      this.drawCharts()
      this.getChartDataByApi()
    },
    activated() {
      console.log('触发activated')
      this.handleWindowResize()
      if (this.barChartCarouselTime) clearInterval(this.barChartCarouselTime)
    },
    beforeDestroy() {
      window.removeEventListener('resize', this.handleWindowResize)
      if (this.barChartCarouselTime) clearInterval(this.barChartCarouselTime)
      if (this.lineChartCarouselTime) clearInterval(this.lineChartCarouselTime)
    },
    methods: {
      getChartDataByApi() {
@@ -213,6 +178,9 @@
        this.getWarrantyMalfunctionDataByApi()
        this.getRunningStateDataByApi()
        this.getMonthMaintenanceNumByApi()
        this.getLineChartDataByApi()
        this.getGaugeChartDataByApi()
        this.getBarChartDataByApi()
      },
      /* 调用接口获取技术状态 */
@@ -245,15 +213,6 @@
          })
      },
      /* 调用接口获取设备运行状态 */
      getRunningStateDataByApi() {
        signageApi.getEquipmentStatusStatisticsApi(this.productionCode)
          .then(res => {
            if (res.success) this.runningStateData = res.result
            this.drawRunningStateChart()
          })
      },
      /* 调用接口获取三保计划 */
      getMonthMaintenanceNumByApi() {
        signageApi.getThisMonthMaintenanceListApi(this.productionCode)
@@ -274,12 +233,55 @@
          })
      },
      /* 调用接口获取设备运行状态 */
      getRunningStateDataByApi() {
        signageApi.getEquipmentStatusStatisticsApi(this.productionCode)
          .then(res => {
            if (res.success) this.runningStateData = res.result.list
            this.drawRunningStateChart(res.result.producitonId)
          })
      },
      /* 调用接口获取前7天利用率 */
      getLineChartDataByApi() {
        signageApi.getEquipmentDayUtilizationStatisticsApi(this.productionCode)
          .then(res => {
            if (res.success) this.lineChartData = res.result
            this.drawLineChart()
          })
      },
      /* 调用接口获取设备效率统计 */
      getGaugeChartDataByApi() {
        signageApi.getEquipmentEfficiencyStatisticsApi(this.productionCode)
          .then(res => {
            console.log('res=', res)
            if (res.success) this.gaugeChartData = res.result
            this.drawGaugeChart(res.result.productionId)
          })
      },
      /* 调用接口获取上月OEE */
      getBarChartDataByApi() {
        signageApi.getEquipmentOEEMonthStatisticsApi(this.productionCode)
          .then(res => {
            if (res.success) {
              this.barChartData = res.result.map(item => {
                return {
                  name: item.equipmentId,
                  value: item.overallEquipmentEfficiency
                }
              })
            }
            this.drawBarChart()
          })
      },
      /* 绘制图表汇总方法 */
      drawCharts() {
        this.drawRunningStateChart()
        this.drawTechConditionChart()
        this.drawWarrantyMalfunctionChart()
        this.drawLineChart()
        this.drawGaugeChart()
        this.drawBarChart()
      },
@@ -292,20 +294,19 @@
            show: true, // 是否显示标题,默认为true
            text: '技术状态', // 主标题文本
            x: 'left', // 标题水平安放位置,可选值为'left'、'center'、'right'或具体的水平坐标值
            y: 'top', // 标题垂直安放位置,可选值为'top'、'bottom'、'center'或具体的垂直坐标值
            y: this.userType >= 3 ? '25' : 'top', // 标题垂直安放位置,可选值为'top'、'bottom'、'center'或具体的垂直坐标值
            textStyle: {
              // 主标题文本样式
              fontSize: 18,
              fontWeight: 'normal',
              color: '#00A8AC'
              color: '#1AD8DE'
            }
          },
          tooltip: {
            trigger: 'item',
            formatter: function(params) {
              if (params.name !== '') {
                return `${params.name}:${params.value}(${params.percent}%)`
              }
              return '<span style="font-weight:bolder;">' + params.name + '</span><br/>' +
                '<span style="display:inline-block; width:10px; height:10px; border-radius:100px; margin-right:5px; background:' + params.color + '"></span>' + `${params.value}(${params.percent}%)`
            }
          },
          legend: {
@@ -334,9 +335,9 @@
              radius: ['40%', '60%'],
              center: ['50%', '50%'],
              color: [
                '#0AA012',
                '#237E48',
                '#757160'
                '#0FC61A',
                '#0DAF15',
                '#8B8B8B'
              ],
              label: {
                position: 'outside',
@@ -376,15 +377,14 @@
              // 主标题文本样式
              fontSize: 18,
              fontWeight: 'normal',
              color: '#00A8AC'
              color: '#1AD8DE'
            }
          },
          tooltip: {
            trigger: 'item',
            formatter: function(params) {
              if (params.name !== '') {
                return `${params.name}:${params.value}(${params.percent}%)`
              }
              return '<span style="font-weight:bolder;">' + params.name + '</span><br/>' +
                '<span style="display:inline-block; width:10px; height:10px; border-radius:100px; margin-right:5px; background:' + params.color + '"></span>' + `${params.value}(${params.percent}%)`
            }
          },
          legend: {
@@ -413,9 +413,9 @@
              radius: ['40%', '60%'],
              center: ['50%', '50%'],
              color: [
                '#00CED1',
                '#B85B38',
                '#A8985D'
                '#24F2F5',
                '#F56436',
                '#FFFF40'
              ],
              label: {
                position: 'outside',
@@ -443,7 +443,7 @@
      },
      /* 绘制设备运行状态玫瑰饼图 */
      drawRunningStateChart() {
      drawRunningStateChart(productionId) {
        this.runningStateChart = this.$echarts.init(document.getElementById('running_state_chart'))
        const option = {
          title: {
@@ -455,15 +455,14 @@
              // 主标题文本样式
              fontSize: 18,
              fontWeight: 'normal',
              color: '#00A8AC'
              color: '#1AD8DE'
            }
          },
          tooltip: {
            trigger: 'item',
            formatter: function(params) {
              if (params.name !== '') {
                return `${params.name}:${params.value}(${params.percent}%)`
              }
              return '<span style="font-weight:bolder;">' + params.name + '</span><br/>' +
                '<span style="display:inline-block; width:10px; height:10px; border-radius:100px; margin-right:5px; background:' + params.color + '"></span>' + `${params.value}(${params.percent}%)`
            }
          },
          legend: {
@@ -488,15 +487,15 @@
          series: [
            {
              type: 'pie',
              // roseType: 'angle', // 玫瑰图
              roseType: 'angle', // 玫瑰图
              // selectedMode: "single",
              radius: ['35%', '55%'],
              center: ['50%', '50%'],
              color: [
                '#686869',
                '#AA6349',
                '#968A5E',
                '#5D975D'
                '#8B8B8B',
                '#F56436',
                '#FFFF40',
                '#0FC61A'
              ],
              label: {
                position: 'outside',
@@ -521,28 +520,47 @@
          ]
        }
        this.runningStateChart.setOption(option, true)
        this.runningStateChart.on('click', params => {
          this.$router.push({
            name: 'mdc-base-DeviceBaseInfo',
            params: { signageData: params.data, productionId }
          })
        })
      },
      /* 绘制折线图 */
      drawLineChart() {
        this.lineChart = this.$echarts.init(document.getElementById('line_chart'))
        this.lineChartData.equipmentIdList.forEach(item => {
          if (!this.lineChartData.dataList.map(item => item.equipmentId).includes(item)) {
            const equipmentIdObj = {
              equipmentId: item,
              openRate: 0,
              startRate: 0,
              utilizationRate: 0
            }
            this.lineChartData.dataList.push(equipmentIdObj)
          }
        })
        const equipmentIdList = this.lineChartData.dataList.map(item => item.equipmentId)
        const newData = {
          xAxis: ['3月19日', '3月20日', '3月21日', '3月22日', '3月23日', '3月24日', '3月25日'],
          xAxis: equipmentIdList,
          yAxis: [
            {
              name: '利用率',
              value: [200, 600, 550, 360, 520, 520, 630, 780, 230, 420, 650, 700]
              value: this.lineChartData.dataList.map(item => item.utilizationRate)
            },
            {
              name: '开动率',
              value: [230, 630, 440, 400, 740, 800, 600, 900, 700, 400, 700, 400]
              value: this.lineChartData.dataList.map(item => item.startRate)
            },
            {
              name: '开机率',
              value: [900, 700, 400, 700, 800, 605, 730, 600, 700, 900, 400, 605]
              value: this.lineChartData.dataList.map(item => item.openRate)
            }
          ],
          yAxisName: '前7天利用率'
          yAxisName: '前7天利用率(%)'
        }
        let legendData = []
        let seriesData = []
@@ -576,6 +594,17 @@
            trigger: 'axis',
            axisPointer: {
              type: 'shadow'
            },
            formatter: function(params) {
              let result = ''
              params.forEach((item, index) => {
                let dom = `<span style="display:inline-block;width:10px;height:10px;border-radius:100px;margin-right:5px;background:${item.color}"></span>${item.seriesName}:${item.value}%`
                if (index === 0) {
                  result = `<span style="font-weight:bolder;">${item.name}</span>`
                }
                result += '<br />' + dom
              })
              return result
            }
          },
          legend: {
@@ -585,7 +614,7 @@
            itemGap: 10,
            textStyle: {
              fontSize: 14,
              color: '#ccc'
              color: '#fff'
            }
          },
          xAxis: {
@@ -595,13 +624,13 @@
              interval: 0,
              show: true,
              fontSize: 12,
              color: '#50729A'
              color: '#fff'
              // rotate: -30,
            },
            axisLine: {
              show: true,
              lineStyle: {
                color: '#50729A'
                color: '#fff'
              }
            },
            axisTick: {
@@ -613,9 +642,9 @@
            {
              name: newData.yAxisName,
              nameTextStyle: {
                color: '#00A8AC',
                color: '#1AD8DE',
                fontSize: 18,
                padding: [0, 0, 0, 80]
                padding: [0, 0, 0, 110]
              },
              nameGap: 30,
              type: 'value',
@@ -623,7 +652,7 @@
              axisLine: {
                show: true,
                lineStyle: {
                  color: '#50729A'
                  color: '#fff'
                }
              },
              axisTick: {
@@ -632,7 +661,7 @@
              splitLine: {
                show: false,
                lineStyle: {
                  color: '#3E4A82'
                  color: '#fff'
                }
              }
            },
@@ -642,12 +671,12 @@
              splitNumber: 5,
              axisLabel: {
                show: true,
                color: '#50729A'
                color: '#fff'
              },
              axisLine: {
                show: true,
                lineStyle: {
                  color: '#50729A'
                  color: '#fff'
                }
              },
              axisTick: {
@@ -656,28 +685,28 @@
              splitLine: {
                show: false,
                lineStyle: {
                  color: '#3E4A82'
                  color: '#fff'
                }
              }
            }
          ],
          series: seriesData,
          // dataZoom: {
          //   show: false,
          //   startValue: 0, // 从头开始。
          //   endValue: 5 // 一次性展示几个
          // }
          dataZoom: {
            show: false,
            startValue: 0, // 从头开始。
            endValue: 6 // 一次性展示几个
          }
        }
        this.lineChart.setOption(option, true)
        // if (newData.xAxis.length <= 6) return
        // this.lineChartCarouselTime = setInterval(() => {
        //   this.barChartData.push(this.barChartData.shift())
        //   newData.xAxis.push(newData.xAxis.shift())
        //   newData.yAxis.forEach(item => item.value.push(item.value.shift()))
        //   this.$nextTick(() => {
        //     this.lineChart.setOption(option, true)
        //   })
        // }, 3000)
        if (this.lineChartData.equipmentIdList.length <= 7) return
        this.lineChartCarouselTime = setInterval(() => {
          newData.xAxis.push(newData.xAxis.shift())
          newData.yAxis.forEach(item => item.value.push(item.value.shift()))
          this.$nextTick(() => {
            this.lineChart.setOption(option, true)
          })
        }, 3000)
      },
      /* 绘制仪表盘图表 */
@@ -692,12 +721,15 @@
              // 主标题文本样式
              fontSize: 18,
              fontWeight: 'normal',
              color: '#00A8AC',
              color: '#1AD8DE',
              fontWeight: 'bold'
            }
          },
          tooltip: {
            formatter: '{a} <br/>{b} : {c}%'
            trigger: 'item',
            formatter: params => {
              return params.seriesName + ':' + params.value + '%'
            }
          },
          grid: {
            left: '1%',
@@ -707,7 +739,7 @@
          },
          series: [
            {
              name: '利用率',
              name: '',
              type: 'gauge',
              radius: '80%',
              center: ['50%', '60%'],    // 默认全局居中
@@ -743,9 +775,9 @@
              axisLine: {
                lineStyle: { // 属性lineStyle控制线条样式
                  color: [ //表盘颜色
                    [0.3, '#E7781E'],//0-30%处的颜色
                    [0.7, '#C5C039'],//30%-60%处的颜色
                    [1, '#21C77F']//90%-100%处的颜色
                    [0.3, '#F56436'],//0-30%处的颜色
                    [0.7, '#FFFF40'],//30%-60%处的颜色
                    [1, '#0FC61A']//90%-100%处的颜色
                  ],
                  width: 15//表盘宽度
                }
@@ -760,7 +792,7 @@
                  }
                }
              },
              data: [{ value: 100 }]
              data: []
            }
          ]
        }
@@ -774,32 +806,96 @@
      drawGaugeChart1(opt) {
        this.gaugeChart1 = this.$echarts.init(document.getElementById('gauge_chart1'))
        const option = Object.assign({}, opt)
        option.title.text = '利用率'
        option.title.text = moment().subtract(1, 'days').format('M月D日') + `利用率`
        option.series[0].name = '利用率'
        option.series[0].data = [this.gaugeChartData.utilizationRate]
        this.gaugeChart1.setOption(option, true)
        this.gaugeChart1.getZr().on('click', params => {
          // 仅有点击表盘区域才会有以下属性,topTarget表示触发事件对象,shape表示触发事件对象的图像属性,clockwise表示表盘是否以顺时针排列,默认为true
          if (params.topTarget && params.topTarget.shape && params.topTarget.shape.clockwise !== undefined) {
            this.$router.push({
              name: 'mdc-base-StatisticsChart',
              params: {
                isEquipment: false,
                productionId: this.gaugeChartData.productionId,
                tierName: this.gaugeChartData.productionName
              }
            })
          }
        })
      },
      /* 绘制开动率仪表盘图表 */
      drawGaugeChart2(opt) {
        this.gaugeChart2 = this.$echarts.init(document.getElementById('gauge_chart2'))
        const option = Object.assign({}, opt)
        option.title.text = '开动率'
        option.title.text = moment().subtract(1, 'days').format('M月D日') + '开动率'
        option.series[0].name = '开动率'
        option.series[0].data = [this.gaugeChartData.startRate]
        this.gaugeChart2.setOption(option, true)
        this.gaugeChart2.getZr().on('click', params => {
          // 仅有点击表盘区域才会有以下属性,topTarget表示触发事件对象,shape表示触发事件对象的图像属性,clockwise表示表盘是否以顺时针排列,默认为true
          if (params.topTarget && params.topTarget.shape && params.topTarget.shape.clockwise !== undefined) {
            this.$router.push({
              name: 'mdc-base-StatisticsChart',
              params: {
                isEquipment: false,
                productionId: this.gaugeChartData.productionId,
                tierName: this.gaugeChartData.productionName
              }
            })
          }
        })
      },
      /* 绘制开机率仪表盘图表 */
      drawGaugeChart3(opt) {
        this.gaugeChart3 = this.$echarts.init(document.getElementById('gauge_chart3'))
        const option = Object.assign({}, opt)
        option.title.text = '开机率'
        option.title.text = moment().subtract(1, 'days').format('M月D日') + '开机率'
        option.series[0].name = '开机率'
        option.series[0].data = [this.gaugeChartData.openRate]
        this.gaugeChart3.setOption(option, true)
        this.gaugeChart3.getZr().on('click', params => {
          // 仅有点击表盘区域才会有以下属性,topTarget表示触发事件对象,shape表示触发事件对象的图像属性,clockwise表示表盘是否以顺时针排列,默认为true
          if (params.topTarget && params.topTarget.shape && params.topTarget.shape.clockwise !== undefined) {
            this.$router.push({
              name: 'mdc-base-StatisticsChart',
              params: {
                isEquipment: false,
                productionId: this.gaugeChartData.productionId,
                tierName: this.gaugeChartData.productionName
              }
            })
          }
        })
      },
      /* 绘制OEE仪表盘图表 */
      drawGaugeChart4(opt) {
        this.gaugeChart4 = this.$echarts.init(document.getElementById('gauge_chart4'))
        const option = Object.assign({}, opt)
        option.title.text = 'OEE'
        option.title.text = moment().subtract(1, 'months').format('M月') + `OEE`
        option.series[0].name = 'OEE'
        option.series[0].data = [this.gaugeChartData.overallEquipmentEfficiency]
        this.gaugeChart4.setOption(option, true)
        this.gaugeChart4.getZr().on('click', params => {
          // 仅有点击表盘区域才会有以下属性,topTarget表示触发事件对象,shape表示触发事件对象的图像属性,clockwise表示表盘是否以顺时针排列,默认为true
          if (params.topTarget && params.topTarget.shape && params.topTarget.shape.clockwise !== undefined) {
            this.$router.push({
              name: 'mdc-base-StatisticsChart',
              params: {
                isEquipment: false,
                productionId: this.gaugeChartData.productionId,
                tierName: this.gaugeChartData.productionName
              }
            })
          }
        })
      },
      /* 绘制单柱图 */
@@ -810,14 +906,14 @@
          height: 260,
          title: {
            show: true, // 是否显示标题,默认为true
            text: '上个月OEE', // 主标题文本
            text: '', // 主标题文本
            x: 'center', // 标题水平安放位置,可选值为'left'、'center'、'right'或具体的水平坐标值
            y: 'top', // 标题垂直安放位置,可选值为'top'、'bottom'、'center'或具体的垂直坐标值
            textStyle: {
              // 主标题文本样式
              fontSize: 18,
              fontWeight: 'normal',
              color: '#00A8AC',
              color: '#1AD8DE',
              fontWeight: 'bold'
            }
          },
@@ -847,7 +943,7 @@
              data: xAisData,
              axisLine: {
                lineStyle: {
                  color: '#50729A'
                  color: '#fff'
                }
              },
              axisLabel: {
@@ -870,15 +966,15 @@
              position: 'left',
              axisLabel: {
                formatter: '{value}',
                color: '#50729A'
                color: '#fff'
              },
              axisTick: {
                show: false
                show: true
              },
              axisLine: {
                show: true,
                lineStyle: {
                  color: '#50729A'
                  color: '#fff'
                }
              },
              splitLine: {
@@ -893,7 +989,7 @@
              axisLine: {
                show: true,
                lineStyle: {
                  color: '#50729A'
                  color: '#fff'
                }
              }
            }
@@ -903,7 +999,7 @@
            data: this.barChartData,
            barWidth: '25%',
            itemStyle: {
              color: '#129FC6',
              color: '#17C1F0',
              barBorderRadius: [10, 10, 10, 10]
            },
            label: {
@@ -915,7 +1011,7 @@
              },
              position: 'inside',
              textStyle: {
                color: '#50729A',
                color: '#fff',
                fontSize: 18
              }
            }
@@ -928,6 +1024,7 @@
        }
        option.title.text = `${moment().subtract(1, 'months').format('M')}月OEE`
        this.barChart.setOption(option, true)
        if (this.barChartData.length <= 6) return
        this.barChartCarouselTime = setInterval(() => {
          this.barChartData.push(this.barChartData.shift())
@@ -966,12 +1063,6 @@
      color: #fff;
      margin-bottom: 10px;
      .workshop-nav {
        width: 120px;
        height: 40px;
        font-size: 12px;
        cursor: pointer;
      }
    }
    .content-container {
@@ -980,28 +1071,17 @@
      justify-content: space-between;
      .left-col {
        .back-nav {
          width: 100px;
          height: 30px;
          color: #eee;
          position: absolute;
          top: 50px;
          left: 10px;
          cursor: pointer;
          z-index: 9999
        }
        .support-plan-container {
          width: 100%;
          display: flex;
          justify-content: space-around;
          flex-wrap: wrap;
          color: #fff;
          padding-top: 5px;
          padding-top: 20px;
          .support-plan-item {
            border-radius: 3px;
            width: 45%;
            width: 30%;
            padding: 5px 10px;
            margin-bottom: 10px;
@@ -1020,14 +1100,11 @@
        }
      }
      .middle-col {
        .first-title {
          color: #00A8AC;
          font-size: 20px;
          text-align: center;
          font-weight: bold;
      .right-col {
        .gauge-chart {
          width: 50%;
          height: 200px;
        }
      }
    }
  }