pages/MJGL/Sc_OEEStatusReport/Sc_OEEStatusReport.vue
@@ -1,8 +1,8 @@
<template>
    <view>
        <view class="tabs" id="tabs">
            <view :class="tabs == 0 ? 'on':''" @tap="switchTab(0)">待维修</view>
            <view :class="tabs == 1 ? 'on':''" @tap="switchTab(1)">已维修</view>
            <view :class="tabs == 0 ? 'on':''" @tap="switchTab(0)">缓存</view>
            <view :class="tabs == 1 ? 'on':''" @tap="switchTab(1)">报表</view>
            <!-- <view :class="tabs == 2 ? 'on':''" @tap="switchTab(2)">全部任务</view> -->
        </view>
@@ -22,8 +22,8 @@
            <view class="over" v-if="reportBillsDisplay.length == 0">暂无数据</view>
        </view>
        <!-- OEE 折线图 -->
        <view v-show="tabs == 1" style="padding: 40rpx 0;">
            <view style="width:750rpx; height:750rpx"><l-echart ref="chartRef" @finished="initChart()"></l-echart>
        <view v-show="tabs == 1" class="graph-container" style="padding: 40rpx 0; text-align: center;">
            <view class="graph"><l-echart ref="chartRef" @finished="initChart()"></l-echart>
            </view>
        </view>
    </view>