123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <div class="bjui-pageHeader" data-layout-fixed="true">
- <div class="bjui-searchBar">
- <div class="btn-group">
- <button type="button" class="btn-green" >查询</button>
- <!-- showMoreSearch 记住显示状态data-name="custom2" -->
- <button type="button" class="btn-green" data-toggle="moresearch" title="更多查询条件"><i class="fa fa-angle-double-down"></i></button>
- </div>
- <!-- <button type="button" onclick="Data_upd('__MODULE__/Devices/paidan','#Devices',$('#Devices_sele option:selected').val())" class="btn-green">派单</button>
- <select id="Devices_sele" data-toggle="selectpicker">
- <option value="">请选择</option>
- <foreach name="user" item="u">
- <option value="{$u.agentid}">{$u.truename}</option>
- </foreach>
- </select> -->
- <span><a class="btn btn-orange" href="javascript:;" onclick="Devices_sx()" data-icon="undo"> 刷新</a></span>
- <!-- <span style="float:right;" ><a onclick="down_data('__MODULE__/Devices/downdata?',$('#Devices_form').serialize())" class="btn btn-blue" data-icon="arrow-up" ><i class="fa fa-arrow-down"></i> 导出</a></span> -->
-
-
-
- </div>
- <form data-toggle="ajaxsearch" data-options="{searchDatagrid:$.CurrentNavtab.find('#Devices')}" id="Devices_form">
- <div class="bjui-moreSearch">
- <fieldset>
- <legend style="font-weight:normal;">搜索:</legend>
- <div style="margin:0; padding:1px 5px 5px;">
- <table class="table-condensed" width="100%">
- <tr><td>
- <span>设备ID:</span>
- <input name="deviceid" size="10">
- <div class="btn-group">
- <button type="submit" class="btn-green" onclick="formnone()" data-icon="search">查询!</button>
- <button type="reset" class="btn-orange" data-icon="times">重置</button>
- </div>
- </td></tr>
- <tr><td>
-
- </td></tr>
- </table>
- </div>
- </div>
- </fieldset>
- </div>
- </form>
- </div>
- <!--header end -->
- <div class="bjui-pageContent">
- <table id='Devices'>
- <thead>
- <tr>
- <th data-options="{name:'truename'}">所属客户</th>
- <th data-options="{name:'regtime',width:170}">安装时间</th>
- <th data-options="{name:'deviceid'}">设备ID</th>
- <th data-options="{name:'devicetype'}">设备类型</th>
- <th data-options="{name:'devname'}">设备名称</th>
- <th data-options="{name:'devstatus'}">设备状态</th>
- <th data-options="{name:'linkstatus'}">联网状态</th>
- <th data-options="{name:'phone'}">手机卡号</th>
- <th data-options="{name:'installman'}">安装人员</th>
- <th data-options="{name:'devaddre'}">设备地址</th>
- <th data-options="{name:'installphone'}">联系电话</th>
- <th data-options="{name:'lastupdate'}">编辑时间</th>
- <th data-options="{name:'updateman'}">编辑人</th>
- <th data-options="{render:'Devicesedit',align:'center',quicksort:false}">操作</th>
- </tr>
- </thead>
- </table>
- </div>
- <script>
- $(function(){
- mypage('#Devices',true,false,'__MODULE__/Devices/index/list/l/');//表id ,取值url
- });
- function Devices_sx(){
- $('#Devices').datagrid('refresh', {'filterFlag':true});
- }
- function Devicesedit(tr,data){
- //'<a class="btn btn-red" onclick="Data_del(\'__MODULE__/User/del\','+data.id+',\'#usertable\')" data-mask="true" >删除</a>';
- return '<a class="btn btn-green" data-toggle="dialog" '+
- 'data-options={id:"user_edit",url:"__APP__/Home/Devices/edit/id/'+data.deviceid+'",width:"700",height:"700",onClose:"Devices_sx"} data-mask="true" >配置</a>';
-
- }
- </script>
|