| | |
| | | <el-collapse-item title="设备控制" name="1"> |
| | | <el-card |
| | | class="box-card" |
| | | shadow="hover" |
| | | body-style="height:30px; padding: 0 20px; display: flex; align-items: center;"> |
| | | shadow="hover"> |
| | | <el-switch v-model="value1" active-text="" inactive-text="程序服务"></el-switch> |
| | | </el-card> |
| | | <el-card |
| | | class="box-card" |
| | | shadow="hover" |
| | | body-style="height:30px; padding: 0 20px; display: flex; align-items: center;" |
| | | style="margin-top: 3px;"> |
| | | <el-switch v-model="value2" active-text="" inactive-text="脱机模式"></el-switch> |
| | | </el-card> |
| | | <el-card |
| | | class="box-card" |
| | | shadow="hover" |
| | | body-style="height:30px; padding: 0 20px; display: flex; align-items: center;" |
| | | style="margin-top: 3px;"> |
| | | <el-switch v-model="value3" active-text="" inactive-text="自刷新"></el-switch> |
| | | </el-card> |
| | |
| | | :key="index" |
| | | class="box-card" |
| | | shadow="hover" |
| | | body-style="height:30px; padding: 0 20px; display: flex; align-items: center;" |
| | | style="margin-top: 3px;"> |
| | | <el-switch v-model="stacker.value" :inactive-text="`${index + 1}号堆垛机`"></el-switch> |
| | | </el-card> |
| | |
| | | :key="index" |
| | | class="box-card" |
| | | shadow="hover" |
| | | body-style="height:30px; padding: 0 20px; display: flex; align-items: center;" |
| | | style="margin-top: 3px;"> |
| | | <el-switch v-model="conveyor.value" :inactive-text="`${index + 1}楼输送线`"></el-switch> |
| | | </el-card> |
| | |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .box-card{ |
| | | height:30px; |
| | | padding: 0; |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | .card-page{ |
| | | width: 100%; |
| | | height: 30px; |