样式优化整合

This commit is contained in:
lix
2025-07-04 10:03:42 +08:00
parent e98ca8d9eb
commit 736f004b6b
194 changed files with 634 additions and 534 deletions

View File

@ -1,5 +1,6 @@
import React, { useEffect, useRef, useState } from 'react';
import ProTable, { ActionType } from '@ant-design/pro-table';
import tableProps from '@/utils/tableProps';
import { getList, publishQuestForm, stopQuestForm, recallQuestForm, deleteQuestForm } from './service';
import { Button, Card, message, Modal, Popconfirm, Spin, Table, Tabs } from 'antd';
import TabPane from '@ant-design/pro-card/lib/components/TabPane';
@ -275,7 +276,7 @@ const Index: React.FC<{}> = () => {
});
})
}
pagination={{ defaultPageSize: 10, showSizeChanger: false }}//默认显示条数
{...tableProps}
options = {false}
/>
</Card>

View File

@ -1,5 +1,6 @@
import React, { useEffect, useState, useRef } from 'react';
import ProTable, { ActionType } from '@ant-design/pro-table';
import tableProps from '@/utils/tableProps';
import { getQuestItems, getQuestText, pageQuestAnswer, addRemarkQuestAnswer, addFlagQuestAnswer, deleteQuestAnswer, pageUser, cancelFlagQuestAnswer } from './service';
import { Button, Card, Form, message, Modal, Pagination, Popconfirm, Radio, Spin, Table, Tabs } from 'antd';
import TabPane from '@ant-design/pro-card/lib/components/TabPane';
@ -357,7 +358,7 @@ const Index: React.FC<{}> = () => {
});
})
}
pagination={{ defaultPageSize: 10, showSizeChanger: false }}//默认显示条数
{...tableProps}
options={false}
search={false}
toolBarRender={() => [
@ -410,7 +411,7 @@ const Index: React.FC<{}> = () => {
});
})
}
pagination={{ defaultPageSize: 10, showSizeChanger: false }}//默认显示条数
{...tableProps}
options={false}
search={false}
/>