|
|
@ -119,7 +119,7 @@ class _AnnounceViewState extends State<AnnounceView> {
|
|
|
|
var base = await NetUtil().getList(SAASAPI.message.list, params: {
|
|
|
|
var base = await NetUtil().getList(SAASAPI.message.list, params: {
|
|
|
|
'pageNum': _page,
|
|
|
|
'pageNum': _page,
|
|
|
|
'size': _size,
|
|
|
|
'size': _size,
|
|
|
|
'type':5,
|
|
|
|
'type':null,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
_innerModelList =
|
|
|
|
_innerModelList =
|
|
|
|
base.rows.map((e) => MessageListModel.fromJson(e)).toList();
|
|
|
|
base.rows.map((e) => MessageListModel.fromJson(e)).toList();
|
|
|
@ -135,7 +135,7 @@ class _AnnounceViewState extends State<AnnounceView> {
|
|
|
|
var base = await NetUtil().getList(SAASAPI.message.list, params: {
|
|
|
|
var base = await NetUtil().getList(SAASAPI.message.list, params: {
|
|
|
|
'pageNum': _page,
|
|
|
|
'pageNum': _page,
|
|
|
|
'size': _size,
|
|
|
|
'size': _size,
|
|
|
|
'type':5,
|
|
|
|
'type':null,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
if (base.total > _modelLists.length) {
|
|
|
|
if (base.total > _modelLists.length) {
|
|
|
|
_innerModelList =
|
|
|
|
_innerModelList =
|
|
|
@ -143,7 +143,6 @@ class _AnnounceViewState extends State<AnnounceView> {
|
|
|
|
monthListDepart(_innerModelList);
|
|
|
|
monthListDepart(_innerModelList);
|
|
|
|
setState(() {});
|
|
|
|
setState(() {});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
print('1111111');
|
|
|
|
|
|
|
|
_refreshController.finishLoadCallBack!(noMore: true);
|
|
|
|
_refreshController.finishLoadCallBack!(noMore: true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|