工厂驾驶舱

This commit is contained in:
‘937886381’
2024-05-30 16:00:18 +08:00
parent 4569d047d7
commit 91fd1b09d5
22 changed files with 1357 additions and 315 deletions

View File

@@ -81,7 +81,7 @@
</div>
</div>
</div>
<div class="bipv-box" v-if="showBipv">
<div class="bipv-box" v-if="companyId != 0">
<div class="icon">
<img src="./../assets/images/bipv.png" alt="" style="width: 2.1875vw; height: 2.1875vw" />
</div>
@@ -120,11 +120,14 @@
<span class="title">生产情况</span>
<span class="line"></span>
</div>
<barChartBase :than="than" :period="period" :data="data" ref="barChart" style="height: 0;flex:1"></barChartBase>
<barChartBase :companyId="companyId" :than="than" :period="period" :data="factoryData" ref="barChart"
style="height: 0;flex:1">
</barChartBase>
</div>
</div>
</template>
<script>
import { number } from 'echarts';
import barChartBase from './ChipOee'
export default {
@@ -147,6 +150,10 @@ export default {
type: Number,
default: 1,
},
companyId: {
type: Number,
default:0
},
than: {
type: String,
default: '同比',
@@ -159,7 +166,7 @@ export default {
type: Array,
default: [],
},
data: {
factoryData: {
type: Object,
default: {},
},