|
|
|
@ -1,79 +1,80 @@
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
|
|
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
|
|
|
|
|
<head>
|
|
|
|
|
<th:block th:include="include :: header('修改历史数据记录')" />
|
|
|
|
|
<th:block th:include="include :: datetimepicker-css" />
|
|
|
|
|
<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-record_piont_data-edit" th:object="${recordPiontData}">
|
|
|
|
|
<input name="objid" th:field="*{objid}" type="hidden">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">采集时间:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<div class="input-group date">
|
|
|
|
|
<input name="recordTime" th:value="${#dates.format(recordPiontData.recordTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
|
|
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
|
|
|
|
<form class="form-horizontal m" id="form-record_piont_data-edit" th:object="${recordPiontData}">
|
|
|
|
|
<input name="objid" th:field="*{objid}" type="hidden">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">采集时间:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<div class="input-group date" style="width: 150px">
|
|
|
|
|
<input name="recordTime" th:value="${#dates.format(recordPiontData.recordTime, 'yyyy-MM-dd HH:mm:ss')}"
|
|
|
|
|
class="form-control" placeholder="yyyy-MM-dd HH:mm:ss" type="text" >
|
|
|
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A转速:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="speedA" th:field="*{speedA}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A转速:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="speedA" th:field="*{speedA}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A电流:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="currentA" th:field="*{currentA}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A电流:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="currentA" th:field="*{currentA}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A切刀转速:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="speedCutter" th:field="*{speedCutter}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A切刀转速:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="speedCutter" th:field="*{speedCutter}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A切刀电流:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="currentCutter" th:field="*{currentCutter}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A切刀电流:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="currentCutter" th:field="*{currentCutter}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A机头温度:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="tempHead" th:field="*{tempHead}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A机头温度:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="tempHead" th:field="*{tempHead}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A机头压力:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="pressureHead" th:field="*{pressureHead}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">一体机A机头压力:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="pressureHead" th:field="*{pressureHead}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<th:block th:include="include :: footer" />
|
|
|
|
|
<th:block th:include="include :: datetimepicker-js" />
|
|
|
|
|
<script th:inline="javascript">
|
|
|
|
|
var prefix = ctx + "manage/record_piont_data";
|
|
|
|
|
$("#form-record_piont_data-edit").validate({
|
|
|
|
|
focusCleanup: true
|
|
|
|
|
});
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<th:block th:include="include :: footer"/>
|
|
|
|
|
<th:block th:include="include :: datetimepicker-js"/>
|
|
|
|
|
<script th:inline="javascript">
|
|
|
|
|
var prefix = ctx + "manage/record_piont_data";
|
|
|
|
|
$("#form-record_piont_data-edit").validate({
|
|
|
|
|
focusCleanup: true
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function submitHandler() {
|
|
|
|
|
if ($.validate.form()) {
|
|
|
|
|
$.operate.save(prefix + "/edit", $('#form-record_piont_data-edit').serialize());
|
|
|
|
|
}
|
|
|
|
|
function submitHandler() {
|
|
|
|
|
if ($.validate.form()) {
|
|
|
|
|
$.operate.save(prefix + "/edit", $('#form-record_piont_data-edit').serialize());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$("input[name='recordTime']").datetimepicker({
|
|
|
|
|
format: "yyyy-mm-dd",
|
|
|
|
|
minView: "month",
|
|
|
|
|
autoclose: true
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
$("input[name='recordTime']").datetimepicker({
|
|
|
|
|
format: "yyyy-mm-dd",
|
|
|
|
|
minView: "month",
|
|
|
|
|
autoclose: true
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|