mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
e6aeaddd92
commit
3eea553e6e
@ -4,7 +4,10 @@
|
||||
<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 accessControlInoutInfo.openTypeCds" :key="index" @click="swatchOpenTypeCd(item)" :class="{'vc-node-selected':accessControlInoutInfo.conditions.openTypeCd == item.openTypeCd}">
|
||||
<li class="list-group-item node-orgTree "
|
||||
v-for="(item,index) in accessControlInoutInfo.openTypeCds" :key="index"
|
||||
@click="swatchOpenTypeCd(item)"
|
||||
:class="{'vc-node-selected':accessControlInoutInfo.conditions.openTypeCd == item.openTypeCd}">
|
||||
{{item.openTypeName}}
|
||||
</li>
|
||||
</ul>
|
||||
@ -12,11 +15,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
|
||||
<div class="ibox ">
|
||||
<div class="ibox-title">
|
||||
<h5><span><vc:i18n name="查询条件"></vc:i18n></span></h5>
|
||||
<h5><span>
|
||||
<vc:i18n name="查询条件"></vc:i18n>
|
||||
</span></h5>
|
||||
<div class="ibox-tools" style="top:10px;">
|
||||
</div>
|
||||
</div>
|
||||
@ -24,25 +28,31 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-2">
|
||||
<div class="form-group">
|
||||
<select class="form-control form-control inline" v-model="accessControlInoutInfo.conditions.machineId">
|
||||
<select class="form-control form-control inline"
|
||||
v-model="accessControlInoutInfo.conditions.machineId">
|
||||
<option selected value="">请选择门禁</option>
|
||||
<option :value="item.machineId" v-for="(item,index) in accessControlInoutInfo.accessControls">{{item.machineName}}</option>
|
||||
<option :value="item.machineId"
|
||||
v-for="(item,index) in accessControlInoutInfo.accessControls">
|
||||
{{item.machineName}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<div class="form-group">
|
||||
<input type="text" :placeholder="vc.i18n('请填写用户名称','accessControlInout')" v-model="accessControlInoutInfo.conditions.name" class=" form-control">
|
||||
<input type="text" :placeholder="vc.i18n('请填写用户名称','accessControlInout')"
|
||||
v-model="accessControlInoutInfo.conditions.name" class=" form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<div class="form-group">
|
||||
<input type="text" :placeholder="vc.i18n('请填写手机号','accessControlInout')" v-model="accessControlInoutInfo.conditions.tel" class=" form-control">
|
||||
<input type="text" :placeholder="vc.i18n('请填写手机号','accessControlInout')"
|
||||
v-model="accessControlInoutInfo.conditions.tel" class=" form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<div class="form-group">
|
||||
<select class="form-control form-control inline" v-model="accessControlInoutInfo.conditions.state">
|
||||
<select class="form-control form-control inline"
|
||||
v-model="accessControlInoutInfo.conditions.state">
|
||||
<option selected value="">请选择开门状态</option>
|
||||
<option value="C">开门成功</option>
|
||||
<option value="F">开门失败</option>
|
||||
@ -50,7 +60,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryAccessControlInoutMethod()">
|
||||
<button type="button" class="btn btn-primary btn-sm"
|
||||
v-on:click="_queryAccessControlInoutMethod()">
|
||||
<vc:i18n name="查询"></vc:i18n>
|
||||
</button>
|
||||
</div>
|
||||
@ -71,12 +82,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
|
||||
<div class="ibox">
|
||||
<div class="ibox-title">
|
||||
<h5>
|
||||
@ -130,8 +139,11 @@
|
||||
<tbody>
|
||||
<tr v-for="accessControlInout in accessControlInoutInfo.accessControlInouts">
|
||||
<td class="text-center" style="white-space: nowrap;">
|
||||
<img style="width: 60px; height: 60px;" class="border-radius" v-if="accessControlInout.facePath" v-bind:src="accessControlInout.facePath" v-on:click="_viewOwnerFace(accessControlInout.facePath)" />
|
||||
<img style="width: 60px; height: 60px;" class="border-radius" v-else src="/img/noPhoto.jpg" />
|
||||
<img style="width: 60px; height: 60px;" class="border-radius"
|
||||
v-if="accessControlInout.facePath" v-bind:src="accessControlInout.facePath"
|
||||
v-on:click="_viewOwnerFace(accessControlInout.facePath)" />
|
||||
<img style="width: 60px; height: 60px;" class="border-radius" v-else
|
||||
src="/img/noPhoto.jpg" />
|
||||
</td>
|
||||
<td class="text-center">{{accessControlInout.inoutId}}</td>
|
||||
<td class="text-center">{{accessControlInout.machineName}}</td>
|
||||
@ -151,8 +163,7 @@
|
||||
<vc:create path="frame/pagination"></vc:create>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user