<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 style="width: 160px!important;" 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> </tr> </thead> <tbody> <tr ms-for="obj in @dataList"> <td>{{obj.name}}</td> <td>{{obj.phone}}</td> <td>{{obj.agencyName}}</td> <td><img :attr="{src: obj.img}" :css="{width: 50}"></td> <td>{{obj.createTime | date}}</td> <td>{{obj.loginTime | date}}</td> <td><td :html="obj.status|userStatus"></td></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>