|
|
@ -186,9 +186,9 @@ function NotificationMes(props) { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
const ajaxGetListData = () => { |
|
|
|
const ajaxGetListData = (_pageInfo=pageInfo) => { |
|
|
|
setLoading(true) |
|
|
|
ajax.getNotificationList({...formData, ...pageInfo}).then(res => { |
|
|
|
ajax.getNotificationList({...formData, ..._pageInfo}).then(res => { |
|
|
|
if (res.status == 20000) { |
|
|
|
setResultDate({ |
|
|
|
list: res.data.list, |
|
|
@ -316,7 +316,10 @@ function NotificationMes(props) { |
|
|
|
} |
|
|
|
|
|
|
|
const handleSearch = () => { |
|
|
|
// ajaxGetListData() |
|
|
|
ajaxGetListData({ |
|
|
|
...pageInfo, |
|
|
|
pn: 1 |
|
|
|
}) |
|
|
|
setPageInfo({ |
|
|
|
...pageInfo, |
|
|
|
pn: 1 |
|
|
|