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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
| <!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 holeId = [[${holeId}]];
| const detail =[[${detail.description}]]
| var prefix = ctx + "geo/exception";
|
| $(function () {
| var options = {
| url: prefix + "/holeTimeDetails/" + holeId,
| columns: [
| {
| field: '',
| title: '序号',
| align:'center',
| formatter: function (value, row, index) {
| return index + 1;
| }
| },
| {
| field: 'code',
| title: '记录编号',
| align:'center',
| },
| {
| field: 'recordType',
| title: '记录类型'
| },
| {
| field: 'frequencyType',
| title: '岩土类型'
| },
| {
| field: 'layerName',
| title: '岩土定名'
| },
| {
| field: 'gpsTime',
| title: '定位时间'
| },
| {
| field: 'endDepth',
| title: '勘探深度(米)'
| },
| {
| field: 'spead',
| title: '勘探速度(米/小时)'
| // formatter: function(value, row, index) {
| // if(row.spead>=1000 ||row.spead<=0 ) {
| //
| // return "<span style='color: red;font-weight: bold'>"+row.spead+"</span>";
| // }else{
| // return row.spead;
| // }
| //
| // }
| }
| ]
| };
| $.table.init(options);
| });
|
| </script>
| </body>
| </html>
|
|