设备状态
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user