rushfee/resource/html/tick/exadd.html

80 lines
1.8 KiB
HTML
Raw Normal View History

2022-05-16 15:07:40 +00:00
<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'];
aos.post({
url:"rush/excustomer/getexnolist",
success:function(data, textStatus, jqXHR){
aos.get('feedback').setValue(data.name);
}
});
}
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 data = {};
data['feedback'] = aos.get('feedback').getValue();
aos.post({
url:"rush/excustomer/saveexfeedback",
data:data,
success:function(data){
CloseWindow();
}
});
}
function RtnData(){
var RtnData ={}
var feedback = aos.get('feedback').getValue();
RtnData['feedback']=feedback;
return RtnData;}
</script>
</html>