rushfee/build/classes/html/revisit/reflectAdd.html

37 lines
1.1 KiB
HTML

<html login="false">
<head>
<meta charset="UTF-8">
<title>反馈筛选类型新增</title>
</head>
<body>
<div widget="toolbar">
<a widget="button" iconCls="icon-save" onclick="save" linkToState="editold,editnew">保存</a>
<a widget="button" iconCls="icon-exit" onclick="CloseWindow()">退出</a>
</div>
<input widget="edit" name="reflect_name" label="反馈名称" required="true" style="margin-top:5px"/>
<br/>
<input widget="textarea" name="comments" label="备注" emptyText="" width="250px" height="80px"/>
<script type="text/javascript">
function save(){
if(!FORM.validate())
{
return;
}
aos.post({
url:"revisit/reflect/addReflect",
data:aos.getForm().getData(),
success:function(data, textStatus, jqXHR){
if(data == 1){
aos.tip('保存成功');
}
else{
aos.tip('该反馈类型已存在!');
}
}
});
}
</script>
</body>
</html>