From 306749fa2e6ea7609468889cb56473770d0a26cc Mon Sep 17 00:00:00 2001
From: zmk <496160012@qq.com>
Date: 星期六, 18 五月 2024 14:44:51 +0800
Subject: [PATCH] Merge branch 'master' of ssh://117.78.1.188:29418/dkyChenJiang
---
javaweb-plus/javaweb-cms/src/main/resources/templates/geo/deviceLog/add.html | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/deviceLog/add.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/deviceLog/add.html
index 1f749e9..49f4689 100644
--- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/deviceLog/add.html
+++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/deviceLog/add.html
@@ -9,7 +9,7 @@
<div class="form-group">
<label class="col-sm-3 control-label">鍑哄叆搴撳崟瀛愬彿锛�</label>
<div class="col-sm-8">
- <input name="code" class="form-control" type="text">
+ <input name="code" th:value="${code}" class="form-control" type="text" disabled="disabled">
</div>
</div>
<div class="form-group">
@@ -68,6 +68,7 @@
<script th:inline="javascript">
var prefix = ctx + "geo/deviceLog"
var projectId = [[${projectId}]];
+ var code = [[${code}]];
$("#form-deviceLog-add").validate({
focusCleanup: true
@@ -76,7 +77,7 @@
function submitHandler() {
if ($.validate.form()) {
let formData = $('#form-deviceLog-add').serialize();
- let data = formData + "&projectId=" + projectId;
+ let data = formData + "&projectId=" + projectId + "&code=" + code;
$.operate.save(prefix + "/add", data);
}
}
--
Gitblit v1.9.1