rushfee/resource/html/revisit/reflectEdit.html

46 lines
1.4 KiB
HTML
Raw Normal View History

2022-05-16 15:07:40 +00:00
<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="hidden" name="reflect_id" label="reflect_id"/>
<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 init(param) {
var pageState = param['pageState'];
if(pageState){
aos.setState(pageState)
}
aos.getForm().setData(param);
}
function save(){
if(!FORM.validate())
{
return;
}
aos.post({
url:"revisit/reflect/editReflect",
data:aos.getForm().getData(),
success:function(data, textStatus, jqXHR){
if(data == 1){
aos.tip('保存成功');
}
else{
aos.tip('该反馈类型已存在!');
}
}
});
}
</script>
</body>
</html>