<script setup lang="ts">
import XCellList from '@af-mobile-client-vue3/components/data/XCellList/index.vue'
import { computed } from 'vue'
import { useRoute } from 'vue-router'
// 简易crud表单测试——表具采集记录
const configName = 'mobile_instrumentCollectionQueryCRUD'
const serviceName = computed(() => useRoute().query.serviceName?.toString() || 'af-revenue')
const userId = computed(() => useRoute().query.userId?.toString() || '')
const userfilesId = computed(() => useRoute().query.userfilesId?.toString() || '')
</script>

<template>
  <XCellList
    :config-name="configName"
    :service-name="serviceName"
    :fix-query-form="{
      it_f_userinfo_id: userId,
      it_f_userfiles_id: userfilesId,
    }"
  />
</template>
