| | |
| | | <div class="card-container"> |
| | | <el-card class="other-box-card" v-for="deviceInfo in devicePointData" :key="deviceInfo.id"> |
| | | <div slot="header" class="linefix"> |
| | | <span>{{ deviceInfo.text }}</span> |
| | | <div :class="['lineStatus', 'device-status-0']"></div> |
| | | <!-- <div :class="['lineStatus', { 'device-status-0': deviceInfo.status === 0 }, { 'device-status-1': deviceInfo.status === 1 }]"></div> --> |
| | | <span>{{ deviceInfo.text }}</span> |
| | | <div :class="['lineStatus', { 'device-status-0': deviceInfo.plcStatus === true }, { 'device-status-1': deviceInfo.plcStatus === false }]"></div> |
| | | </div> |
| | | <div class="otherValuefix" > |
| | | <el-form label-position="left" label-width="90px"> |
| | |
| | | <el-input v-model="deviceInfo.qty" readonly></el-input> |
| | | </el-form-item> --> |
| | | <el-form-item label="状态"> |
| | | <el-input :value="deviceInfo.status ? '在线' : '离线'" readonly></el-input> |
| | | </el-form-item> |
| | | <el-input :value="deviceInfo.plcStatus ? '在线' : '离线'" readonly></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <!-- 设备类型为码垛机器人 --> |