|
|
|
@ -36,7 +36,7 @@
|
|
|
|
|
<el-button :type="['268','63','67','151','200','201','202','203'].includes((AGVData[1]||{}).status)?'success':''" style="margin: 0 1vw">运行</el-button>
|
|
|
|
|
<el-button :type="(!['246','248','4','268','63','67','151','200','201','202','203','7'].includes((AGVData[1]||{}).status))?'danger':''" style="margin: 0 1vw">故障</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-bottom: 1vw">
|
|
|
|
|
<div>
|
|
|
|
|
<span>agv3</span>
|
|
|
|
|
<el-button :type="(AGVData[2]||{}).status === '7'?'success':''" style="margin: 0 1vw">充电</el-button>
|
|
|
|
|
<el-button :type="['246','248','4'].includes((AGVData[2]||{}).status)?'primary':''" style="margin: 0 1vw">待机</el-button>
|
|
|
|
@ -639,6 +639,7 @@ export default {
|
|
|
|
|
height: 10vw;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
color: #fff;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
/deep/.el-button{
|
|
|
|
|
background:#0000;
|
|
|
|
|