|
|
|
@ -38,10 +38,9 @@ class ActionGroupControl {
|
|
|
|
|
if (!this.linked) return;
|
|
|
|
|
|
|
|
|
|
let row = item ? item.data : null;
|
|
|
|
|
if (row) {
|
|
|
|
|
this.actions.query.groupIDs = row.GRP_ID;
|
|
|
|
|
this.actions.load();
|
|
|
|
|
} else
|
|
|
|
|
if (row)
|
|
|
|
|
this.getActions(row.GRP_ID, 1);
|
|
|
|
|
else
|
|
|
|
|
this.actions.dataset.clear();
|
|
|
|
|
};
|
|
|
|
|
this.groups.onSelectionChange = selected => this.onGroupSelect(selected);
|
|
|
|
@ -81,6 +80,11 @@ class ActionGroupControl {
|
|
|
|
|
|
|
|
|
|
onActionSelect(selected) {}
|
|
|
|
|
|
|
|
|
|
getActions(groupID, pageNum) {
|
|
|
|
|
this.actions.query.groupIDs = groupID;
|
|
|
|
|
this.actions.load(pageNum);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
async addActions() {
|
|
|
|
|
let actions = await selectURL(true);
|
|
|
|
|
actions = actions.filter(a => "/" == a || a.endsWith(".do"));
|
|
|
|
|