工厂驾驶舱
This commit is contained in:
@@ -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: {},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user