| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- {% load staticfiles %}
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <link href="{% static '/lib/bootstrap-3.3.7/css/bootstrap.css' %}" rel="stylesheet">
- <link rel="stylesheet" href="{% static '/lib/font-awesome/4.5.0/css/font-awesome.css' %}">
- <link rel="stylesheet" href="{% static '/lib/css/ace.min.css' %}" />
- <link rel="stylesheet" href="{% static '/lib/css/ace-skins.min.css' %}">
- <link rel="stylesheet" href="{% static '/lib/css/ace-rtl.min.css' %}">
- <link rel="stylesheet" href="{% static '/lib/layui/css/layui.css' %}">
- <link rel="stylesheet" href="{% static '/lib/css/viewer.css' %}">
- <link rel="stylesheet" href="{% static '/css/loading.css' %}?versions=0.5.0" />
- <style type="text/css">
- /* 返回 */
- .headerPlace {
- font-size: 22px;
- color: #418fbb;
- cursor: pointer;
- }
- .headerPlace img {
- vertical-align: middle;
- margin-right: 10px;
- margin-top: -4px;
- }
- body {
- overflow: hidden;
- background: #fff;
- }
- .searchCover {
- margin: 20px 0;
- }
- .innerTable {
- padding: 0 1px 0 0;
- min-width: 750px;
- }
- .table,
- .table.table-striped>thead>tr>th {
- text-align: center;
- }
- table td {
- vertical-align: middle !important;
- }
- .nullData {
- width: 100%;
- height: 500px;
- background: #ddd;
- text-align: center;
- line-height: 500px;
- font-size: 20px;
- border: 1px solid #ddd;
- }
- #listPage {
- overflow-x: scroll;
- }
- </style>
- </head>
- <body>
- <div class="content">
- <div id="detialPage"></div>
- <div id="listPage">
- <div class="searchCover">
- 设备名称:
- <input type="text" value="" class="fp-user" id="ename" placeholder="请输入设备名称"
- onkeypress="if (event.keyCode == 13) sub_filter();" /> 设备ID:
- <input type="text" value="" class="fp-user" id="eId" placeholder="请输入设备ID"
- onkeypress="if (event.keyCode == 13) sub_filter();" />
- <!-- <input type="text" value="" class="fp-user" id="edver" placeholder="请输入设备版本" onkeypress="if (event.keyCode == 13) sub_filter();" /> -->
- <button type="button" onclick="sub_filter()" class="btn btn-sm btn-primary">筛选</button>
- {% if role == "superuser" or role == "staff" %}
- 图片:
- <select name="" onchange="dverSelect()" id="photoTime" style="width:120px">
- <option value="">全部</option>
- <option value="3">近三天</option>
- <option value="7">近七天</option>
- </select>
- 测报灯类型:
- <select name="" onchange="cbdType()" id="lightType" style="width:120px">
- <option value="全部">全部</option>
- <option value="1.0测报灯">1.0测报灯</option>
- <option value="2.0测报灯">2.0测报灯</option>
- <option value="3.0测报灯">3.0测报灯</option>
- <option value="4.0测报灯">4.0测报灯</option>
- <option value="高空测报灯">高空测报灯</option>
- <option value="糖醋测报灯">糖醋测报灯</option>
- <option value="高空简易测报灯">高空简易测报灯</option>
- <option value="其他">其他</option>
- </select>
- <!-- 底板类型:
- <select name="" onchange="dverSelect()" id="baseplateType" style="width:120px">
- <option value="0">全部</option>
- <option value="1">圆形</option>
- <option value="2">方形</option>
- </select> -->
- {% else %} {% endif %}
- </div>
- <div class="innerTable">
- <table id="datatable" class="table table-striped table-hover">
- <thead>
- <tr>
- <th>设备ID</th>
- <th>设备名称</th>
- <th>工作状态</th>
- <th>环境温度(℃)</th>
- <th>环境湿度(%)</th>
- <th>加热仓温度(℃)</th>
- <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>
- </tbody>
- </table>
- <div class="fenpei-bottom">
- <input type="hidden" id="totalPage" value={{ nums }}>
- <div id="page" style="text-align: center;"></div>
- </div>
- </div>
- </div>
- </div>
- <!-- loading -->
- <div id="loadingParent">
- <div id="loadCenter">
- <div class="skype-loader">
- <div class="dot">
- <div class="first"></div>
- </div>
- <div class="dot"></div>
- <div class="dot"></div>
- <div class="dot"></div>
- </div>
- Logging in...
- </div>
- </div>
- <script src="{% static '/lib/js/jquery-2.1.4.min.js' %}"></script>
- <script src="{% static '/lib/layui/layui.all.js' %}"></script>
- <script src="{% static '/js/common.js' %}?versions=0.5.0"></script>
- <script type="text/javascript">
- $.ajaxSetup({
- data: { csrfmiddlewaretoken: '{{ csrf_token }}' },
- });
- if (!$.fn.highcharts) {
- var script = document.createElement("script");
- script.type = "text/javascript";
- script.src = "../static/lib/js/highcharts.js";
- document.body.appendChild(script);
- }
- </script>
- <script src="{% static '/js/reportmanage/cbd_report.js' %}?versions=0.5.0" type="text/javascript"></script>
- </body>
- </html>
|