change - 温度阵列温度补偿配置与显示
parent
2e0fb5d4d4
commit
50154b207d
@ -0,0 +1,196 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||
<head>
|
||||
<th:block th:include="include :: header('修改温度阵列测控点信息')" />
|
||||
</head>
|
||||
<body class="white-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||
<form class="form-horizontal m" id="form-Monitor-edit" th:object="${t_Monitor}">
|
||||
<input name="objid" th:field="*{objid}" type="hidden">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">集中器编号:</label>
|
||||
<div class="col-sm-6">
|
||||
<textarea style="height: 32px" id="userids" name="collectDeviceId" class="form-control">[[*{collectDeviceId}]]</textarea>
|
||||
</div>
|
||||
<button type="button" class="btn btn-info" onclick="selectUsersToParent()">选择集中器</button>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">测控点编号:</label>
|
||||
<div class="col-sm-8">
|
||||
<textarea style="height: 32px" id="userid" name="monitorId" class="form-control">[[*{monitorId}]]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">父级测控点:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group">
|
||||
<input id="treeId" name="pMonitorid" type="hidden" th:field="*{pMonitorid}" />
|
||||
<input class="form-control" type="text" onclick="selectMonitorTree()" id="treeName" readonly="true" th:field="*{parentName}">
|
||||
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">测控点名称:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="monitorName" th:field="*{monitorName}" 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="monitorType" class="form-control m-b">–>-->
|
||||
<!-- <select name="monitorType" class="form-control m-b" th:with="type=${@energyTypeService.getEnergyType()}">-->
|
||||
<!-- <option value="">所有</option>-->
|
||||
<!-- <option th:each="dict : ${type}" th:text="${dict.energyName}" th:value="${dict.energyTypeId}" th:field="*{monitorType}"></option>-->
|
||||
<!-- </select>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="form-group">-->
|
||||
<!-- <label class="col-sm-3 control-label">二级类型:</label>-->
|
||||
<!-- <div class="col-sm-8">-->
|
||||
<!-- <select name="secondType" class="form-control m-b" th:with="type=${@dict.getType('monitorSecondType')}">-->
|
||||
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{secondType}"></option>-->
|
||||
<!-- </select>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">测控点位置:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="monitorAddr" th:field="*{monitorAddr}" 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="sensorMeterTypeId" th:field="*{sensorMeterTypeId}" 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="meterId" class="form-control m-b" th:with="type=${@meterInfoService.getMeterInfo()}">-->
|
||||
<!-- <option value="">所有</option>-->
|
||||
<!-- <option th:each="dict : ${type}" th:text="${dict.meterID}" th:value="${dict.meterID}" th:field="*{meterId}"></option>-->
|
||||
<!-- </select>-->
|
||||
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="form-group"> -->
|
||||
<!-- <label class="col-sm-3 control-label">通讯端口:</label>-->
|
||||
<!-- <div class="col-sm-8">-->
|
||||
<!-- <input name="meterCommunicationId" th:field="*{meterCommunicationId}" 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="isKeyMonitor" class="form-control m-b" th:with="type=${@dict.getType('isKey')}">-->
|
||||
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{isKeyMonitor}"></option>-->
|
||||
<!-- </select>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">测控点状态:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="monitorStatus" class="form-control m-b" th:with="type=${@dict.getType('monitorStatus')}">
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{monitorStatus}"></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">修正值:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="correctValue" th:field="*{correctValue}" 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="pt" th:field="*{pt}" 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="ct" th:field="*{ct}" 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="tMax" th:field="*{tMax}" 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="tMin" th:field="*{tMin}" 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="hMax" th:field="*{hMax}" 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="hMin" th:field="*{hMin}" 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="iMax" th:field="*{iMax}" 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="iMin" th:field="*{iMin}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>-->
|
||||
</form>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<script th:inline="javascript">
|
||||
var prefix = ctx + "system/Monitor";
|
||||
var demo = ctx + "demo/modal";
|
||||
$("#form-Monitor-edit").validate({
|
||||
focusCleanup: true
|
||||
});
|
||||
|
||||
function submitHandler() {
|
||||
if ($.validate.form()) {
|
||||
$.operate.save(prefix + "/edit", $('#form-Monitor-edit').serialize());
|
||||
}
|
||||
}
|
||||
|
||||
/*测控点信息-新增-选择父部门树*/
|
||||
function selectMonitorTree() {
|
||||
console.log("节点编号"+$("#treeId").val());
|
||||
console.log("测控点编号"+$("#userid").val())
|
||||
var options = {
|
||||
title: '测控点信息选择',
|
||||
width: "380",
|
||||
url: prefix + "/selectMonitorTree/" + $("#userid").val(),
|
||||
callBack: doSubmit
|
||||
};
|
||||
$.modal.openOptions(options);
|
||||
}
|
||||
|
||||
function doSubmit(index, layero){
|
||||
var body = layer.getChildFrame('body', index);
|
||||
$("#treeId").val(body.find('#treeId').val());
|
||||
$("#treeName").val(body.find('#treeName').val());
|
||||
layer.close(index);
|
||||
}
|
||||
|
||||
function selectUsersToParent(){
|
||||
$.modal.open("选择集中器", demo + "/collectDevice");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue