|
|
@@ -24,28 +24,46 @@
|
|
|
<tr style="background-color:transparent">
|
|
|
<td style="border:0">
|
|
|
<div class="littleFont">成本<span style="color:#27e6ff">(总能耗)</span></div>
|
|
|
- <div style="font-size: 32px;font-weight: bold;">{{ costTotalTrans(deviceStatData.avgMonth.costTotal) }}<span style="font-size: 12px;">{{ deviceStatData.avgMonth.costTotal>10000?'万元/日':'元/日' }}</span></div>
|
|
|
+ <div style="font-size: 32px;font-weight: bold;">
|
|
|
+ <NumberAnimation :value="costTotalTrans(deviceStatData.avgMonth.costTotal)" :decimal="0" />
|
|
|
+ <span style="font-size: 12px;">{{ deviceStatData.avgMonth.costTotal>10000?'万元/日':'元/日' }}</span>
|
|
|
+ </div>
|
|
|
</td>
|
|
|
<td style="border:0;padding-left: 40px;">
|
|
|
<div class="littleFont">经编<span style="color:#27e6ff">(单位能耗)</span></div>
|
|
|
- <div style="font-size:24px;font-weight:bold;height: 38px;line-height: 48px;color: #fbc16b;">{{ deviceStatData.avgMonth.costJb }}<span style="font-size: 12px;"> 元/米</span></div>
|
|
|
+ <div style="font-size:24px;font-weight:bold;height: 38px;line-height: 48px;color: #fbc16b;">
|
|
|
+ <NumberAnimation :value="deviceStatData.avgMonth.costJb" :decimal="0" />
|
|
|
+ <span style="font-size: 12px;"> 元/米</span>
|
|
|
+ </div>
|
|
|
</td>
|
|
|
<td style="border:0;padding-left: 40px;">
|
|
|
<div class="littleFont">染整<span style="color:#27e6ff">(单位能耗)</span></div>
|
|
|
- <div style="font-size:24px;font-weight:bold;height: 38px;line-height: 48px;color: #fbc16b;">{{ deviceStatData.avgMonth.costRz }}<span style="font-size: 12px;"> 元/米</span></div>
|
|
|
+ <div style="font-size:24px;font-weight:bold;height: 38px;line-height: 48px;color: #fbc16b;">
|
|
|
+ <NumberAnimation :value="deviceStatData.avgMonth.costRz" :decimal="0" />
|
|
|
+ <span style="font-size: 12px;"> 元/米</span>
|
|
|
+ </div>
|
|
|
</td>
|
|
|
<td style="border-bottom: 0;border-right: 1px solid #146c86;padding-left: 20px;"> </td>
|
|
|
<td style="border:0;padding-left: 40px;">
|
|
|
<div class="littleFont">经编<span style="color:#27e6ff">(产出)</span></div>
|
|
|
- <div style="font-size:24px;font-weight:bold;height: 38px;line-height: 48px;color: #27e6ff;">{{ deviceStatData.avgMonth.yieldJb }}<span style="font-size: 12px;"> 米/日</span></div>
|
|
|
+ <div style="font-size:24px;font-weight:bold;height: 38px;line-height: 48px;color: #27e6ff;">
|
|
|
+ <NumberAnimation :value="deviceStatData.avgMonth.yieldJb" :decimal="0" />
|
|
|
+ <span style="font-size: 12px;"> 米/日</span>
|
|
|
+ </div>
|
|
|
</td>
|
|
|
<td style="border:0;padding-left: 40px;">
|
|
|
<div class="littleFont">经编<span style="color:#27e6ff">(平均嫁动率)</span></div>
|
|
|
- <div style="font-size:24px;font-weight:bold;height: 38px;line-height: 48px;color: #27e6ff;">{{ deviceStatData.avgMonth.jdl }}<span style="font-size: 12px;"> %</span></div>
|
|
|
+ <div style="font-size:24px;font-weight:bold;height: 38px;line-height: 48px;color: #27e6ff;">
|
|
|
+ <NumberAnimation :value="deviceStatData.avgMonth.jdl" :decimal="0" />
|
|
|
+ <span style="font-size: 12px;"> %</span>
|
|
|
+ </div>
|
|
|
</td>
|
|
|
<td style="border:0;padding-left: 40px;">
|
|
|
<div class="littleFont">染整<span style="color:#27e6ff">(产出)</span></div>
|
|
|
- <div style="font-size:24px;font-weight:bold;height: 38px;line-height: 48px;color: #27e6ff;">{{ deviceStatData.avgMonth.yieldRz }}<span style="font-size: 12px;"> 米/日</span></div>
|
|
|
+ <div style="font-size:24px;font-weight:bold;height: 38px;line-height: 48px;color: #27e6ff;">
|
|
|
+ <NumberAnimation :value="deviceStatData.avgMonth.yieldRz" :decimal="0" />
|
|
|
+ <span style="font-size: 12px;"> 米/日</span>
|
|
|
+ </div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
@@ -59,7 +77,10 @@
|
|
|
</div>
|
|
|
<div style="padding-left: 25px;color: #27e6ff;width: 100%;">
|
|
|
<div class="littleFont">产量(今日)</div>
|
|
|
- <div style="font-size: 22px;font-weight: bold;">{{ deviceStatData.currYield.jb.yield }}<span class="littleFont">米</span></div>
|
|
|
+ <div style="font-size: 22px;font-weight: bold;">
|
|
|
+ <NumberAnimation :value="deviceStatData.currYield.jb.yield" :decimal="0" />
|
|
|
+ <span class="littleFont">米</span>
|
|
|
+ </div>
|
|
|
<div style="position: relative;margin-top: 5px;">
|
|
|
<div class="abs fac_progress_value" :style="{width:(deviceStatData.currYield.jb.yield/deviceStatData.currYield.jb.yieldMax*100)+'%',backgroundColor: '#008899'}"></div>
|
|
|
<div class="abs fac_progress" style="background-color: #072e47;"></div>
|
|
|
@@ -67,8 +88,15 @@
|
|
|
</div>
|
|
|
<div style="padding-left: 25px;color: #27e6ff;margin-top: 25px;width: 100%;">
|
|
|
<div class="littleFont"><span>开机数(今日)</span><span style="float: right;">总数</span></div>
|
|
|
- <div style="font-size: 22px;"><b>{{ deviceStatData.currYield.jb.openNum }}<span class="littleFont">台</span></b>
|
|
|
- <b style="float: right;">{{ deviceStatData.currYield.jb.totalNum }}<span class="littleFont">台</span></b>
|
|
|
+ <div style="font-size: 22px;">
|
|
|
+ <b>
|
|
|
+ <NumberAnimation :value="deviceStatData.currYield.jb.openNum" :decimal="0" />
|
|
|
+ <span class="littleFont">台</span>
|
|
|
+ </b>
|
|
|
+ <b style="float: right;">
|
|
|
+ <NumberAnimation :value="deviceStatData.currYield.jb.totalNum" :decimal="0" />
|
|
|
+ <span class="littleFont">台</span>
|
|
|
+ </b>
|
|
|
</div>
|
|
|
<div style="position: relative;margin-top: 5px;">
|
|
|
<div class="abs fac_progress_value" :style="{width:deviceStatData.currYield.jb.openRatio+'%',backgroundColor: '#008899'}"></div>
|
|
|
@@ -84,7 +112,10 @@
|
|
|
</div>
|
|
|
<div style="padding-left: 25px;color: #27e6ff;width: 100%;">
|
|
|
<div class="littleFont">印染(今日)</div>
|
|
|
- <div style="font-size: 22px;font-weight: bold;">{{ deviceStatData.currYield.rz.yield }}<span class="littleFont">米</span></div>
|
|
|
+ <div style="font-size: 22px;font-weight: bold;">
|
|
|
+ <NumberAnimation :value="deviceStatData.currYield.rz.yield" :decimal="0" />
|
|
|
+ <span class="littleFont">米</span>
|
|
|
+ </div>
|
|
|
<div style="position: relative;margin-top: 5px;">
|
|
|
<div class="abs fac_progress_value" :style="{width:(deviceStatData.currYield.rz.yield/deviceStatData.currYield.rz.yieldMax*100)+'%'}"></div>
|
|
|
<div class="abs fac_progress"></div>
|
|
|
@@ -92,8 +123,15 @@
|
|
|
</div>
|
|
|
<div style="padding-left: 25px;color: #27e6ff;margin-top: 25px;width: 100%;">
|
|
|
<div class="littleFont"><span>开机数(今日)</span><span style="float: right;">总数</span></div>
|
|
|
- <div style="font-size: 22px;"><b>{{ deviceStatData.currYield.rz.openNum }}<span class="littleFont">台</span></b>
|
|
|
- <b style="float: right;">{{ deviceStatData.currYield.rz.totalNum }}<span class="littleFont">台</span></b>
|
|
|
+ <div style="font-size: 22px;">
|
|
|
+ <b>
|
|
|
+ <NumberAnimation :value="deviceStatData.currYield.rz.openNum" :decimal="0" />
|
|
|
+ <span class="littleFont">台</span>
|
|
|
+ </b>
|
|
|
+ <b style="float: right;">
|
|
|
+ <NumberAnimation :value="deviceStatData.currYield.rz.totalNum" :decimal="0" />
|
|
|
+ <span class="littleFont">台</span>
|
|
|
+ </b>
|
|
|
</div>
|
|
|
<div style="position: relative;margin-top: 5px;">
|
|
|
<div class="abs fac_progress_value" :style="{width:deviceStatData.currYield.rz.openRatio+'%'}"></div>
|
|
|
@@ -128,7 +166,11 @@ import { ref,onMounted,watch,emit,onUnmounted } from 'vue';
|
|
|
import {useRouter} from 'vue-router';
|
|
|
import api from "@/api/system";
|
|
|
import * as echarts from 'echarts';
|
|
|
+import NumberAnimation from './NumberAnimation.vue';
|
|
|
export default {
|
|
|
+ components: {
|
|
|
+ NumberAnimation
|
|
|
+ },
|
|
|
props:{
|
|
|
facModelLoadState:{
|
|
|
type:Boolean,
|