This commit is contained in:
2023-06-14 18:25:51 +08:00
parent b8e5505305
commit 3d7a58529d
11 changed files with 351 additions and 133 deletions

View File

@@ -106,8 +106,11 @@
<img v-show="SortAndPalletizingList[1].color_status === 2" src="../../../images/workshop/ktp_red.png" alt="">
<img v-show="SortAndPalletizingList[1].color_status === 3" src="../../../images/workshop/ktp_yellow.png" alt="">
</div>
<div class="sh_machine robot_1 rotate_1">
<img src="../../../images/workshop/robot_cmd_green.png" alt="">
<div v-if="ManipulatorInfoList.length > 0" class="sh_machine robot_1" :class="{'rotate_1': String(ManipulatorInfoList[4].color_status) === '1'}">
<img v-show="String(ManipulatorInfoList[4].color_status) === '0'" src="../../../images/workshop/robot_cmd_gray.png" alt="">
<img v-show="String(ManipulatorInfoList[4].color_status) === '1'" src="../../../images/workshop/robot_cmd_green.png" alt="">
<img v-show="String(ManipulatorInfoList[4].color_status) === '2'" src="../../../images/workshop/robot_cmd_red.png" alt="">
<img v-show="String(ManipulatorInfoList[4].color_status) === '3'" src="../../../images/workshop/robot_cmd_yellow.png" alt="">
</div>
<div class="sh_machine weilan2">
<img src="../../../images/workshop/weilan_5.png" alt="">
@@ -340,7 +343,8 @@ export default {
LastMonthFailureList: [],
LastTenFailureList: [],
SortAndPalletizingList: [], // 分拣拆码垛对接位
SemiFinishedProductShelfList: [] // 半成品货架数据
SemiFinishedProductShelfList: [], // 半成品货架数据
ManipulatorInfoList: [] // 机械手数据
}
},
computed: {
@@ -378,6 +382,7 @@ export default {
this.LastTenFailureList = [...res.result.LastTenFailureList]
this.SortAndPalletizingList = [...res.result.SortAndPalletizingList]
this.SemiFinishedProductShelfList = [...res.result.SemiFinishedProductShelfList]
this.ManipulatorInfoList = [...res.result.ManipulatorInfoList]
this.setEchart1()
this.setEchart2()
}