This commit is contained in:
2024-04-17 17:06:27 +08:00
parent 7cc272502e
commit 6a5d8630a9
2 changed files with 11 additions and 2 deletions

View File

@@ -756,7 +756,7 @@ export const deviceCondition = () => {
'barcode': 10010
}
],
'yzslwPositionList': [
'YzslwPositionList': [
{
'mode': 3,
'device_status': 2,

View File

@@ -13,7 +13,16 @@
<div class="pop_status_dot" :class="['gray', 'yellow', 'green', 'red'][Number(data.device_status)]"></div>
<div class="pop_status_text fgray">{{ ['停机', '暂停', '运行', '故障'][Number(data.device_status)] }}</div>
</div>
<div v-show="type === 'hljdjw' || type === 'rgfjc' || type === 'hchj' || type === 'klhw'" class="pop_status">
<div v-show="type === 'rgfjc'" class="pop_status">
<div class="pop_status_text fgray">{{ ['无货', '有货'][Number(data.pointStatus) - 1] }}</div>
</div>
<div v-show="type === 'hchj'" class="pop_status">
<div class="pop_status_text fgray">{{ ['空位', '空盘', '有料'][Number(data.pointStatus) - 1] }}</div>
</div>
<div v-show="type === 'klhw'" class="pop_status">
<div class="pop_status_text fgray">{{ ['空位', '空盅', '满盅'][Number(data.pointStatus) - 1] }}</div>
</div>
<div v-show="type === 'hljdjw'" class="pop_status">
<div class="pop_status_dot" :class="['gray', 'yellow', 'green', 'red'][Number(data.pointStatus)]"></div>
<div class="pop_status_text fgray">{{ ['停机', '暂停', '运行', '故障'][Number(data.pointStatus)] }}</div>
</div>