<!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('测试记录列表')" />
|
</head>
|
<body class="gray-bg">
|
<div class="container-div">
|
<div class="row">
|
<div class="col-sm-12 search-collapse">
|
<form id="formId">
|
<div class="select-list">
|
<ul>
|
<li>
|
<p>项目编号:</p>
|
<input type="text" name="projNo"/>
|
</li>
|
<li>
|
<p>钻孔编号:</p>
|
<input type="text" name="holeNo"/>
|
</li>
|
<li>
|
<p>测试编号:</p>
|
<input type="text" name="testNo"/>
|
</li>
|
<li>
|
<p>测试方法:</p>
|
<input type="text" name="testMethod"/>
|
</li>
|
<li>
|
<p>钻杆长度:</p>
|
<input type="text" name="pipeLenth"/>
|
</li>
|
<li>
|
<p>预打深度起始:</p>
|
<input type="text" name="expectDepthStart"/>
|
</li>
|
<li>
|
<p>预打深度终止:</p>
|
<input type="text" name="expectDepthEnd"/>
|
</li>
|
<li>
|
<p>第一次深度起始/动探等起始深度:</p>
|
<input type="text" name="firstDepthStart"/>
|
</li>
|
<li>
|
<p>第一次深度终止/动探等终止深度:</p>
|
<input type="text" name="firstDepthEnd"/>
|
</li>
|
<li>
|
<p>第二次深度起始:</p>
|
<input type="text" name="secondDepthStart"/>
|
</li>
|
<li>
|
<p>第二次深度终止:</p>
|
<input type="text" name="secondDepthEnd"/>
|
</li>
|
<li>
|
<p>第三次深度起始:</p>
|
<input type="text" name="thirdDepthStart"/>
|
</li>
|
<li>
|
<p>第三次深度终止:</p>
|
<input type="text" name="thirdDepthEnd"/>
|
</li>
|
<li>
|
<p>预打锤击次数:</p>
|
<input type="text" name="expectHammerTimes"/>
|
</li>
|
<li>
|
<p>第一次锤击次数/动探等测试值:</p>
|
<input type="text" name="firstHammerTimes"/>
|
</li>
|
<li>
|
<p>第二次锤击次数:</p>
|
<input type="text" name="secondHammerTimes"/>
|
</li>
|
<li>
|
<p>第三次锤击次数:</p>
|
<input type="text" name="thirdHammerTimes"/>
|
</li>
|
<li>
|
<p>总锤击次数:</p>
|
<input type="text" name="totalTimes"/>
|
</li>
|
<li>
|
<p>进尺和:</p>
|
<input type="text" name="footageSum"/>
|
</li>
|
<li>
|
<p>经度:</p>
|
<input type="text" name="longitude"/>
|
</li>
|
<li>
|
<p>纬度:</p>
|
<input type="text" name="latitude"/>
|
</li>
|
<li class="select-time">
|
<p>定位时间:</p>
|
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginLocationTime]"/>
|
<span>-</span>
|
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endLocationTime]"/>
|
</li>
|
<li>
|
<p>备注:</p>
|
<input type="text" name="remarks"/>
|
</li>
|
<li>
|
<p>描述员:</p>
|
<input type="text" name="descriptor"/>
|
</li>
|
<li>
|
<p>司钻员:</p>
|
<input type="text" name="driller"/>
|
</li>
|
<li>
|
<p>测试照片:</p>
|
<input type="text" name="testImg"/>
|
</li>
|
<li>
|
<p>测试视频:</p>
|
<input type="text" name="testVideo"/>
|
</li>
|
<li>
|
<p>null:</p>
|
<input type="text" name="ishistory"/>
|
</li>
|
<li>
|
<p>记录编号:</p>
|
<input type="text" name="recordNo"/>
|
</li>
|
<li>
|
<p>记录类型:</p>
|
<select name="recordType" th:with="type=${@dict.getType('')}">
|
<option value="">所有</option>
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
</select>
|
</li>
|
<li>
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
</li>
|
</ul>
|
</div>
|
</form>
|
</div>
|
|
<div class="btn-group-sm" id="toolbar" role="group">
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="platform:testinfo:add">
|
<i class="fa fa-plus"></i> 添加
|
</a>
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="platform:testinfo:edit">
|
<i class="fa fa-edit"></i> 修改
|
</a>
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="platform:testinfo:remove">
|
<i class="fa fa-remove"></i> 删除
|
</a>
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="platform:testinfo:export">
|
<i class="fa fa-download"></i> 导出
|
</a>
|
</div>
|
<div class="col-sm-12 select-table table-striped">
|
<table id="bootstrap-table"></table>
|
</div>
|
</div>
|
</div>
|
<th:block th:include="include :: footer" />
|
<script th:inline="javascript">
|
var editFlag = [[${@permission.hasPermi('platform:testinfo:edit')}]];
|
var removeFlag = [[${@permission.hasPermi('platform:testinfo:remove')}]];
|
var prefix = ctx + "platform/testinfo";
|
|
$(function() {
|
var options = {
|
url: prefix + "/list",
|
createUrl: prefix + "/add",
|
updateUrl: prefix + "/edit/{id}",
|
removeUrl: prefix + "/remove",
|
exportUrl: prefix + "/export",
|
modalName: "测试记录",
|
columns: [{
|
checkbox: true
|
},
|
{
|
field : 'id',
|
title : '主键',
|
visible: false
|
},
|
{
|
field : 'projNo',
|
title : '项目编号'
|
},
|
{
|
field : 'holeNo',
|
title : '钻孔编号'
|
},
|
{
|
field : 'testNo',
|
title : '测试编号'
|
},
|
{
|
field : 'testMethod',
|
title : '测试方法'
|
},
|
{
|
field : 'pipeLenth',
|
title : '钻杆长度'
|
},
|
{
|
field : 'expectDepthStart',
|
title : '预打深度起始'
|
},
|
{
|
field : 'expectDepthEnd',
|
title : '预打深度终止'
|
},
|
{
|
field : 'firstDepthStart',
|
title : '第一次深度起始/动探等起始深度'
|
},
|
{
|
field : 'firstDepthEnd',
|
title : '第一次深度终止/动探等终止深度'
|
},
|
{
|
field : 'secondDepthStart',
|
title : '第二次深度起始'
|
},
|
{
|
field : 'secondDepthEnd',
|
title : '第二次深度终止'
|
},
|
{
|
field : 'thirdDepthStart',
|
title : '第三次深度起始'
|
},
|
{
|
field : 'thirdDepthEnd',
|
title : '第三次深度终止'
|
},
|
{
|
field : 'expectHammerTimes',
|
title : '预打锤击次数'
|
},
|
{
|
field : 'firstHammerTimes',
|
title : '第一次锤击次数/动探等测试值'
|
},
|
{
|
field : 'secondHammerTimes',
|
title : '第二次锤击次数'
|
},
|
{
|
field : 'thirdHammerTimes',
|
title : '第三次锤击次数'
|
},
|
{
|
field : 'totalTimes',
|
title : '总锤击次数'
|
},
|
{
|
field : 'footageSum',
|
title : '进尺和'
|
},
|
{
|
field : 'longitude',
|
title : '经度'
|
},
|
{
|
field : 'latitude',
|
title : '纬度'
|
},
|
{
|
field : 'locationTime',
|
title : '定位时间'
|
},
|
{
|
field : 'remarks',
|
title : '备注'
|
},
|
{
|
field : 'descriptor',
|
title : '描述员'
|
},
|
{
|
field : 'driller',
|
title : '司钻员'
|
},
|
{
|
field : 'testImg',
|
title : '测试照片'
|
},
|
{
|
field : 'testVideo',
|
title : '测试视频'
|
},
|
{
|
field : 'ishistory',
|
title : 'null'
|
},
|
{
|
field : 'recordNo',
|
title : '记录编号'
|
},
|
{
|
field : 'recordType',
|
title : '记录类型'
|
},
|
{
|
title: '操作',
|
align: 'center',
|
formatter: function(value, row, index) {
|
var actions = [];
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
return actions.join('');
|
}
|
}]
|
};
|
$.table.init(options);
|
});
|
</script>
|
</body>
|
</html>
|