<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(import.meta.env.VITE_APP_SYSTEM_NAME)
const configName = ref(route.query.configName ? route.query.configName as string : 'ReportGridTest')
</script>

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

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