<script setup lang="ts">
import XReport from '@af-mobile-client-vue3/components/data/XReportGrid/XReport.vue'
import { ref } from 'vue'
import { useRoute } from 'vue-router'

const route = useRoute()
const serverName = ref('af-gaslink')
// const configName = ref('detailsaddChargesCover')
const configName = ref(route.query.configName ? route.query.configName : 'ReportGridTest')
</script>

<template>
  <XReport :config-name="configName as string" :server-name="serverName" />
</template>

<style scoped lang="less">
</style>
