Reports!
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user