//submitForm为form表单
var myMask = new Ext.LoadMask(Ext.getBody(),{msg:"请稍等,正在导入..."});
myMask.show();
Ext.Ajax.request({ url:"uploadAction",
method:"POST",
params:{
id:id
},
success:function(){
if (myMask != undefined){ myMask.hide();}
Ext.Msg.alert("消息","文件导入成功!");
},
failure:function(){
if (myMask != undefined){ myMask.hide();}
Ext.Msg.alert("消息","文件导入失败!");
}
});