开放plc真实设备
This commit is contained in:
parent
d55f740065
commit
abd4fbbf64
@ -173,35 +173,35 @@
|
||||
<el-button icon="el-icon-plus" circle plain @click="addingRoles('bigScreen', '增加大屏')" />
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="Scheduling">-->
|
||||
<!--<p class="title">真实设备-<span>{{hasPlc?'[PLC网关在线]':'[PLC网关离线]'}}</span></p>-->
|
||||
<!--<ul>-->
|
||||
<!--<li v-for="(nor, index) in stationStandList" :key="index" class="selectPerson">-->
|
||||
<!--<span>{{ realDeviceType[nor.deviceType] }}</span>-->
|
||||
<!--<div style="float: right; margin-right: 15px;">-->
|
||||
<!--<el-select-->
|
||||
<!--v-model="nor.deviceCode"-->
|
||||
<!--:placeholder="$t('global.choose')"-->
|
||||
<!--size="mini"-->
|
||||
<!--:disabled="userId != roomInfo.creatorId"-->
|
||||
<!--@change="handleChangeDevice(nor, doorList, stationStandList)"-->
|
||||
<!-->-->
|
||||
<!--<el-option-->
|
||||
<!--v-for="item in doorList"-->
|
||||
<!--:key="item.code"-->
|
||||
<!--:label="item.name"-->
|
||||
<!--:value="item.code"-->
|
||||
<!--:disabled="item.disabled"-->
|
||||
<!--style="margin-left: 10px"-->
|
||||
<!--/>-->
|
||||
<!--</el-select>-->
|
||||
<!--</div>-->
|
||||
<!--</li>-->
|
||||
<!--</ul>-->
|
||||
<!--<div v-if="userId == roomInfo.creatorId" class="add-box">-->
|
||||
<!--<el-button icon="el-icon-plus" circle plain @click="addingDevice" />-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
<div class="Scheduling">
|
||||
<p class="title">真实设备-<span>{{ hasPlc?'[PLC网关在线]':'[PLC网关离线]' }}</span></p>
|
||||
<ul>
|
||||
<li v-for="(nor, index) in stationStandList" :key="index" class="selectPerson">
|
||||
<span>{{ realDeviceType[nor.deviceType] }}</span>
|
||||
<div style="float: right; margin-right: 15px;">
|
||||
<el-select
|
||||
v-model="nor.deviceCode"
|
||||
:placeholder="$t('global.choose')"
|
||||
size="mini"
|
||||
:disabled="userId != roomInfo.creatorId"
|
||||
@change="handleChangeDevice(nor, doorList, stationStandList)"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in doorList"
|
||||
:key="item.code"
|
||||
:label="item.name"
|
||||
:value="item.code"
|
||||
:disabled="item.disabled"
|
||||
style="margin-left: 10px"
|
||||
/>
|
||||
</el-select>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<div v-if="userId == roomInfo.creatorId && hasPlc" class="add-box">
|
||||
<el-button icon="el-icon-plus" circle plain @click="addingDevice" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="start-box">
|
||||
@ -622,7 +622,7 @@ export default {
|
||||
this.stationList = resp.data;
|
||||
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盘
|
||||
async getUserList() {
|
||||
|
Loading…
Reference in New Issue
Block a user