|
@@ -50,12 +50,11 @@
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-3 control-label is-required">场馆名称:</label>
|
|
|
<div class="col-sm-8">
|
|
|
- <!-- 添加 value 属性绑定到 beilvSession.venueId -->
|
|
|
- <select name="venueId" class="form-control" th:value="${beilvSession.venueId}">
|
|
|
+ <select name="venueId" class="form-control" th:value="${beilvSite.venueId}">
|
|
|
<option th:each="post:${beilvSitesList}"
|
|
|
th:value="${post.id}"
|
|
|
th:text="${post.venueName}"
|
|
|
- th:selected="${post.id == beilvSession.venueId}">
|
|
|
+ th:selected="${post.id == beilvSite.venueId}">
|
|
|
</option>
|
|
|
</select>
|
|
|
</div>
|
|
@@ -84,8 +83,9 @@
|
|
|
</form>
|
|
|
</div>
|
|
|
<th:block th:include="include :: footer"/>
|
|
|
-<th:block th:include="include :: summernote-js"/>
|
|
|
+<th:block th:include="include :: datetimepicker-js"/>
|
|
|
<th:block th:include="include :: bootstrap-fileinput-js"/>
|
|
|
+<th:block th:include="include :: summernote-js"/>
|
|
|
<script th:inline="javascript">
|
|
|
var prefix = ctx + "system/site";
|
|
|
$("#form-site-edit").validate({
|