数据
This commit is contained in:
@@ -9,20 +9,16 @@
|
||||
<div v-show="type === 'yaossx' || type === 'yao' || type === 'hljdjw'" class="pop_name">{{data.pointName}}</div>
|
||||
<div v-show="type === 'yj' || type === 'jxs' || type === 'yjmdw' || type === 'hlj'" class="pop_name">{{data.device_code}}</div>
|
||||
<div v-show="type === 'yaossx'" class="pop_status">
|
||||
<div class="pop_status_dot" :class="['green', 'yellow', 'gray', 'red'][Number(data.stat) - 1]"></div>
|
||||
<div class="pop_status_text fgray">{{ ['运行', '暂停', '停机', '故障'][Number(data.stat) - 1] }}</div>
|
||||
<div class="pop_status_dot" :class="['gray', 'yellow', 'green', 'red'][Number(data.stat)]"></div>
|
||||
<div class="pop_status_text fgray">{{ ['停机', '暂停', '运行', '故障'][Number(data.stat)] }}</div>
|
||||
</div>
|
||||
<div v-show="type === 'yj' || type === 'jxs' || type === 'hlj'" class="pop_status">
|
||||
<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>
|
||||
<div class="pop_status_text fgray">{{ ['运行', '暂停', '停机', '故障'][Number(data.color_status) - 1] }}</div>
|
||||
<div v-show="type === 'yj' || type === 'jxs' || type === 'hlj' || type === 'yjmdw'" class="pop_status">
|
||||
<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'" class="pop_status">
|
||||
<div class="pop_status_dot" :class="['green', 'yellow', 'gray', 'red'][Number(data.pointStatus) - 1]"></div>
|
||||
<div class="pop_status_text fgray">{{ ['运行', '暂停', '停机', '故障'][Number(data.pointStatus) - 1] }}</div>
|
||||
<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>
|
||||
</div>
|
||||
<div v-show="type === 'yaossx'" class="pop_content">
|
||||
@@ -149,7 +145,7 @@
|
||||
</div>
|
||||
<div v-show="type === 'hljdjw'" class="pop_content">
|
||||
<div class="popup_item">
|
||||
<div class="popup_label">设备编码</div>
|
||||
<div class="popup_label">点位编码</div>
|
||||
<div class="popup_val">{{ data.pointCode }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user