This commit is contained in:
2020-04-06 23:33:01 +00:00
parent f26f97aff3
commit 5315300790
4 changed files with 91 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
<template>
<v-container>
<v-row v-if="formState.ready">
<gz-report-selector ref="reportSelector"></gz-report-selector>
<v-col>
<v-form ref="form">
<v-row>
@@ -572,10 +573,15 @@ function clickHandler(menuItem) {
m.vm.duplicate();
break;
case "report":
//debugger;
m.vm.$refs.reportSelector.open().then(res => {
console.log("Report selector result:", res);
});
//TODO: FOLLOWING TWO LINES STILL VALID BUT NEED TO MAKE A REPORT CHOOSER COMPONENT
// let reportList = window.$gz.report.availableReports("WIDGET");
// let selectedItem = reportList[0].value;
alert("STUB: REPORT LIST DIALOG");
//alert("STUB: REPORT LIST DIALOG");
// window.$gz.dialog
// .getReportChoice(m.vm, reportList, selectedItem)