|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
<script setup lang="tsx">
|
|
|
|
|
import { reactive, ref, unref } from 'vue'
|
|
|
|
|
import {
|
|
|
|
|
getRepIndexSetListApi
|
|
|
|
|
getRepIndexSearchListApi
|
|
|
|
|
} from '@/api/dataset/RepIndexSet'
|
|
|
|
|
import { TableData } from '@/api/reporting/RepDataProblem/RepDataProblem/types'
|
|
|
|
|
import { useTable } from '@/hooks/web/useTable'
|
|
|
|
@ -48,7 +48,7 @@ const ids = ref<string[]>([])
|
|
|
|
|
const { tableRegister, tableState, tableMethods } = useTable({
|
|
|
|
|
fetchDataApi: async () => {
|
|
|
|
|
const { currentPage, pageSize } = tableState
|
|
|
|
|
const res = await getRepIndexSetListApi({
|
|
|
|
|
const res = await getRepIndexSearchListApi({
|
|
|
|
|
pageIndex: unref(currentPage),
|
|
|
|
|
pageSize: unref(pageSize),
|
|
|
|
|
...unref(searchParams)
|
|
|
|
|