修改 60实时数据

master
wangh 1 year ago
parent f2ef241ade
commit a490c12a4e

@ -47,10 +47,10 @@ body {
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
position: absolute; position: absolute;
top: 53%; top: 45%;
left: 49%; left: 52%;
width: 57vw; width: 57vw;
height: 19vw; height: 31vw;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }

@ -4,6 +4,7 @@
<th:block th:include="include :: header('新增设备信息维护')" /> <th:block th:include="include :: header('新增设备信息维护')" />
<th:block th:include="include :: bootstrap-fileinput-css"/> <th:block th:include="include :: bootstrap-fileinput-css"/>
<th:block th:include="include :: select2-css" /> <th:block th:include="include :: select2-css" />
<th:block th:include="include :: summernote-css" />
</head> </head>
<body class="white-bg"> <body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> <div class="wrapper wrapper-content animated fadeInRight ibox-content">
@ -43,13 +44,20 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">设备描述:</label> <label class="col-sm-3 control-label">设备描述:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="deviceFunction" class="form-control" type="text"> <textarea name="deviceFunction" class="form-control" type="text"></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">信息:</label>
<div class="col-sm-8">
<input type="hidden" class="form-control" name="modifyContent">
<div class="summernote" id="modifyContent"></div>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">设备参数:</label> <label class="col-sm-3 control-label">设备参数:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="deviceParam" class="form-control" type="text"> <textarea name="deviceParam" class="form-control" type="text"></textarea>
</div> </div>
</div> </div>
</form> </form>
@ -57,7 +65,13 @@
<th:block th:include="include :: footer" /> <th:block th:include="include :: footer" />
<th:block th:include="include :: select2-js" /> <th:block th:include="include :: select2-js" />
<th:block th:include="include :: bootstrap-fileinput-js"/> <th:block th:include="include :: bootstrap-fileinput-js"/>
<th:block th:include="include :: summernote-js" />
<script th:inline="javascript"> <script th:inline="javascript">
$(document).ready(function () {
$('.summernote').summernote({
lang: 'zh-CN'
});
});
var prefix = ctx + "manage/base_device_info" var prefix = ctx + "manage/base_device_info"
$("#form-base_device_info-add").validate({ $("#form-base_device_info-add").validate({
focusCleanup: true focusCleanup: true

Loading…
Cancel
Save