<div id="component" class="wrapper wrapper-content animated fadeInRight ecommerce">
|
<div class="row">
|
<div class="col-lg-12">
|
<div class="ibox">
|
<div class="ibox-title">
|
<h5>停车位信息</h5>
|
<div class="ibox-tools" style="top:10px;">
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddParkingSpaceModal(-1)">
|
<i class="glyphicon glyphicon-plus"></i>
|
添加车位
|
</button>
|
</div>
|
</div>
|
<div class="ibox-content">
|
|
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
|
<thead>
|
<tr>
|
<th>车位ID</th>
|
<th data-hide="phone">车位编码</th>
|
<th data-hide="phone">车位类型</th>
|
<th data-hide="phone">车位状态</th>
|
<th data-hide="phone">面积</th>
|
<th data-hide="phone">创建员工</th>
|
<th data-hide="phone">备注</th>
|
<th class="text-right">操作</th>
|
|
</tr>
|
</thead>
|
<tbody>
|
<tr v-for="parkingSpace in listParkingSpaceInfo.parkingSpaces">
|
<td>
|
{{parkingSpace.psId}}
|
</td>
|
|
<td>
|
{{parkingSpace.num}}
|
</td>
|
<td>
|
{{parkingSpace.typeCd == '1001'?'地上停车位':'地下停车位'}}
|
</td>
|
<td>
|
{{vc.component._viewParkingSpaceState(parkingSpace.state)}}
|
</td>
|
<td>
|
{{parkingSpace.area}}
|
</td>
|
<td>
|
{{parkingSpace.userName}}
|
</td>
|
<td>
|
{{parkingSpace.remark}}
|
</td>
|
<td class="text-right">
|
<div class="btn-group">
|
<button class="btn-white btn btn-xs" v-on:click="_openEditParkingSpaceModel(parkingSpace)">修改</button>
|
</div>
|
<div class="btn-group">
|
<button class="btn-white btn btn-xs" v-on:click="_openDelParkingSpaceModel(parkingSpace)">删除</button>
|
</div>
|
</td>
|
</tr>
|
</tbody>
|
<tfoot>
|
<tr>
|
<td colspan="7">
|
<ul class="pagination float-right"></ul>
|
</td>
|
</tr>
|
</tfoot>
|
</table>
|
<!-- 分页 -->
|
<vc:create name="pagination"></vc:create>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
<vc:create
|
name="addParkingSpace"
|
notifyLoadDataComponentName="listParkingSpace"
|
></vc:create>
|
<vc:create
|
name="editParkingSpace"
|
notifyLoadDataComponentName="listParkingSpace"
|
|
></vc:create>
|
<vc:create name="deleteParkingSpace"
|
notifyLoadDataComponentName="listParkingSpace"
|
></vc:create>
|
|
</div>
|