123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <!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" th:object="${users}">
- <input type="hidden" name="id" th:value="${id}"/>
- <div class="form-group" id="chargeErBanNo">
- <label class="col-sm-2 control-label">卿卿号:</label>
- <div class="col-sm-10">
- <input id="erbanNo" name="erbanNo" readonly="readonly" class="form-control" th:field="*{erbanNo}" type="text" placeholder="请输入禁言卿卿号"/>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">封禁原因:</label>
- <div class="col-sm-10">
- <input id="bannedDesc" name="bannedDesc" 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">
- <select name="bannedType" id="bannedType" class="form-control m-b" th:with="type=${@dict.getType('banned_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="blockTime" id="blockTime" class="form-control m-b" th:with="type=${@dict.getType('banned_time')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
- </select>
- </div>
- </div>
- </form>
- </div>
- <th:block th:include="include :: footer" />
- <th:block th:include="include :: summernote-js" />
- <script type="text/javascript">
- var prefix = ctx + "review/report";
- $("#form-notice-add").validate({
- focusCleanup: true
- });
- function submitHandler() {
- if ($.validate.form()) {
- $.operate.save(prefix + "/banned/punish", $('#form-notice-add').serialize());
- }
- }
- </script>
- </body>
- </html>
|