<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 name="eqpId" class="form-control input-small input-inline" id="type"> <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.flowType" name="flowType" 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> <select :duplex="@searchParams.createBy" name="createBy" class="form-control input-small input-inline"> <option value="">==巡检人员==</option> <option :for="(key,value) in @createByList" :attr="{'value':value.uin}">{{value.name}}</option> </select> </label> </div> <div class="pull-left ml15"> <label> <select :duplex="@searchParams.statusId" name="statusId" class="form-control input-small input-inline"> <option value="">==巡检状态==</option> <option :for="(key,value) in @statusList" :attr="{'value':value.id}">{{value.name}}</option> </select> </label> </div> <div class="pull-left ml15"> <label> <select :duplex="@searchParams.reasonId" name="reasonId" class="form-control input-small input-inline"> <option value="">==报修原因==</option> <option :for="(key,value) in @brokenList" :attr="{'value':value.reasonId}">{{value.name}}</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> <span :if="obj.flowType === 1">{{obj.eqpName}}{{obj.eqpCatesn ? (',' + obj.eqpCatesn) : ''}}</span> <a :if="obj.flowType === 2" class="clickabled_a" href="javascript:;" title="" ms-on-click="@showEquiementsByArea(obj.$model)"> {{obj.item_sum + '件器材'}} </a> </td> <td> <a class="clickabled_a" href="javascript:;" title="地图" ms-on-click="@showMap(obj.$model)"> {{obj.regionFullName}}{{obj.areaName}} </a> </td> <td> <a href="javascript:;" title="二维码" ms-on-click="@showQrcode(obj.itemsn,obj.areaId)"><i class="glyphicon glyphicon-qrcode" style="font-size: 18px;"></i></a> </td> <td>{{obj.flowType === 1 ? '器材码巡检' : '场地码巡检'}}</td> <td>{{obj.statusNewName}}</td> <td>{{obj.createDate}}</td> <td>{{obj.createName}}{{obj.createPhone ? (',' + obj.createPhone) : ''}}</td> <td> <a ms-click="@onShowImg($event)"> <img ms-attr="{'src': obj.imgsnap}" class="imgurl" height="100"/> </a> </td> <td>{{obj.actionName}}</td> <td>{{obj.remark === '' ? '无' : obj.remark}}</td> <td> <button :click="@showMore(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>