projects/mes-test #133
@ -8,11 +8,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container allow-overflow">
|
<div class="app-container allow-overflow">
|
||||||
<!-- 搜索工作栏 -->
|
<!-- 搜索工作栏 -->
|
||||||
<small-title
|
<!-- <small-title
|
||||||
style="margin: 16px 0; padding-left: 8px"
|
style="margin: 16px 0; padding-left: 8px"
|
||||||
:no-padding="true">
|
:no-padding="true">
|
||||||
设备运行状态
|
设备运行状态
|
||||||
</small-title>
|
</small-title> -->
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="graph"
|
class="graph"
|
||||||
@ -22,7 +22,8 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
position: relative;
|
position: relative;
|
||||||
">
|
">
|
||||||
<div class="blue-title">各设备加工数量</div>
|
<!-- <div class="blue-title">各设备加工数量</div> -->
|
||||||
|
<div class="blue-title">设备运行状态</div>
|
||||||
<div class="legend">
|
<div class="legend">
|
||||||
<div class="legend-item">
|
<div class="legend-item">
|
||||||
<span class="icon blue"></span>
|
<span class="icon blue"></span>
|
||||||
@ -41,22 +42,17 @@
|
|||||||
<span class="text">速度开动率</span>
|
<span class="text">速度开动率</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="graph-grid">
|
<div v-if="list.length" class="graph-grid">
|
||||||
<div class="bg-grid grid-line">
|
<div class="bg-grid grid-line">
|
||||||
<div
|
<div class="grid-item" v-for="item in list.length" :key="item"></div>
|
||||||
class="grid-item"
|
|
||||||
v-for="item in list.length"
|
|
||||||
:key="item"></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="bg-grid grid-charts">
|
<div class="bg-grid grid-charts">
|
||||||
<pie-chart
|
<pie-chart v-for="item in list" :key="item.id" :value="item" />
|
||||||
v-for="item in list"
|
|
||||||
:key="item.id"
|
|
||||||
:value="item" />
|
|
||||||
<!-- <pie-chart v-for="item in 5" :key="item" :value="item" /> -->
|
<!-- <pie-chart v-for="item in 5" :key="item" :value="item" /> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="no-data-bg" v-else></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -202,7 +202,9 @@ export default {
|
|||||||
];
|
];
|
||||||
this.config.series[1].data = [
|
this.config.series[1].data = [
|
||||||
{ name: '速度开动率', value: peEfficiency },
|
{ name: '速度开动率', value: peEfficiency },
|
||||||
{ name: '', value: Math.ceil(peEfficiency) - peEfficiency },
|
{ name: '', value: 100 },
|
||||||
|
// { name: '速度开动率', value: peEfficiency },
|
||||||
|
// { name: '', value: Math.ceil(peEfficiency) - peEfficiency },
|
||||||
];
|
];
|
||||||
//
|
//
|
||||||
this.textData = {
|
this.textData = {
|
||||||
|
Loading…
Reference in New Issue
Block a user