<div slot="content"> <div class="portlet-body"> <div class="table-toolbar"> <div class="row"> <div class="col-md-12"> <div id="sample_1_filter" class="dataTables_filter"> <div class="btn-group pull-left"> <a :click="@onAddEditObj($event)" href="javascript:;" class="btn green"> 添加场地<i class="fa fa-plus"></i> </a> </div> <label> <button type="button" class="btn green ml15" :click="@onSearchList"><i class="fa fa-search"></i>搜索</button> </label> <label>场地/地区: <input type="search" class="form-control input-small input-inline" placeholder="请输入场地或地区" :duplex="@searchParams.keyword" aria-controls="sample_1"> </label> </div> </div> </div> </div> <div id="sample_1_wrapper" class="dataTables_wrapper no-footer"> <div :if="@dataList.length > 0" class="table-scrollable"> <table class="table table-striped table-bordered table-hover dataTable no-footer" id="sample_1" role="grid" aria-describedby="sample_1_info"> <thead> <tr role="row"> <th>编号</th> <th>场地名称</th> <th>场地二维码</th> <th>场地类别</th> <th>地区名称</th> <th>提供方式</th> <th>管理方式</th> <th>巡检合格范围</th> <th>创建时间</th> <th>操作</th> </tr> </thead> <tbody> <tr ms-for="obj in @dataList"> <td>{{obj.areaId}}</td> <td>{{obj.name}}</td> <td> <a href="javascript:;" title="二维码" ms-on-click="@showQrcode(obj.qrcode)">{{obj.qrcode}}</a> </td> <td>{{obj.areaTypeName}}</td> <td>{{obj.regionFullName}}</td> <td>{{obj.provideWayName}}</td> <td :html="obj.qrcodeType | areaTypeStatus"></td> <td>{{obj.checkRange}}米</td> <td>{{obj.createTime | date}}</td> <td> <button :click="@onAddEditObj($event,obj.$model)" type="button" class="btn green btn-xs">编辑</button> </td> </tr> </tbody> </table> </div> <div class="alert alert-blue" :if="@dataList.length <= 0"> <span>暂无数据....</span> </div> </div> </div> </div>