//用户注册
UserRegister = function () {
Ext.MessageBox.show({ msg: '正在保存用户信息,请稍等...', progressText: '保存中...', wait: true, waitConfig: { interval: 200 } });
var fs = Ext.getCmp("register_userInfo_panel").items;
var result = fs.items[0].getValue() + "@@" + fs.items[1].getValue() + "@@" + fs.items[2].getValue() + "@@" + fs.items[4].getValue() + "@@" + fs.items[5].getValue();
Ext.Ajax.request({
url: 'page/UserRegister.aspx',
method: 'POST',
params: { result: result },
success: function(response){
var arr = Ext.util.JSON.decode(response.responseText);
Ext.MessageBox.hide();
Ext.example.msg("提示","用户信息注册成功!");
if(arr.success){
Ext.getCmp("register_userInfo_win").destroy();
Ext.getCmp("unite-user-mc-grid").store.reload();
}
}, failure: function () { Ext.example.msg("提示", " 用户信息注册失败!"); }
});
}
慕田峪7331174
扬帆大鱼
BIG阳
相关分类