addWorkshopFormPanel.form.submit( {
url : './room.zhgr?reqCode=saveRoomItem',
waitTitle : '提示',
method : 'POST',
waitMsg : '正在处理数据,请稍候...',
success : function(form, action) {
addWorkshopWindow.hide();
store.reload();
refreshNode(Ext.getCmp('parentid').getValue());
form.reset();
Ext.MessageBox.alert('提示', action.result.msg);
},
failure : function(form, action) {
var msg = action.result.msg;
Ext.MessageBox.alert('提示', '装置车间数据保存失败:<br>' + msg);
}
});
url : './room.zhgr?reqCode=saveRoomItem',
waitTitle : '提示',
method : 'POST',
waitMsg : '正在处理数据,请稍候...',
success : function(form, action) {
addWorkshopWindow.hide();
store.reload();
refreshNode(Ext.getCmp('parentid').getValue());
form.reset();
Ext.MessageBox.alert('提示', action.result.msg);
},
failure : function(form, action) {
var msg = action.result.msg;
Ext.MessageBox.alert('提示', '装置车间数据保存失败:<br>' + msg);
}
});
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货