- Ext.Ajax.request({
- url:"./rehearsal/queryTableData.action",
- params:{
- search_place:rehearsal_place,250)"> search_time:dt
- .format('Y-m-d'),250)"> search_valuation:null,250)"> search_subject:search_subject
- },250)"> waitMsg:'正在提交数据',250)"> waitTitle:'提示',250)"> method:"POST",250)"> success:function(response){
- varrespText=Ext.util.JSON
- .decode(response.responseText);
- if(respText.success){
- szcdc_rehearsal_one_grid
- .getStore()
- .loadData(respText.mes);
- }
- failure:function(response){
- Ext.Msg.alert('提示',250)"> "操作失败:输入非法字符!!!");
- });
}
- search_form.submit({
- baseParams:{
- search_time:search_time,250)"> search_valuation:search_valuation,250)"> search_subject:search_subject
- success:function(form,action){
-
- varresult=Ext.util.JSON
- .decode(action.response.responseText);
- //把数据放到结果里面
- szcdc_rehearsal_one_grid.getStore()
- .loadData(result);
- failure:function(form,"操作失败:输入非法字符!!!");
- }
- });
原文链接:https://www.f2er.com/ajax/162821.html