<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> <div class="pull-left ml15"> <label> <select :duplex="@searchParams.hasVideo" name="hasVideo" class="form-control input-small input-inline" data-duplex-changed="@onSearchList(e)"> <option value="">==有无视频==</option> <option value="1">有</option> <option value="0">无</option> </select> </label> </div> <div class="pull-left ml15"> <label> <select :duplex="@searchParams.supplierId" name="supplierId" class="form-control input-small input-inline" data-duplex-changed="@onSearchList(e)"> <option value="">==全部供应商==</option> <option :for="(key,value) in @supplierList" :attr="{'value':value.supplierId}">{{value.name}}</option> </select> </label> </div> <div class="pull-left ml15"> <label> <select :duplex="@searchParams.eqpsortId" name="eqpsortId" class="form-control input-small input-inline" data-duplex-changed="@onSearchList(e)"> <option value="">==全部分类==</option> <option :for="eqpsort in @eqpsortList" :attr="{'value':eqpsort.eqpsortId}">{{eqpsort.namelabel}}</option> </select> </label> </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> </tr> </thead> <tbody> <tr ms-for="obj in @dataList"> <td>{{obj.catesn}}</td> <td>{{obj.name}}</td> <td>{{obj.eqpsortName}}</td> <td>{{obj.supplierName}}</td> <td><td :html="obj.status|eqpStatus"></td></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>