<!DOCTYPE html>
< html lang = "zh" xmlns:th = "http://www.thymeleaf.org" >
< head >
< th:block th:include = "include :: header('新增检查通知')" / >
< th:block th:include = "include :: datetimepicker-css" / >
< / head >
< body class = "white-bg" >
< div class = "wrapper wrapper-content animated fadeInRight ibox-content" >
< form class = "form-horizontal m" id = "form-notify-add" >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 所属市州:< / label >
< div class = "col-sm-8" >
< input name = "framework" class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 所属区县:< / label >
< div class = "col-sm-8" >
< input name = "area" class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 通知人:< / label >
< div class = "col-sm-8" >
< input name = "notifyUser" class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 单位:< / label >
< div class = "col-sm-8" >
< input name = "notifyDepart" class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 时间:< / label >
< div class = "col-sm-8" >
< div class = "input-group date" >
< input name = "notifyTime" class = "form-control" placeholder = "yyyy-MM-dd" type = "text" >
< span class = "input-group-addon" > < i class = "fa fa-calendar" > < / i > < / span >
< / div >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 被通知人:< / label >
< div class = "col-sm-8" >
< input name = "notifyBeuser" class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 内容:< / label >
< div class = "col-sm-8" >
< textarea name = "notifyContent" class = "form-control" > < / textarea >
< / div >
< / div >
<!-- <div class="form - group"> -->
<!-- <label class="col - sm - 3 control - label">发出状态:</label> -->
<!-- <div class="col - sm - 8"> -->
<!-- <select name="notifyState" class="form - control m - b" th:with="type=${@dict.getType('sys_notice_state')}"> -->
<!-- <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 :: datetimepicker-js" / >
< script th:inline = "javascript" >
var prefix = ctx + "system/notify"
$("#form-notify-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-notify-add').serialize());
}
}
$("input[name='notifyTime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
< / script >
< / body >
< / html >