|
|
@ -92,7 +92,7 @@ |
|
|
|
import { BasicTable, useTable, TableAction } from '/@/components/Table'; |
|
|
|
import { BasicTable, useTable, TableAction } from '/@/components/Table'; |
|
|
|
import { useListPage } from '/@/hooks/system/useListPage'; |
|
|
|
import { useListPage } from '/@/hooks/system/useListPage'; |
|
|
|
import { columns } from './Comp.data'; |
|
|
|
import { columns } from './Comp.data'; |
|
|
|
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl, getCompType } from './Comp.api'; |
|
|
|
import { listSTU, deleteOne, batchDelete, getImportUrl, getExportUrl, getCompType } from './Comp.api'; |
|
|
|
import { downloadFile } from '/@/utils/common/renderUtils'; |
|
|
|
import { downloadFile } from '/@/utils/common/renderUtils'; |
|
|
|
import CompModal from './components/CompModal.vue'; |
|
|
|
import CompModal from './components/CompModal.vue'; |
|
|
|
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue'; |
|
|
|
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue'; |
|
|
@ -108,7 +108,7 @@ |
|
|
|
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ |
|
|
|
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ |
|
|
|
tableProps: { |
|
|
|
tableProps: { |
|
|
|
title: '比赛', |
|
|
|
title: '比赛', |
|
|
|
api: list, |
|
|
|
api: listSTU, |
|
|
|
columns, |
|
|
|
columns, |
|
|
|
canResize: false, |
|
|
|
canResize: false, |
|
|
|
useSearchForm: false, |
|
|
|
useSearchForm: false, |
|
|
|