<template>
  <gz-report-viewer
    :reportId="$route.params.recordid"
    :ayaType="$route.params.ayatype"
  />
</template>

<script>
export default {
  beforeCreate() {
    window.$gz.eventBus.$emit("menu-change", {
      isMain: true,
      icon: "fa-file-alt",
      title: "Report",
      helpUrl: "form-ay-report"
    });
  }
};
</script>
