151 lines
8.1 KiB
HTML
151 lines
8.1 KiB
HTML
<div>
|
|
<div class="row">
|
|
<div class="col-md-2 padding-r-0">
|
|
<div class=" border-radius ">
|
|
<div class="margin-xs-r treeview ">
|
|
<ul class="list-group text-center border-radius">
|
|
<li class="list-group-item node-orgTree " v-for="(item,index) in barrierInfo.parkingBoxs"
|
|
:key="index" @click="swatchParkingBox(item)"
|
|
:class="{'vc-node-selected':barrierInfo.conditions.boxId == item.boxId}">
|
|
{{item.boxName}}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-10">
|
|
<div class="ibox ">
|
|
<div class="ibox-title">
|
|
<h5>
|
|
<vc:i18n name="查询条件"></vc:i18n>
|
|
</h5>
|
|
<div class="ibox-tools" style="top:10px;">
|
|
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<div class="row">
|
|
<div class="col-sm-2">
|
|
<div class="form-group">
|
|
<input type="text" :placeholder="vc.i18n('请选择设备编码','barrier')"
|
|
v-model="barrierInfo.conditions.machineCode" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<div class="form-group">
|
|
<input type="text" :placeholder="vc.i18n('请选择设备名称','barrier')"
|
|
v-model="barrierInfo.conditions.machineName" class=" form-control">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-1">
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryBarrierMethod()">
|
|
<i class="glyphicon glyphicon-search"></i> <span>
|
|
<vc:i18n name="查询"></vc:i18n>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="ibox">
|
|
<div class="ibox-title">
|
|
<h5>
|
|
<vc:i18n name="摄像头" namespace="barrier"></vc:i18n>
|
|
</h5>
|
|
<div class="ibox-tools" style="top:10px;">
|
|
<button type="button" class="btn btn-primary btn-sm"
|
|
v-if="vc.hasPrivilege('502024030325550044')" v-on:click="_openAddBarrierModal()">
|
|
<vc:i18n name="添加" namespace="barrier"></vc:i18n>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content ibox-content-auto-height">
|
|
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-center">
|
|
<vc:i18n name='设备编码' namespace='barrier'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='设备名称' namespace='barrier'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='设备IP' namespace='barrier'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='设备方向' namespace='barrier'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='道闸厂家' namespace='barrier'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='岗亭' namespace='barrier'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='状态' namespace='barrier'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='监控' namespace='barrier'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='心跳时间' namespace='barrier'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='创建时间' namespace='barrier'></vc:i18n>
|
|
</th>
|
|
<th class="text-center">
|
|
<vc:i18n name='操作'></vc:i18n>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="barrier in barrierInfo.barriers">
|
|
<td class="text-center">{{barrier.machineCode}}</td>
|
|
<td class="text-center">{{barrier.machineName}}</td>
|
|
<td class="text-center">{{barrier.machineIp}}</td>
|
|
<td class="text-center">{{barrier.direction == '3306'?'进':'出'}}</td>
|
|
<td class="text-center">{{barrier.implBeanName}}</td>
|
|
<td class="text-center">{{barrier.boxName}}</td>
|
|
<td class="text-center">{{barrier.stateName}}</td>
|
|
<td class="text-center">{{barrier.monitorName}}</td>
|
|
<td class="text-center">{{barrier.heartbeatTime}}</td>
|
|
<td class="text-center">{{barrier.createTime}}</td>
|
|
<td class="text-center">
|
|
<div class="btn-group">
|
|
<button class="btn-white btn btn-xs" v-if="barrier.direction == '3306'"
|
|
v-on:click="_openVisitQrCode(barrier)">
|
|
<vc:i18n name='访客码'></vc:i18n>
|
|
</button>
|
|
</div>
|
|
<div class="btn-group">
|
|
<button class="btn-white btn btn-xs"
|
|
v-if="vc.hasPrivilege('502024030398460046')"
|
|
v-on:click="_openEditBarrierModel(barrier)">
|
|
<vc:i18n name='修改'></vc:i18n>
|
|
</button>
|
|
</div>
|
|
<div class="btn-group">
|
|
<button class="btn-white btn btn-xs"
|
|
v-if="vc.hasPrivilege('502024030326130048')"
|
|
v-on:click="_openDeleteBarrierModel(barrier)">
|
|
<vc:i18n name='删除'></vc:i18n>
|
|
</button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<!-- 分页 -->
|
|
<vc:create path="frame/pagination"></vc:create>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<vc:create path="car/addBarrier" callBackListener="" callBackFunction=""></vc:create>
|
|
<vc:create path="car/editBarrier"></vc:create>
|
|
<vc:create path="car/deleteBarrier"></vc:create>
|
|
|
|
<vc:create path="common/viewQrCode"></vc:create>
|
|
</div> |