12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
- <head>
- <th:block th:include="include :: header('编辑渠道审核')" />
- </head>
- <body class="white-bg">
- <div class="wrapper wrapper-content animated fadeInRight ibox-content">
- <form class="form-horizontal m" id="form-notice-edit" th:object="${channelReview}">
- <input name="id" type="hidden" th:field="*{id}" />
- <div class="form-group">
- <label class="col-sm-2 control-label">渠道:</label>
- <div class="col-sm-10">
- <select name="channel" id="channel" class="form-control m-b" th:with="type=${channelList}">
- <option th:each="dict : ${type}" th:text="${dict}"
- th:value="${dict}" th:field="*{channel}"></option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">投放审核:</label>
- <div class="col-sm-10">
- <select name="auditOption" id="auditOption" class="form-control m-b" th:with="type=${@dict.getType('is_use_type')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{auditOption}"></option>
- </select>
- </div>
- </div>
- <div class="form-group" >
- <label class="col-sm-2 control-label">审核版本:</label>
- <div class="col-sm-10">
- <input id="auditVersion" name="auditVersion" class="form-control" type="text" th:field="*{auditVersion}" required/>
- </div>
- </div>
- <div class="form-group" >
- <label class="col-sm-2 control-label">审核等级:</label>
- <div class="col-sm-10">
- <input id="leftLevel" name="leftLevel" class="form-control" type="number" th:field="*{leftLevel}" required/>
- </div>
- </div>
- <div class="form-group select-time" >
- <label class="col-sm-2 control-label">开始时间:</label>
- <div class="col-sm-10">
- <input id="time" name="beginTime" class="form-control time-input" type="text" placeholder="开始时间" th:field="*{displayBeginTime}" required/>
- </div>
- </div>
- <div class="form-group select-time" >
- <label class="col-sm-2 control-label">结束时间:</label>
- <div class="col-sm-10">
- <input id="time1" name="endTime" class="form-control time-input" type="text" placeholder="结束时间" th:field="*{displayEndTime}" required/>
- </div>
- </div>
- </form>
- </div>
- <th:block th:include="include :: footer" />
- <th:block th:include="include :: summernote-js" />
- <script type="text/javascript">
- var prefix = ctx + "operation/channel/review";
- $("#form-notice-edit").validate({
- focusCleanup: true
- });
- function submitHandler() {
- if ($.validate.form()) {
- $.operate.save(prefix + "/edit", $('#form-notice-edit').serialize());
- }
- }
- </script>
- </body>
- </html>
|