This commit is contained in:
@@ -68,12 +68,12 @@ export default {
|
||||
}),
|
||||
methods: {
|
||||
open(ayaType, idList) {
|
||||
let vm=this;
|
||||
let vm = this;
|
||||
if (ayaType == null || idList == null || idList.length == 0) {
|
||||
throw "report-selector:Open missing type and or idList";
|
||||
}
|
||||
this.ayaType=ayaType;
|
||||
this.idList=idList;
|
||||
this.ayaType = ayaType;
|
||||
this.idList = idList;
|
||||
//get report list from server
|
||||
//for now we'll fake it
|
||||
let fakeReportList = [];
|
||||
|
||||
@@ -637,7 +637,11 @@ async function clickHandler(menuItem) {
|
||||
});
|
||||
} else {
|
||||
//general report selector chosen
|
||||
let res = await m.vm.$refs.reportSelector.open();
|
||||
|
||||
let res = await m.vm.$refs.reportSelector.open(
|
||||
window.$gz.type.Widget,
|
||||
[m.vm.obj.id]
|
||||
);
|
||||
|
||||
//if null for no selection
|
||||
//just bail out
|
||||
|
||||
Reference in New Issue
Block a user