|
|
|
@ -100,9 +100,12 @@ |
|
|
|
<div class="col-sm-5"> |
|
|
|
<label class="col-sm-4 control-label is-required">状态:</label> |
|
|
|
<div class="col-sm-8"> |
|
|
|
<select onchange="updateStatue('home-bottom-left')" name="status-title-home-bottom-left" id="status-home-bottom-left" class="form-control m-b"> |
|
|
|
<option value="0">普通</option> |
|
|
|
<option value="1">定制</option> |
|
|
|
<!-- <select onchange="updateStatue('home-bottom-left')" name="status-title-home-bottom-left" id="status-home-bottom-left" class="form-control m-b">--> |
|
|
|
<!-- <option value="0">普通</option>--> |
|
|
|
<!-- <option value="1">定制</option>--> |
|
|
|
<!-- </select>--> |
|
|
|
<select onchange="updateStatue('home-bottom-left')" name="status-title-home-bottom-left" id="status-home-bottom-left" th:with="type=${@dict.getType('c_image_status')}" class="form-control m-b"> |
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -125,9 +128,12 @@ |
|
|
|
<div class="col-sm-5"> |
|
|
|
<label class="col-sm-4 control-label is-required">状态:</label> |
|
|
|
<div class="col-sm-8"> |
|
|
|
<select onchange="updateStatue('home-bottom-right-top')" name="status-home-bottom-right-top" id="status-home-bottom-right-top" class="form-control m-b"> |
|
|
|
<option value="0">普通</option> |
|
|
|
<option value="1">定制</option> |
|
|
|
<!-- <select onchange="updateStatue('home-bottom-right-top')" name="status-home-bottom-right-top" id="status-home-bottom-right-top" class="form-control m-b">--> |
|
|
|
<!-- <option value="0">普通</option>--> |
|
|
|
<!-- <option value="1">定制</option>--> |
|
|
|
<!-- </select>--> |
|
|
|
<select onchange="updateStatue('home-bottom-right-top')" name="status-home-bottom-right-top" id="status-home-bottom-right-top" th:with="type=${@dict.getType('c_image_status')}" class="form-control m-b"> |
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -308,6 +314,7 @@ |
|
|
|
dataType: 'json', |
|
|
|
success: function (data) { //成功,回调函数 |
|
|
|
for (var i=0; i<data.rows.length; i++) { |
|
|
|
$("#status-"+data.rows[i].title).val(data.rows[i].status); |
|
|
|
queryFiles(data.rows[i]); |
|
|
|
} |
|
|
|
}, |
|
|
|
|