From 3f47c88e7cb4e53b3637620794420181f47b5a5e Mon Sep 17 00:00:00 2001 From: zmk <496160012@qq.com> Date: 星期三, 23 十月 2024 16:07:13 +0800 Subject: [PATCH] 提交代码 --- javaweb-plus/javaweb-cms/src/main/resources/templates/geo/hole/edit.html | 31 ++++++++++++++++++++++--------- 1 files changed, 22 insertions(+), 9 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 d6b2646..124be19 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">鎬昏繘灏猴紙m锛夛細</label> + <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="totalFootage" th:field="*{totalFootage}" 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="footage" th:field="*{footage}" class="form-control" type="text" placeholder="璇疯緭鍏ユ�昏繘灏�,鍗曚綅锛坢锛�" required> </div> </div> <div class="form-group"> -- Gitblit v1.9.1