From 26bdd0dc8e1d37c484e6dc199fd933d32bb88e29 Mon Sep 17 00:00:00 2001
From: zmk <496160012@qq.com>
Date: 星期日, 19 五月 2024 12:49:59 +0800
Subject: [PATCH] 提交代码
---
javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/add.html | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/add.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/add.html
index 742db8c..e023eaa 100644
--- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/add.html
+++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/add.html
@@ -27,9 +27,15 @@
</div>
</div>
<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">
- <input name="address" class="form-control" type="text">
+ <input name="idCard" 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="personGroup" class="form-control" type="text">
</div>
</div>
<div class="form-group">
@@ -43,9 +49,7 @@
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var prefix = ctx + "geo/projectPerson"
- var project_Ids = [[${project_Id}]];
- alert(project_Ids);
- console.log("projectId",project_Id);
+ var projectId = [[${projectId}]];
$("#form-projectPerson-add").validate({
focusCleanup: true
@@ -54,9 +58,7 @@
function submitHandler() {
if ($.validate.form()) {
let formData = $('#form-projectPerson-add').serialize();
- let data = formData + "&projectId=" + project_Id
- console.log("projectId",project_Id);
- console.log("data",data);
+ let data = formData + "&projectId=" + projectId;
$.operate.save(prefix + "/add", data);
}
}
--
Gitblit v1.9.1