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