|
@@ -42,13 +42,28 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+<!-- <div class="col-xs-12">-->
|
|
|
+<!-- <div class="form-group">-->
|
|
|
+<!-- <label class="col-sm-3 control-label is-required">场馆名称:</label>-->
|
|
|
+<!-- <div class="col-sm-8">-->
|
|
|
+<!-- <select name="venueId" class="form-control">-->
|
|
|
+<!-- <option th:each="post:${beilvSitesList}" th:value="${post.id}"-->
|
|
|
+<!-- th:text="${post.venueName}"></option>-->
|
|
|
+<!-- </select>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </div>-->
|
|
|
<div class="col-xs-12">
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-3 control-label is-required">场馆名称:</label>
|
|
|
<div class="col-sm-8">
|
|
|
- <select name="venueId" class="form-control">
|
|
|
- <option th:each="post:${beilvSitesList}" th:value="${post.id}"
|
|
|
- th:text="${post.venueName}"></option>
|
|
|
+ <!-- 添加 value 属性绑定到 beilvSession.venueId -->
|
|
|
+ <select name="venueId" class="form-control" th:value="${beilvSession.venueId}">
|
|
|
+ <option th:each="post:${beilvSitesList}"
|
|
|
+ th:value="${post.id}"
|
|
|
+ th:text="${post.venueName}"
|
|
|
+ th:selected="${post.id == beilvSession.venueId}">
|
|
|
+ </option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|