mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-11 06:07:24 +08:00
优化公告显示
This commit is contained in:
parent
0165443216
commit
e6640da31a
@ -31,7 +31,8 @@
|
||||
data() {
|
||||
return {
|
||||
notice: {},
|
||||
noticeId: ''
|
||||
noticeId: '',
|
||||
communityId:''
|
||||
};
|
||||
},
|
||||
|
||||
@ -41,6 +42,7 @@
|
||||
context.onLoad(options);
|
||||
let _noticeId = options.noticeId;
|
||||
this.noticeId = _noticeId;
|
||||
this.communityId = options.communityId;
|
||||
this._loadNoticeDetail();
|
||||
},
|
||||
onShow: function() {
|
||||
@ -52,7 +54,6 @@
|
||||
_loadNoticeDetail: function() {
|
||||
let that = this;
|
||||
|
||||
that.communityId = context.getUserInfo().communityId;
|
||||
context.request({
|
||||
header: context.getHeaders(),
|
||||
url: constant.url.GetNoticeListUrl,
|
||||
|
||||
@ -104,7 +104,7 @@
|
||||
gotoDetail: function(_notice) {
|
||||
let that = this;
|
||||
this.vc.navigateTo({
|
||||
url: "/pages/notice/detail/detail?noticeId=" + _notice.noticeId
|
||||
url: "/pages/notice/detail/detail?noticeId=" + _notice.noticeId+"&communityId="+that.communityId
|
||||
});
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user