1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
  | <!DOCTYPE html> 
 |  <html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"> 
 |  <head> 
 |      <th:block th:include="include :: header('距离异常详情列表')"/> 
 |      <style type="text/css"> 
 |          .fixed-table-pagination{ 
 |              display: none !important; 
 |          } 
 |          .detailDiv{ 
 |              height: 30px; 
 |              font-size: 16px; 
 |              margin-left: 20px; 
 |              line-height: 40px; 
 |              font-weight: 600; 
 |          } 
 |      </style> 
 |  </head> 
 |  <body class="gray-bg"> 
 |  <div class="detailDiv" th:text="${detail.description}"></div> 
 |  <div class="container-div"> 
 |      <div class="row"> 
 |          <div class="col-sm-24 select-table table-striped"> 
 |              <table id="bootstrap-table"></table> 
 |          </div> 
 |      </div> 
 |  </div> 
 |  <th:block th:include="include :: footer"/> 
 |    
 |  <script th:inline="javascript"> 
 |      const detail =[[${detail.description}]] 
 |      const holeId = [[${holeId}]]; 
 |      var prefix = ctx + "geo/exception"; 
 |    
 |      $(function () { 
 |          var options = { 
 |              url:  prefix + "/holeDistanceDetails/" + holeId, 
 |              columns: [ 
 |                  { 
 |                      field: '', 
 |                      title: '序号', 
 |                      align:'center', 
 |                      formatter: function (value, row, index) { 
 |                          return index + 1; 
 |                      } 
 |                  }, 
 |                  { 
 |                      field: 'code', 
 |                      title: '记录编号', 
 |                      align:'center', 
 |                  }, 
 |                  { 
 |                      field: 'recordType', 
 |                      title: '记录类型' 
 |                  }, 
 |                  { 
 |                      field: 'gpsTime', 
 |                      title: '定位时间' 
 |                  }, 
 |                  { 
 |                      field: 'lat', 
 |                      title: '定位坐标', 
 |                      formatter: function(value, row, index) { 
 |                          return row.lng + "," + row.lat; 
 |                      } 
 |                  }, 
 |                  { 
 |                      field: 'distance', 
 |                      title: '偏差距离(米)' 
 |                  } 
 |              ] 
 |          }; 
 |          $.table.init(options); 
 |      }); 
 |    
 |  </script> 
 |  </body> 
 |  </html> 
 |  
  |