12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <!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-add">
- <div class="form-group">
- <label class="col-sm-2 control-label">app:</label>
- <div class="col-sm-10">
- <select name="app" id="app" class="form-control m-b" th:with="type=${@dict.getType('app_type')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">渠道:</label>
- <div class="col-sm-10">
- <select name="channel" id="channel" th:with="type=${homeChannelList}">
- <option th:each="homeChannel : ${type}" th:text="${homeChannel.name}" th:value="${homeChannel.channel}"></option>
- </select>
- </div>
- </div>
- <div class="form-group" id="chargeErBanNo">
- <label class="col-sm-2 control-label">投放时间:</label>
- <div class="col-sm-10">
- <input type="text" class="time-input" id="beginTime" name="putInDate" placeholder="请输入投放时间" required/>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">投放金额:</label>
- <div class="col-sm-10">
- <input id="amountInvested" name="amountInvested" class="form-control" type="text" placeholder="请输入投放金额" required/>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">总下载:</label>
- <div class="col-sm-10">
- <input id="totalDownload" name="totalDownload" class="form-control" type="text" placeholder="请输入总下载" required/>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">买量下载:</label>
- <div class="col-sm-10">
- <input id="purchaseDownload" name="purchaseDownload" class="form-control" type="text" placeholder="请输入买量下载" 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 + "marketing/serving/channel";
- $("#form-notice-add").validate({
- focusCleanup: true
- });
- function submitHandler() {
- if ($.validate.form()) {
- $.operate.save(prefix + "/add", $('#form-notice-add').serialize());
- }
- }
- </script>
- </body>
- </html>
|