diff --git a/api/community/communityApi.js b/api/community/communityApi.js index f8ab694..5994753 100644 --- a/api/community/communityApi.js +++ b/api/community/communityApi.js @@ -104,6 +104,16 @@ export function getCommunityTel() { } +export function getCommunityQrCode() { + let _currentCommunity = uni.getStorageSync("currentCommunityInfo") + if (_currentCommunity) { + return _currentCommunity.communityQrCode; + } + return ''; +} + + + /** * 查询当前小区 * diff --git a/api/user/userApi.js b/api/user/userApi.js index 6677941..8afc5ed 100644 --- a/api/user/userApi.js +++ b/api/user/userApi.js @@ -309,7 +309,8 @@ export function ownerLogin(_that, _data) { uni.setStorageSync("currentCommunityInfo",{ communityId:_json.data.communityId, communityName:_json.data.communityName, - sCommunityTel:_json.data.communityTel + sCommunityTel:_json.data.communityTel, + communityQrCode:_json.data.communityQrCode }); resolve(_json.data); }, diff --git a/components/index/index-menu.vue b/components/index/index-menu.vue index a43f983..a8617ba 100644 --- a/components/index/index-menu.vue +++ b/components/index/index-menu.vue @@ -78,7 +78,8 @@ import { getCommunityName, - getCommunityTel + getCommunityTel, + getCommunityQrCode } from '../../api/community/communityApi.js'; export default { @@ -199,6 +200,7 @@ this.property.sCommunityTel = getCommunityTel(); this.property.communityName = getCommunityName(); + this.property.communityQrCode = getCommunityQrCode(); _that.callPropertyModal = true; }, diff --git a/pages/itemRelease/itemRelease.vue b/pages/itemRelease/itemRelease.vue index a7af870..5b57a3f 100644 --- a/pages/itemRelease/itemRelease.vue +++ b/pages/itemRelease/itemRelease.vue @@ -171,7 +171,7 @@ carNum: this.carNum, remark: this.remark, communityId:this.communityId, - passTime:this.todayDate+" "+this.todayDateTime+":00", + passTime:this.bindDate+" "+this.bindTime+":00", audit: { staffId: this.audit.assignee, },