|
@ -98,6 +98,7 @@
|
|
|
if(data.successFlg) {
|
|
|
$.ligerDialog.success(data.message);
|
|
|
resourceRest.$dictGrid.reload();
|
|
|
resourceRest.$dictGrid.changePage("first");
|
|
|
}
|
|
|
else{
|
|
|
$.ligerDialog.error(data.message);
|
|
@ -144,6 +145,7 @@
|
|
|
if(data.successFlg) {
|
|
|
$.ligerDialog.success(data.message);
|
|
|
resourceRest.$dictItemGrid.reload();
|
|
|
resourceRest.$dictItemGrid.changePage("first");
|
|
|
}
|
|
|
else{
|
|
|
$.ligerDialog.error(data.message);
|
|
@ -161,8 +163,10 @@
|
|
|
$.ligerDialog.success(message);
|
|
|
if("1"==reloadType){
|
|
|
resourceRest.$dictGrid.reload();
|
|
|
resourceRest.$dictGrid.changePage("first");
|
|
|
}else{
|
|
|
resourceRest.$dictItemGrid.reload();
|
|
|
resourceRest.$dictItemGrid.changePage("first");
|
|
|
}
|
|
|
this.$dialog.close();
|
|
|
},
|
|
@ -192,7 +196,13 @@
|
|
|
resourceRest.editorResourceRestDialog(data.id);
|
|
|
},
|
|
|
onSelectRow:function(rowdata, rowid, rowobj) {
|
|
|
resourceRest.$dictItemGrid.loadServerData({resourceRestId:rowdata.id});
|
|
|
//resourceRest.$dictItemGrid.loadServerData({resourceRestId:rowdata.id});
|
|
|
// resourceRest.$dictItemGrid.changePage("first");
|
|
|
resourceRest.$dictItemGrid.set({
|
|
|
parms: {resourceRestId:rowdata.id}
|
|
|
});
|
|
|
resourceRest.$dictItemGrid.reload();
|
|
|
resourceRest.$dictItemGrid.changePage("first");
|
|
|
}
|
|
|
});
|
|
|
this.$dictItemGrid= this.$dictItemGrid.ligerGrid({
|