80 lines
1.7 KiB
HTML
80 lines
1.7 KiB
HTML
<html login="false">
|
|
<head>
|
|
<title>筛选结果</title>
|
|
</head>
|
|
<body >
|
|
<div widget="toolbar" showCloseButton="false">
|
|
<a widget="button" iconCls="icon-save" id="savebtn" onclick="save" linkToState="editold,editnew">保存</a>
|
|
<a widget="button" iconCls="icon-enabled" id="savebtn" onclick="quanxuan" linkToState="editold,editnew">全选</a>
|
|
<a widget="button" iconCls="icon-disable" id="savebtn" onclick="buxuan" linkToState="editold,editnew">全不选</a>
|
|
</div>
|
|
|
|
|
|
<div style="clear:both">
|
|
<div name="feedback" label="反馈结果" widget="checkboxlist"
|
|
repeatitems="3" repeatlayout="table" textfield="name" valuefield="name" url="rush/feedback/getFeedbackList">
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
<script type="text/javascript">
|
|
var grid = aos.get('grid');
|
|
function init(param){
|
|
|
|
var pageState = param['pageState'];
|
|
var feedback=param['feedback'];
|
|
if(feedback!=null){
|
|
aos.get('feedback').setValue(feedback);
|
|
}
|
|
|
|
}
|
|
function quanxuan(){
|
|
|
|
|
|
aos.post({
|
|
url:"tick/TickList/getfeedback",
|
|
|
|
success:function(data, textStatus, jqXHR){
|
|
|
|
aos.get('feedback').setValue(data.name);
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
function buxuan(){
|
|
|
|
aos.get('feedback').setValue();
|
|
|
|
}
|
|
function save(){
|
|
var params ={}
|
|
var feedback = aos.get('feedback').getValue();
|
|
if(feedback== null || feedback==''){
|
|
aos.alert('请录入反馈结果!');
|
|
return ;
|
|
}
|
|
|
|
params['feedback']=feedback;
|
|
CloseWindow(params);
|
|
}
|
|
|
|
function RtnData(){
|
|
|
|
var RtnData ={}
|
|
var feedback = aos.get('feedback').getValue();
|
|
|
|
RtnData['feedback']=feedback;
|
|
|
|
|
|
return RtnData;}
|
|
|
|
|
|
</script>
|
|
</html> |