|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+<!-- MAIN CONTENT -->
|
|
|
2
|
+<div id="content">
|
|
|
3
|
+ <!-- widget grid -->
|
|
|
4
|
+ <section widget-grid id="widget-grid">
|
|
|
5
|
+ <div class="row">
|
|
|
6
|
+ <article class="col-sm-12">
|
|
|
7
|
+
|
|
|
8
|
+ <div jarvis-widget id="standard-datatable-widget" data-widget-color="darken"
|
|
|
9
|
+ data-widget-editbutton="true">
|
|
|
10
|
+ <header>
|
|
|
11
|
+ <span class="widget-icon"> <i class="fa fa-table"></i> </span>
|
|
|
12
|
+ <h2>温度报警列表</h2>
|
|
|
13
|
+ </header>
|
|
|
14
|
+ <div>
|
|
|
15
|
+ <div class="widget-body no-padding">
|
|
|
16
|
+ <div id="DataTables_Table_1_wrapper" class="dataTables_wrapper form-inline no-footer">
|
|
|
17
|
+ <div class="dt-toolbar">
|
|
|
18
|
+ <div class="col-xs-12 col-sm-10">
|
|
|
19
|
+ <a class="btn btn-primary btn-sm" ng-click="print()">
|
|
|
20
|
+ <span class="fa fa-print"></span> 打 印
|
|
|
21
|
+ </a> 
|
|
|
22
|
+ <label> 仓房名称: 
|
|
|
23
|
+ <select ng-model="search.cfbm" class="form-control input-sm"
|
|
|
24
|
+ ng-options="store.cfbm as store.storehouseName for store in storelist">
|
|
|
25
|
+ <option value="">请选择</option>
|
|
|
26
|
+ </select> 
|
|
|
27
|
+ </label>
|
|
|
28
|
+ <label>检查日期:<input style="width: 100px;" class="form-control" type="text"
|
|
|
29
|
+ ng-model="search.searchStartDate" name="searchStartDate" id="startDate"
|
|
|
30
|
+ onClick="WdatePicker({lang:'zh-cn',maxDate:'#F{$dp.$D(\'endDate\')}'})">
|
|
|
31
|
+ -- <input style="width: 100px;" class="form-control" type="text" ng-disabled="isArchive"
|
|
|
32
|
+ ng-model="search.searchEndDate" name="searchEndDate" id="endDate"
|
|
|
33
|
+ onClick="WdatePicker({lang:'zh-cn',minDate:'#F{$dp.$D(\'startDate\')}'})">
|
|
|
34
|
+ </label>
|
|
|
35
|
+ <a class="btn btn-default btn-sm" ng-click="loadData()"> <i
|
|
|
36
|
+ class="fa fa-search"></i> 查 询</a>
|
|
|
37
|
+ <a class="btn btn-default btn-sm" ng-click="emptyTime()"> <i class=""></i> 清 空</a>
|
|
|
38
|
+ </div>
|
|
|
39
|
+
|
|
|
40
|
+
|
|
|
41
|
+ <div class="col-sm-2 col-xs-2 hidden-xs">
|
|
|
42
|
+ <div class="dataTables_length">
|
|
|
43
|
+ <label>每页显示 <select ng-model="pageInfo.pageSize" ng-change="loadData()"
|
|
|
44
|
+ ng-options="num as num for num in [10,25,50,100]"
|
|
|
45
|
+ class="form-control input-sm"></select> 条
|
|
|
46
|
+ </label>
|
|
|
47
|
+ </div>
|
|
|
48
|
+ </div>
|
|
|
49
|
+ </div>
|
|
|
50
|
+ <div id="print">
|
|
|
51
|
+ <table class="table table-striped table-bordered table-hover" width="100%"
|
|
|
52
|
+ border="1" style="border-collapse:collapse;border:none;">
|
|
|
53
|
+ <thead>
|
|
|
54
|
+ <tr>
|
|
|
55
|
+ <th data-class="expand" style="text-align:center;">序号</th>
|
|
|
56
|
+ <th data-class="expand" style="text-align:center;">仓房名称</th>
|
|
|
57
|
+ <th data-class="expand" style="text-align:center;">仓高温</th>
|
|
|
58
|
+ <th data-class="expand" style="text-align:center;">仓低温</th>
|
|
|
59
|
+ <th data-class="expand" style="text-align:center;">平均温度</th>
|
|
|
60
|
+ <th data-class="expand" style="text-align:center;">预警高限</th>
|
|
|
61
|
+ <th data-class="expand" style="text-align:center;">预警低限</th>
|
|
|
62
|
+ <th data-class="expand" style="text-align:center;">报警值</th>
|
|
|
63
|
+ <th data-class="expand" style="text-align:center;">报警日期</th>
|
|
|
64
|
+ <th data-class="expand" style="text-align:center;">类型</th>
|
|
|
65
|
+ </tr>
|
|
|
66
|
+ </thead>
|
|
|
67
|
+
|
|
|
68
|
+ <tbody>
|
|
|
69
|
+ <tr ng-repeat="warning in pageInfo.list">
|
|
|
70
|
+ <td style="text-align:center;">{{ $index + 1 }}</td>
|
|
|
71
|
+ <td style="text-align:center;">{{ storeHouseCodeObj[warning.ch].storehouseName }}</td>
|
|
|
72
|
+ <td style="text-align:center;">{{ warning.cgw}}</td>
|
|
|
73
|
+ <td style="text-align:center;">{{ warning.cdw}}</td>
|
|
|
74
|
+ <td style="text-align:center;">{{ warning.cAvg }}</td>
|
|
|
75
|
+ <td style="text-align:center;">{{ warning.yjgx}}</td>
|
|
|
76
|
+ <td style="text-align:center;">{{ warning.yjdx}}</td>
|
|
|
77
|
+ <td style="text-align:center;">{{ warning.bjz}}</td>
|
|
|
78
|
+ <td style="text-align:center;">{{ warning.jcsj | date:'yyyy-MM-dd HH:mm:ss' }}
|
|
|
79
|
+ <td style="text-align:center;" ng-if="warning.jblx == 0">高温报警</td>
|
|
|
80
|
+ <td style="text-align:center;" ng-if="warning.jblx == 1">粮温预警</td>
|
|
|
81
|
+ <td style="text-align:center;" ng-if="warning.jblx == 2">低温报警</td>
|
|
|
82
|
+ </tr>
|
|
|
83
|
+ </tbody>
|
|
|
84
|
+ </table>
|
|
|
85
|
+ </div>
|
|
|
86
|
+ <div smart-include="app/layout/partials/page.tpl.html"></div>
|
|
|
87
|
+ </div>
|
|
|
88
|
+ </div>
|
|
|
89
|
+ </div>
|
|
|
90
|
+ </div>
|
|
|
91
|
+ </article>
|
|
|
92
|
+ </div>
|
|
|
93
|
+ </section>
|
|
|
94
|
+</div>
|