<!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="returnNum"/>
|
</li>
|
<li>
|
<p>null:</p>
|
<input type="text" name="officeCode"/>
|
</li>
|
<li>
|
<p>起始深度:</p>
|
<input type="text" name="startDepth"/>
|
</li>
|
<li>
|
<p>终止深度:</p>
|
<input type="text" name="endDepth"/>
|
</li>
|
<li>
|
<p>进尺:</p>
|
<input type="text" name="footage"/>
|
</li>
|
<li>
|
<p>岩芯长度:</p>
|
<input type="text" name="coreLength"/>
|
</li>
|
<li>
|
<p>岩芯采取率:</p>
|
<input type="text" name="coreRate"/>
|
</li>
|
<li>
|
<p>岩石质量指标:</p>
|
<input type="text" name="rockQualityQuota"/>
|
</li>
|
<li>
|
<p>护壁方法:</p>
|
<input type="text" name="wallProtectMethod"/>
|
</li>
|
<li>
|
<p>钻进方法:</p>
|
<input type="text" name="drillMethod"/>
|
</li>
|
<li>
|
<p>钻孔孔径:</p>
|
<input type="text" name="boreDiameter"/>
|
</li>
|
<li>
|
<p>钻进异常描述:</p>
|
<input type="text" name="drillAbnormalDesc"/>
|
</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="returnImg"/>
|
</li>
|
<li>
|
<p>回次视频:</p>
|
<input type="text" name="returnVideo"/>
|
</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:returninfo:add">
|
<i class="fa fa-plus"></i> 添加
|
</a>
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="platform:returninfo:edit">
|
<i class="fa fa-edit"></i> 修改
|
</a>
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="platform:returninfo:remove">
|
<i class="fa fa-remove"></i> 删除
|
</a>
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="platform:returninfo: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:returninfo:edit')}]];
|
var removeFlag = [[${@permission.hasPermi('platform:returninfo:remove')}]];
|
var prefix = ctx + "platform/returninfo";
|
|
$(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 : 'returnNum',
|
title : '回次数'
|
},
|
{
|
field : 'officeCode',
|
title : 'null'
|
},
|
{
|
field : 'startDepth',
|
title : '起始深度'
|
},
|
{
|
field : 'endDepth',
|
title : '终止深度'
|
},
|
{
|
field : 'footage',
|
title : '进尺'
|
},
|
{
|
field : 'coreLength',
|
title : '岩芯长度'
|
},
|
{
|
field : 'coreRate',
|
title : '岩芯采取率'
|
},
|
{
|
field : 'rockQualityQuota',
|
title : '岩石质量指标'
|
},
|
{
|
field : 'wallProtectMethod',
|
title : '护壁方法'
|
},
|
{
|
field : 'drillMethod',
|
title : '钻进方法'
|
},
|
{
|
field : 'boreDiameter',
|
title : '钻孔孔径'
|
},
|
{
|
field : 'drillAbnormalDesc',
|
title : '钻进异常描述'
|
},
|
{
|
field : 'longitude',
|
title : '经度'
|
},
|
{
|
field : 'latitude',
|
title : '纬度'
|
},
|
{
|
field : 'locationTime',
|
title : '定位时间'
|
},
|
{
|
field : 'remarks',
|
title : '备注'
|
},
|
{
|
field : 'descriptor',
|
title : '描述员'
|
},
|
{
|
field : 'driller',
|
title : '司钻员'
|
},
|
{
|
field : 'returnImg',
|
title : '回次照片'
|
},
|
{
|
field : 'returnVideo',
|
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>
|