|
|
|
@ -38,12 +38,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-control-static col-sm-offset-9">
|
|
|
|
|
<button type="submit" class="btn btn-primary">提交</button>
|
|
|
|
|
<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div th:include="include::footer"></div>
|
|
|
|
@ -66,13 +60,16 @@
|
|
|
|
|
xxxx:{
|
|
|
|
|
required:true,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
submitHandler: function(form) {
|
|
|
|
|
var sHTML = $('.summernote').code();
|
|
|
|
|
$("#noticeContent").val(sHTML);
|
|
|
|
|
$.operate.save(prefix + "/edit", $('#form-notice-edit').serialize());
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function submitHandler() {
|
|
|
|
|
if ($.validate.form()) {
|
|
|
|
|
var sHTML = $('.summernote').code();
|
|
|
|
|
$("#noticeContent").val(sHTML);
|
|
|
|
|
$.operate.save(prefix + "/edit", $('#form-notice-edit').serialize());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|