From 7fe5fb39e00749e4e412ced5703a61036752c874 Mon Sep 17 00:00:00 2001
From: zmk <496160012@qq.com>
Date: 星期二, 25 六月 2024 18:49:02 +0800
Subject: [PATCH] 提交代码
---
javaweb-plus/javaweb-cms/src/main/resources/templates/geo/hole/edit.html | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/hole/edit.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/hole/edit.html
index 4706995..3814b6a 100644
--- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/hole/edit.html
+++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/hole/edit.html
@@ -11,9 +11,19 @@
<div class="form-group">
<label class="col-sm-3 control-label">閽诲瓟缂栧彿锛�</label>
<div class="col-sm-8">
- <input name="code" th:field="*{code}" class="form-control" type="text" disabled="disabled">
+ <input name="code" th:field="*{code}" class="form-control" type="text" disabled="disabled" required>
</div>
</div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label">閽诲瓟绫诲瀷锛�</label>
+ <div class="col-sm-8">
+ <select name="type" class="form-control m-b" th:with="type=${@dict.getType('hole_type')}">
+ <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{type}"></option>
+ </select>
+ </div>
+ </div>
+
+
<div class="form-group">
<label class="col-sm-3 control-label">瀛斿彛楂樼▼(m)锛�</label>
<div class="col-sm-8">
@@ -41,16 +51,13 @@
<div class="form-group">
<label class="col-sm-3 control-label">閽诲瓟鐘舵�侊細</label>
<div class="col-sm-8">
- <div class="radio-box" th:each="dict : ${@dict.getType('hole_status')}">
- <input type="radio" th:id="${'status_' + dict.dictCode}" name="status" th:value="${dict.dictValue}" th:field="*{status}" >
- <label th:for="${'status_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
- </div>
+ <input name="status" th:field="*{status}" class="form-control" type="text" >
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">鎬昏繘灏猴紙m锛夛細</label>
<div class="col-sm-8">
- <input name="footage" th:field="*{footage}" class="form-control" type="text" placeholder="璇疯緭鍏ユ�昏繘灏�,鍗曚綅锛坢锛�">
+ <input name="footage" th:field="*{footage}" class="form-control" type="text" placeholder="璇疯緭鍏ユ�昏繘灏�,鍗曚綅锛坢锛�" required>
</div>
</div>
<div class="form-group">
--
Gitblit v1.9.1