@@ -45,6 +45,8 @@ public class ListNoticesSMOImpl extends AbstractComponentSMO implements IListNot
Map paramMap = BeanConvertUtil.beanCovertMap(result);
paramIn.putAll(paramMap);
+ //将用户ID刷掉
+ paramIn.remove("userId");
String apiUrl = ServiceConstant.SERVICE_API_URL + "/api/notice.listNotices" + mapToUrlParam(paramIn);
@@ -31,7 +31,8 @@
var param = {
params:{
page:_page,
- row:_rows
+ row:_rows,
+ communityId:vc.getCurrentCommunity().communityId
}
@@ -145,7 +145,9 @@
},
changeCommunity:function(_community){
vc.setCurrentCommunity(_community);
- vm.navCommunityInfo._currentCommunity= _community;
+ vm.navCommunityInfo._currentCommunity= _community;
+ //中心加载当前页
+ location.reload();
_noticeDetail:function(_notice){
//console.log(_notice.noticeId);