This commit is contained in:
2020-12-01 16:05:18 +00:00
parent f700702215
commit adf8eee4d7
5 changed files with 39 additions and 22 deletions

View File

@@ -913,14 +913,18 @@ async function clickHandler(menuItem) {
break;
case "report":
if (m.id != null) {
//last report selected
//last report selected is in m.id
m.vm.$router.push({
name: "ay-report",
params: { recordid: m.id, ayatype: window.$gz.type.User }
});
} else {
//general report selector chosen
let res = await m.vm.$refs.reportSelector.open();
let res = await m.vm.$refs.reportSelector.open({
ObjectType: window.$gz.type.User,
selectedRowIds: [m.vm.obj.id]
});
//if null for no selection
//just bail out
@@ -937,6 +941,7 @@ async function clickHandler(menuItem) {
});
}
break;
case "directnotify":
//nav to direct notify with list of users appended to route
if (m.vm.obj.id == 0) {