<!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="sampleNo"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>取样起始深度:</p> 
 | 
                                <input type="text" name="sampleStartDepth"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>取样终止深度:</p> 
 | 
                                <input type="text" name="sampleEndDepth"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>土样状态:</p> 
 | 
                                <input type="text" name="soilSampleState"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>质量等级:</p> 
 | 
                                <input type="text" name="qualityLevel"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>取样工具:</p> 
 | 
                                <input type="text" name="samplingTool"/> 
 | 
                            </li> 
 | 
                            <li class="select-time"> 
 | 
                                <p>取样时间:</p> 
 | 
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginSamplingTime]"/> 
 | 
                                <span>-</span> 
 | 
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endSamplingTime]"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>采样比例:</p> 
 | 
                                <input type="text" name="samplingProportion"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>岩性名称:</p> 
 | 
                                <input type="text" name="lithologicalName"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>试验类型:</p> 
 | 
                                <select name="testType" 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> 
 | 
                                <p>填充物百分比:</p> 
 | 
                                <input type="text" name="fillerPercent"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>岩心形状:</p> 
 | 
                                <input type="text" name="coreShape"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>柱长范围:</p> 
 | 
                                <input type="text" name="lengthRangeSmall"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>柱长范围:</p> 
 | 
                                <input type="text" name="lengthRangeBig"/> 
 | 
                            </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="sampleImg"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>取样视频:</p> 
 | 
                                <input type="text" name="sampleVideo"/> 
 | 
                            </li> 
 | 
                            <li> 
 | 
                                <p>null:</p> 
 | 
                                <select name="lithologicaltype" 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> 
 | 
                                <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:sampleinfo:add"> 
 | 
                    <i class="fa fa-plus"></i> 添加 
 | 
                </a> 
 | 
                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="platform:sampleinfo:edit"> 
 | 
                    <i class="fa fa-edit"></i> 修改 
 | 
                </a> 
 | 
                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="platform:sampleinfo:remove"> 
 | 
                    <i class="fa fa-remove"></i> 删除 
 | 
                </a> 
 | 
                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="platform:sampleinfo: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:sampleinfo:edit')}]]; 
 | 
        var removeFlag = [[${@permission.hasPermi('platform:sampleinfo:remove')}]]; 
 | 
        var prefix = ctx + "platform/sampleinfo"; 
 | 
  
 | 
        $(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 : 'sampleNo',  
 | 
                    title : '取样编号' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'sampleStartDepth',  
 | 
                    title : '取样起始深度' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'sampleEndDepth',  
 | 
                    title : '取样终止深度' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'soilSampleState',  
 | 
                    title : '土样状态' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'qualityLevel',  
 | 
                    title : '质量等级' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'samplingTool',  
 | 
                    title : '取样工具' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'samplingTime',  
 | 
                    title : '取样时间' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'samplingProportion',  
 | 
                    title : '采样比例' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'lithologicalName',  
 | 
                    title : '岩性名称' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'testType',  
 | 
                    title : '试验类型' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'fillerPercent',  
 | 
                    title : '填充物百分比' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'coreShape',  
 | 
                    title : '岩心形状' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'lengthRangeSmall',  
 | 
                    title : '柱长范围' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'lengthRangeBig',  
 | 
                    title : '柱长范围' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'longitude',  
 | 
                    title : '经度' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'latitude',  
 | 
                    title : '纬度' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'locationTime',  
 | 
                    title : '定位时间' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'remarks',  
 | 
                    title : '备注' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'descriptor',  
 | 
                    title : '描述员' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'driller',  
 | 
                    title : '司钻员' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'sampleImg',  
 | 
                    title : '取样照片' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'sampleVideo',  
 | 
                    title : '取样视频' 
 | 
                }, 
 | 
                { 
 | 
                    field : 'lithologicaltype',  
 | 
                    title : 'null' 
 | 
                }, 
 | 
                { 
 | 
                    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> 
 |