您的位置:首页 > 产品设计 > UI/UE

Ext.Ajax.request

2013-03-17 16:56 204 查看
Ext.Ajax.request({
method : 'post',
url : paths + '/hospBase.do?method=getSumMoney',
params : {
hbiId : value,
hdiFlag : '9'
},
success : function(response) {
var responseArray = Ext.util.JSON.decode(response.responseText);
if (!responseArray.success) {
Ext.Msg.alert(alertPath, '加载总费用失败或该病人没有产生费用!');
clearValue();
} else {
localSumMoney = responseArray.msg;
return true;
}
},
failure : function() {
Ext.Msg.alert(alertPath, '加载总费用失败或该病人没有产生费用!');
}
});
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ajax