设备状态

This commit is contained in:
2024-03-07 09:53:32 +08:00
parent 33a06c25a8
commit 1196a96979
2 changed files with 14 additions and 14 deletions

View File

@@ -13,8 +13,8 @@
<div class="pop_status_text fgray">{{ ['运行', '暂停', '停机', '故障'][Number(data.stat) - 1] }}</div>
</div>
<div v-show="type === 'yj' || type === 'jxs' || type === 'hlj'" class="pop_status">
<div class="pop_status_dot" :class="['green', 'yellow', 'gray', 'red'][Number(data.device_status) - 1]"></div>
<div class="pop_status_text fgray">{{ ['运行', '暂停', '停机', '故障'][Number(data.device_status) - 1] }}</div>
<div class="pop_status_dot" :class="['yellow', 'green', 'red'][Number(data.device_status) - 1]"></div>
<div class="pop_status_text fgray">{{ ['待机', '生产中', '故障'][Number(data.device_status) - 1] }}</div>
</div>
<div v-show="type === 'yjmdw'" class="pop_status">
<div class="pop_status_dot" :class="['green', 'yellow', 'gray', 'red'][Number(data.color_status) - 1]"></div>