mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
3450506f04
commit
2b6fed74ec
@ -104,6 +104,16 @@ export function getCommunityTel() {
|
||||
}
|
||||
|
||||
|
||||
export function getCommunityQrCode() {
|
||||
let _currentCommunity = uni.getStorageSync("currentCommunityInfo")
|
||||
if (_currentCommunity) {
|
||||
return _currentCommunity.communityQrCode;
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 查询当前小区
|
||||
*
|
||||
|
||||
@ -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);
|
||||
},
|
||||
|
||||
@ -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;
|
||||
|
||||
},
|
||||
|
||||
@ -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,
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user