|
@@ -29,109 +29,66 @@
|
|
|
/>
|
|
|
<img
|
|
|
src="../../assets/img/blue.png"
|
|
|
- v-if="
|
|
|
- (item.load_state == 0 &&
|
|
|
- item.ifOnline == 1 &&
|
|
|
- item.move_state == 'MT_NA' &&
|
|
|
- item.emergency_state == 'OK') ||
|
|
|
- (item.move_state == 'MT_FINISHED' && item.load_state == 0)
|
|
|
- "
|
|
|
+ v-if="item.sys_state == 'IDLE'"
|
|
|
class="left_center_img"
|
|
|
alt=""
|
|
|
/>
|
|
|
<img
|
|
|
src="../../assets/img/blue2.png"
|
|
|
- v-if="
|
|
|
- (item.load_state > 0 &&
|
|
|
- item.ifOnline == 1 &&
|
|
|
- item.move_state == 'MT_NA' &&
|
|
|
- item.emergency_state == 'OK') ||
|
|
|
- (item.move_state == 'MT_FINISHED' && item.load_state > 0)
|
|
|
- "
|
|
|
+ v-if="item.load_state > 0 && item.sys_state == 'IDLE'"
|
|
|
class="left_center_img"
|
|
|
alt=""
|
|
|
/>
|
|
|
|
|
|
<img
|
|
|
src="../../assets/img/green.png"
|
|
|
- v-if="
|
|
|
- item.load_state == 0 &&
|
|
|
- item.ifOnline == 1 &&
|
|
|
- item.move_state == 'MT_RUNNING' &&
|
|
|
- item.emergency_state == 'OK'
|
|
|
- "
|
|
|
+ v-if="item.sys_state == 'EXECUTING'"
|
|
|
class="left_center_img"
|
|
|
alt=""
|
|
|
/>
|
|
|
<img
|
|
|
src="../../assets/img/green2.png"
|
|
|
- v-if="
|
|
|
- item.load_state > 0 &&
|
|
|
- item.ifOnline == 1 &&
|
|
|
- item.move_state == 'MT_RUNNING' &&
|
|
|
- item.emergency_state == 'OK'
|
|
|
- "
|
|
|
+ v-if="item.sys_state == 'EXECUTING' && item.load_state > 0"
|
|
|
class="left_center_img"
|
|
|
alt=""
|
|
|
/>
|
|
|
|
|
|
<img
|
|
|
src="../../assets/img/yellow.png"
|
|
|
- v-if="
|
|
|
- (item.load_state == 0 &&
|
|
|
- item.ifOnline == 1 &&
|
|
|
- item.move_state == 'MT_PAUSED_OBSTACLE') ||
|
|
|
- (item.move_state == 'MT_PAUSED' &&
|
|
|
- item.load_state == 0 &&
|
|
|
- item.ifOnline == 1) ||
|
|
|
- (item.move_state == 'MT_WAIT_FOR_CHECKPOINT' &&
|
|
|
- item.load_state == 0 &&
|
|
|
- item.ifOnline == 1)
|
|
|
- "
|
|
|
+ v-if="item.sys_state == 'PAUSE'"
|
|
|
class="left_center_img"
|
|
|
alt=""
|
|
|
/>
|
|
|
<img
|
|
|
src="../../assets/img/yellow2.png"
|
|
|
- v-if="
|
|
|
- (item.load_state > 0 &&
|
|
|
- item.ifOnline == 1 &&
|
|
|
- item.move_state == 'MT_PAUSED_OBSTACLE') ||
|
|
|
- (item.move_state == 'MT_PAUSED' &&
|
|
|
- item.load_state > 0 &&
|
|
|
- item.ifOnline == 1) ||
|
|
|
- (item.move_state == 'MT_WAIT_FOR_CHECKPOINT' &&
|
|
|
- item.load_state > 0 &&
|
|
|
- item.ifOnline == 1)
|
|
|
- "
|
|
|
+ v-if="item.sys_state == 'PAUSE' && item.load_state > 0"
|
|
|
class="left_center_img"
|
|
|
alt=""
|
|
|
/>
|
|
|
|
|
|
<img
|
|
|
src="../../assets/img/red.png"
|
|
|
- v-if="
|
|
|
- item.load_state == 0 &&
|
|
|
- item.ifOnline == 1 &&
|
|
|
- item.emergency_state != 'OK'
|
|
|
- "
|
|
|
+ v-if="item.sys_state == 'ERROR'"
|
|
|
class="left_center_img"
|
|
|
alt=""
|
|
|
/>
|
|
|
<img
|
|
|
src="../../assets/img/red2.png"
|
|
|
- v-if="
|
|
|
- item.load_state > 0 &&
|
|
|
- item.ifOnline == 1 &&
|
|
|
- item.emergency_state != 'OK'
|
|
|
- "
|
|
|
+ v-if="item.load_state > 0 && item.sys_state == 'ERROR'"
|
|
|
+ class="left_center_img"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ src="../../assets/img/blue4.png"
|
|
|
+ v-if="item.sys_state == 'CHARGING'"
|
|
|
class="left_center_img"
|
|
|
alt=""
|
|
|
/>
|
|
|
-
|
|
|
<img
|
|
|
src="../../assets/img/grey.png"
|
|
|
- v-if="item.ifOnline == 0"
|
|
|
+ v-if="
|
|
|
+ item.sys_state == 'UNKNOWN' || item.sys_state == 'UNAVAILABLE'
|
|
|
+ "
|
|
|
class="left_center_img"
|
|
|
alt=""
|
|
|
/>
|