<!DOCTYPE html>
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
<head>
|
<th:block th:include="include :: header('修改水位记录')" />
|
<th:block th:include="include :: datetimepicker-css" />
|
</head>
|
<body class="white-bg">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<form class="form-horizontal m" id="form-stageinfo-edit" th:object="${stageInfo}">
|
<input name="id" th:field="*{id}" type="hidden">
|
<div class="form-group">
|
<label class="col-sm-3 control-label">项目编号:</label>
|
<div class="col-sm-8">
|
<input name="projNo" th:field="*{projNo}" class="form-control" type="text" required>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">钻孔编号:</label>
|
<div class="col-sm-8">
|
<input name="holeNo" th:field="*{holeNo}" class="form-control" type="text" required>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">水位号:</label>
|
<div class="col-sm-8">
|
<input name="stageNo" th:field="*{stageNo}" class="form-control" type="text" required>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">初见水位:</label>
|
<div class="col-sm-8">
|
<input name="initialWaterLevel" th:field="*{initialWaterLevel}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">静止水位:</label>
|
<div class="col-sm-8">
|
<input name="staticWaterLevel" th:field="*{staticWaterLevel}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">初见水位时间:</label>
|
<div class="col-sm-8">
|
<div class="input-group date">
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
<input name="initialWaterTime" th:value="${#dates.format(stageInfo.initialWaterTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
</div>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">静止水位时间:</label>
|
<div class="col-sm-8">
|
<div class="input-group date">
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
<input name="staticWaterTime" th:value="${#dates.format(stageInfo.staticWaterTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
</div>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">时间间隔:</label>
|
<div class="col-sm-8">
|
<input name="timeInterval" th:field="*{timeInterval}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">是否取水:</label>
|
<div class="col-sm-8">
|
<input name="ifFetchWater" th:field="*{ifFetchWater}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">地下水类型:</label>
|
<div class="col-sm-8">
|
<select name="groundwaterType" class="form-control m-b">
|
<option value="">所有</option>
|
</select>
|
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">取水深度:</label>
|
<div class="col-sm-8">
|
<input name="waterIntakeDepth" th:field="*{waterIntakeDepth}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">取水方法:</label>
|
<div class="col-sm-8">
|
<input name="waterIntakeWay" th:field="*{waterIntakeWay}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">经度:</label>
|
<div class="col-sm-8">
|
<input name="longitude" th:field="*{longitude}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">纬度:</label>
|
<div class="col-sm-8">
|
<input name="latitude" th:field="*{latitude}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">定位时间:</label>
|
<div class="col-sm-8">
|
<div class="input-group date">
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
<input name="locationTime" th:value="${#dates.format(stageInfo.locationTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
</div>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">备注:</label>
|
<div class="col-sm-8">
|
<input name="remarks" th:field="*{remarks}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">描述员:</label>
|
<div class="col-sm-8">
|
<input name="descriptor" th:field="*{descriptor}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">司钻员:</label>
|
<div class="col-sm-8">
|
<input name="driller" th:field="*{driller}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">水位照片:</label>
|
<div class="col-sm-8">
|
<input name="stageImg" th:field="*{stageImg}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">水位视频:</label>
|
<div class="col-sm-8">
|
<input name="stageVideo" th:field="*{stageVideo}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">null:</label>
|
<div class="col-sm-8">
|
<input name="ishistory" th:field="*{ishistory}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">记录编号:</label>
|
<div class="col-sm-8">
|
<input name="recordNo" th:field="*{recordNo}" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">记录类型:</label>
|
<div class="col-sm-8">
|
<select name="recordType" class="form-control m-b">
|
<option value="">所有</option>
|
</select>
|
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
|
</div>
|
</div>
|
</form>
|
</div>
|
<th:block th:include="include :: footer" />
|
<th:block th:include="include :: datetimepicker-js" />
|
<script type="text/javascript">
|
var prefix = ctx + "platform/stageinfo";
|
$("#form-stageinfo-edit").validate({
|
focusCleanup: true
|
});
|
|
function submitHandler() {
|
if ($.validate.form()) {
|
$.operate.save(prefix + "/edit", $('#form-stageinfo-edit').serialize());
|
}
|
}
|
|
$("input[name='initialWaterTime']").datetimepicker({
|
format: "yyyy-mm-dd",
|
minView: "month",
|
autoclose: true
|
});
|
|
$("input[name='staticWaterTime']").datetimepicker({
|
format: "yyyy-mm-dd",
|
minView: "month",
|
autoclose: true
|
});
|
|
$("input[name='locationTime']").datetimepicker({
|
format: "yyyy-mm-dd",
|
minView: "month",
|
autoclose: true
|
});
|
</script>
|
</body>
|
</html>
|