开放plc真实设备

This commit is contained in:
fan 2019-10-23 13:41:33 +08:00
parent d55f740065
commit abd4fbbf64

View File

@ -173,35 +173,35 @@
<el-button icon="el-icon-plus" circle plain @click="addingRoles('bigScreen', '增加大屏')" /> <el-button icon="el-icon-plus" circle plain @click="addingRoles('bigScreen', '增加大屏')" />
</div> </div>
</div> </div>
<!--<div class="Scheduling">--> <div class="Scheduling">
<!--<p class="title">真实设备-<span>{{hasPlc?'[PLC网关在线]':'[PLC网关离线]'}}</span></p>--> <p class="title">真实设备-<span>{{ hasPlc?'[PLC网关在线]':'[PLC网关离线]' }}</span></p>
<!--<ul>--> <ul>
<!--<li v-for="(nor, index) in stationStandList" :key="index" class="selectPerson">--> <li v-for="(nor, index) in stationStandList" :key="index" class="selectPerson">
<!--<span>{{ realDeviceType[nor.deviceType] }}</span>--> <span>{{ realDeviceType[nor.deviceType] }}</span>
<!--<div style="float: right; margin-right: 15px;">--> <div style="float: right; margin-right: 15px;">
<!--<el-select--> <el-select
<!--v-model="nor.deviceCode"--> v-model="nor.deviceCode"
<!--:placeholder="$t('global.choose')"--> :placeholder="$t('global.choose')"
<!--size="mini"--> size="mini"
<!--:disabled="userId != roomInfo.creatorId"--> :disabled="userId != roomInfo.creatorId"
<!--@change="handleChangeDevice(nor, doorList, stationStandList)"--> @change="handleChangeDevice(nor, doorList, stationStandList)"
<!--&gt;--> >
<!--<el-option--> <el-option
<!--v-for="item in doorList"--> v-for="item in doorList"
<!--:key="item.code"--> :key="item.code"
<!--:label="item.name"--> :label="item.name"
<!--:value="item.code"--> :value="item.code"
<!--:disabled="item.disabled"--> :disabled="item.disabled"
<!--style="margin-left: 10px"--> style="margin-left: 10px"
<!--/>--> />
<!--</el-select>--> </el-select>
<!--</div>--> </div>
<!--</li>--> </li>
<!--</ul>--> </ul>
<!--<div v-if="userId == roomInfo.creatorId" class="add-box">--> <div v-if="userId == roomInfo.creatorId && hasPlc" class="add-box">
<!--<el-button icon="el-icon-plus" circle plain @click="addingDevice" />--> <el-button icon="el-icon-plus" circle plain @click="addingDevice" />
<!--</div>--> </div>
<!--</div>--> </div>
</div> </div>
</div> </div>
<div class="start-box"> <div class="start-box">
@ -622,7 +622,7 @@ export default {
this.stationList = resp.data; this.stationList = resp.data;
this.computePermissionRest(); this.computePermissionRest();
// //
// this.handleDoorList(res.data.mapId, resp.data); this.handleDoorList(res.data.mapId, resp.data);
}, },
// list Admin Instructor Dispatcher Attendant Audience Driver Repair IBP IBP // list Admin Instructor Dispatcher Attendant Audience Driver Repair IBP IBP
async getUserList() { async getUserList() {