src/views/dashboard/BranchFactorySignage.vue
@@ -8,6 +8,9 @@
    <!--</div>-->
    <div class="content-container">
      <div style="width: 25%" class="left-col">
        <div class="back-nav" @click="$emit('backToLastSignage','Index')" v-if="userType===4">
          <dv-decoration-7>上一级</dv-decoration-7>
        </div>
        <dv-border-box-9 style="padding: 40px 20px 0">
          <!--<div class="first-title">M D C 入 网 总 数 : 6 0 3 台</div>-->
          <div id="running_state_chart" style="width:100%;height: 400px;"></div>
@@ -78,6 +81,9 @@
      productionCode: {
        type: String,
        default: ''
      },
      userType: {
        type: Number
      }
    },
    data() {
@@ -550,7 +556,7 @@
          } else {
            console.log('yAxisParams===========', params)
            this.$emit('switchToBranchFactory', params.value)
            this.$emit('switchToNextSignage', { signageName: 'WorkshopSection', productionCode: params.value })
          }
        })
      },
@@ -752,7 +758,7 @@
          xAxis: [{
            name: 'OEE车间',
            nameLocation: 'middle',
            nameGap: 30, // x轴name与横坐标轴线的间距
            nameGap: 40, // x轴name与横坐标轴线的间距
            type: 'category',
            data: this.barChartData.map(item => item.name),
            axisLine: {
@@ -761,11 +767,11 @@
              }
            },
            axisLabel: {
              margin: 10,
              color: '#e2e9ff',
              textStyle: {
                fontSize: 12
              }
              show: true, // 是否显示刻度标签,默认显示
              interval: 0, // 坐标轴刻度标签的显示间隔,在类目轴中有效;默认会采用标签不重叠的策略间隔显示标签;可以设置成0强制显示所有标签;如果设置为1,表示『隔一个标签显示一个标签』,如果值为2,表示隔两个标签显示一个标签,以此类推。
              rotate: this.barChartData.length >= 5 ? -30 : 0, // 刻度标签旋转的角度,在类目轴的类目标签显示不下的时候可以通过旋转防止标签之间重叠;旋转的角度从-90度到90度
              inside: false, // 刻度标签是否朝内,默认朝外
              margin: 6 // 刻度标签与轴线之间的距离
            },
            axisTick: {
              show: false
@@ -971,20 +977,9 @@
          headerBGC: '#83B883',
          oddRowBGC: '#556955',
          evenRowBGC: '#556955',
          data: [
            ['2024年3月23号', '大家注意安全问题'],
            ['2024年3月23号', '大家注意安全问题'],
            ['2024年3月23号', '大家注意安全问题'],
            ['2024年3月23号', '大家注意安全问题'],
            ['2024年3月23号', '大家注意安全问题'],
            ['2024年3月23号', '大家注意安全问题'],
            ['2024年3月23号', '大家注意安全问题'],
            ['2024年3月23号', '大家注意安全问题'],
            ['2024年3月23号', '大家注意安全问题'],
            ['2024年3月23号', '大家注意安全问题']
          ],
          data: [],
          index: true,
          columnWidth: [100],
          columnWidth: [100, 300, 300],
          align: ['center']
        }
      },
@@ -1028,6 +1023,17 @@
      justify-content: space-between;
      .left-col {
        .back-nav {
          width: 100px;
          height: 30px;
          color: #eee;
          position: absolute;
          top: 25px;
          left: 25px;
          cursor: pointer;
          z-index: 9999
        }
        .first-title {
          color: #00A8AC;
          font-size: 20px;