修改看板

master
夜笙歌 4 weeks ago
parent f900b64b32
commit 7b6d8aeffe

@ -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="['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> <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>
<div style="margin-bottom: 1vw"> <div>
<span>agv3</span> <span>agv3</span>
<el-button :type="(AGVData[2]||{}).status === '7'?'success':''" style="margin: 0 1vw">充电</el-button> <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> <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; height: 10vw;
transform: translateX(-50%); transform: translateX(-50%);
color: #fff; color: #fff;
white-space: nowrap;
} }
/deep/.el-button{ /deep/.el-button{
background:#0000; background:#0000;

Loading…
Cancel
Save