<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/DatePicker.html" /]
|
[#include "/component/webupload.html" /]
|
[#include "/component/HtmlEditor.html" /]
|
[#include "/component/sel.html" /]
|
<title>公告编辑</title>
|
<script type="text/javascript">
|
$(document).ready(function() {
|
$.formValidator.initConfig({formID:"infoForm",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
document.getElementById("infoForm").target = window.top.openDialog("0","工单提交",
|
{},
|
{"width":60,"height":35,"noclose":true},[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
});
|
|
function subForm(){
|
var title = $("#title").val();
|
var content = $("#content").val();
|
if($.util.isEmpty(title)){
|
window.top.popupTips('通知公告标题不能为空', 2);
|
return;
|
}
|
if($.util.isEmpty(content)){
|
window.top.popupTips('通知公告内容不能为空', 2);
|
return;
|
}
|
$("#infoForm").submit();
|
}
|
</script>
|
|
|
</head>
|
|
<body>
|
<div class="notice_main">
|
<form id="infoForm" method="post" action="">
|
<input type="hidden" name="orderId" value="${RequestParameters.orderId}"/>
|
<input type="hidden" name="flowId" value="${RequestParameters.flowId}"/>
|
<input type="hidden" name="nodeId" value="${RequestParameters.nodeIdId}"/>
|
<table class="edit_layout">
|
<div class="nm_detail">
|
<tr><th><label class="required">标题:</label></th><td><input id="title" name="title" class="general maintitle" type="text" value="" /></td></tr>
|
<tr>
|
<th><label>类型:</label></th>
|
<td>
|
[@sel id="type_id" value="" name="type_id" source=type textField="ID" valueField="DATAVALUE" labelName="type_name"/]
|
</td>
|
</tr>
|
<tr>
|
<th><label>是否置顶:</label></th>
|
<td>
|
<input class="radio is" name="top" type="radio" value="1" /><span>是</span>
|
<input class="radio isno" name="top" type="radio" value="2" /><span>否</span>
|
</td>
|
</tr>
|
<tr>
|
<th><label>有效截止时间:</label></th>
|
<td>
|
[@datepicker id="dendline" value="" class="general" length=14/]
|
</td>
|
</tr>
|
<tr>
|
<th><label class="required">内容:</label></th>
|
<td>
|
<div>[@htmleditor id="content" value="" simple="true" /]</div>
|
</td>
|
</tr>
|
<tr>
|
<th><label>文档附件:</label></th>
|
<td>
|
|
<div class="upload_file">
|
[@webupload id="files" multiple="true" extensions="*"/]
|
</div>
|
|
</td>
|
</tr>
|
</table>
|
</form>
|
</div>
|
</body>
|
</html>
|