<div slot="content"> <div class="portlet-body"> <div class="table-toolbar"> <div class="row"> <div class="col-md-12"> <div class="pull-left"> <label> <select name="areaId" class="form-control input-small input-inline select2add" id="area"> <option value="">==安装场地==</option> <option :for="(key,value) in @areaList" :attr="{'value':value.areaId}">{{value.name}}</option> </select> </label> </div> <div class="pull-left ml15"> <label> <select :duplex="@searchParams.installYear" name="installYear" class="form-control input-small input-inline"> <option value="0">==安装年限==</option> <option :for="(key,value) in @yearList" :attr="{'value':value.id}">{{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"> <option value="">==设施类型==</option> <option :for="(key,value) in @eqpSortList" :attr="{'value':value.eqpsortId}">{{value.eqpsortName}}</option> </select> </label> </div> <div class="pull-left ml15"> <label> <select :duplex="@searchParams.itemType" name="itemType" class="form-control input-small input-inline"> <option value="">==管理方式==</option> <option value="1">器材码</option> <option value="2">场地码</option> </select> </label> </div> <div class="pull-left ml15"> <label> <input class="form-control input-small input-inline" type="text" :duplex="@searchParams.keyword" placeholder="请输入型号/名称"/> </label> </div> <label class="pull-left ml15"> <button type="button" class="btn green ml15 search" :click="@onSearchList"><i class="img"></i><span class="text">搜索</span></button> </label> <div id="sample_1_filter" class="dataTables_filter pull-left"> <label> <button type="button" class="btn blue ml15 export" :click="@onExportList"><i class="img"></i><span class="text">导出Excel</span></button> </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> <th>操作</th> </tr> </thead> <tbody> <tr ms-for="obj in @dataList"> <td> <a :if="obj.eqpImgurl" ms-click="@onShowImg($event)"> <img ms-attr="{'src': obj.eqpImgurl}" class="imgurl" height="100"/> </a> <button :if="!obj.eqpImgurl" :click="@onAddEditObj($event,obj.$model)" type="button" class="btn btn-xs add">添加图片</button> </td> <td>{{obj.eqpName}}{{obj.eqpCatesn ? (',' + obj.eqpCatesn) : ''}}</td> <td> <select :duplex="obj.eqpsortId" class="form-control input-small input-inline" data-duplex-changed="@onchangeEqpSortCode(obj)"> <option :for="(key,value) in @eqpSortList" :attr="{'value':value.eqpsortId}">{{value.eqpsortName}}</option> </select> </td> <td>{{obj.itemType === 1 ? '器材码' : '场地码'}}</td> <td> <a class="clickabled_a" href="javascript:;" title="地图" ms-on-click="@showMap(obj.$model)"> {{obj.regionFullName}}{{obj.areaName}} </a> </td> <td>{{obj.installTime | date}}</td> <td>{{obj.expireTime | date}}</td> <td> <select :duplex="obj.standardcode" class="form-control input-small input-inline" data-duplex-changed="@onchangeStandardCode(obj)"> <option :for="(key,value) in @standardcodeSelectList" :attr="{'value':value.standardcode}">{{value.standardcodeName}}</option> </select> </td> <td>{{obj.provideWayName}}</td> <td>{{obj.supplierName}}</td> <td> <button :click="@showFlow(obj.$model)" type="button" class="btn green btn-xs edit">巡检记录</button> </td> </tr> </tbody> </table> </div> <div class="alert alert-blue" :if="@dataList.length <= 0"> <span>暂无数据....</span> </div> </div> </div> </div>