|
|
@ -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
|
|
|
|