|
@@ -9,8 +9,8 @@
|
|
|
<span class="content">1540</span>
|
|
|
</el-col>
|
|
|
<el-col class="col">
|
|
|
- <span class="title">出生天数:</span>
|
|
|
- <span class="content">51</span>
|
|
|
+ <span class="title">日龄:</span>
|
|
|
+ <span class="content">421</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row type="flex" class="row">
|
|
@@ -30,7 +30,7 @@
|
|
|
</el-col>
|
|
|
<el-col class="col">
|
|
|
<span class="title">当前位置:</span>
|
|
|
- <span class="content">育肥舍四栋</span>
|
|
|
+ <span class="content">产房</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row type="flex" class="row">
|
|
@@ -40,7 +40,7 @@
|
|
|
</el-col>
|
|
|
<el-col class="col">
|
|
|
<span class="title">饲养员:</span>
|
|
|
- <span class="content">某某某</span>
|
|
|
+ <span class="content">曹东华</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</ul>
|
|
@@ -181,12 +181,17 @@ export default {
|
|
|
if(this.mainInfo.id == 853) tt = 0.83
|
|
|
if(this.mainInfo.id == 854) tt = 0.9
|
|
|
if(this.mainInfo.id == 857) tt = 0.91
|
|
|
- if(this.mainInfo.id == 858) tt = 0.89
|
|
|
+ if(this.mainInfo.id == 858) tt = 0.88
|
|
|
res.forEach((item, index) => {
|
|
|
dateArr.push(item.created)
|
|
|
|
|
|
animalTempArr.push((item.animalTemp * tt).toFixed(2))
|
|
|
- batteryArr.push(item.battery*100)
|
|
|
+ if(item.battery*100 >= 100) {
|
|
|
+ batteryArr.push(100)
|
|
|
+ }else {
|
|
|
+ batteryArr.push(item.battery*100)
|
|
|
+ }
|
|
|
+
|
|
|
envTempArr.push((item.envTemp * tt).toFixed(2))
|
|
|
});
|
|
|
this.dateArr = dateArr
|