|
@@ -13,12 +13,15 @@ import AuthButton from '@/components/AuthButton';
|
13
|
13
|
const { Option } = Select;
|
14
|
14
|
const { MonthPicker, RangePicker, WeekPicker } = DatePicker;
|
15
|
15
|
|
|
16
|
+const defaultTip = '请选择项目搜索'
|
|
17
|
+
|
16
|
18
|
const header = props => {
|
17
|
19
|
const [data, setData] = useState({})
|
18
|
20
|
// const [page, changePage] = useState({})
|
19
|
21
|
|
20
|
22
|
useEffect(() => {
|
21
|
23
|
// getList({ pageNum: 1, pageSize: 10 });
|
|
24
|
+ message.info(defaultTip)
|
22
|
25
|
}, [])
|
23
|
26
|
|
24
|
27
|
// 查询列表
|
|
@@ -181,7 +184,7 @@ const header = props => {
|
181
|
184
|
</Button>
|
182
|
185
|
</Form.Item>
|
183
|
186
|
</Form>
|
184
|
|
- <Table style={{marginTop:'30px'}} dataSource={data.records} columns={columns} pagination={false} rowKey="activityList" />
|
|
187
|
+ <Table style={{marginTop:'30px'}} dataSource={data.records} columns={columns} pagination={false} rowKey="activityList" locale={{ emptyText: defaultTip }} />
|
185
|
188
|
<div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
|
186
|
189
|
<Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={e => changePageNum(e,props)} current={data.current} />
|
187
|
190
|
</div>
|