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 | 33 +++++++++++++++++++++++----------
1 files changed, 23 insertions(+), 10 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 ecdff4f..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,17 +11,27 @@
<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">瀛斿彛楂樼▼锛�</label>
+ <label class="col-sm-3 control-label">瀛斿彛楂樼▼(m)锛�</label>
<div class="col-sm-8">
<input name="elevation" th:field="*{elevation}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
- <label class="col-sm-3 control-label">璁捐瀛旀繁锛�</label>
+ <label class="col-sm-3 control-label">璁捐瀛旀繁(m)锛�</label>
<div class="col-sm-8">
<input name="depth" th:field="*{depth}" class="form-control" type="text" >
</div>
@@ -41,16 +51,19 @@
<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">杩涘害锛�</label>
+ <div class="form-group">
+ <label class="col-sm-3 control-label">鎬昏繘灏猴紙m锛夛細</label>
<div class="col-sm-8">
- <input name="pic1" th:field="*{pic1}" class="form-control" type="text" placeholder="璇疯緭鍏ヨ繘搴︽暟瀛楋紙渚嬶細10浠h〃10%锛�">
+ <input name="footage" th:field="*{footage}" class="form-control" type="text" placeholder="璇疯緭鍏ユ�昏繘灏�,鍗曚綅锛坢锛�" required>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label">宸插畬鎴愯繘灏猴紙m锛夛細</label>
+ <div class="col-sm-8">
+ <input name="footageCpl" th:field="*{footageCpl}" class="form-control" type="text" placeholder="璇疯緭鍏ュ凡瀹屾垚杩涘昂,鍗曚綅锛坢锛�">
</div>
</div>
</form>
--
Gitblit v1.9.1