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",{
|
uni.setStorageSync("currentCommunityInfo",{
|
||||||
communityId:_json.data.communityId,
|
communityId:_json.data.communityId,
|
||||||
communityName:_json.data.communityName,
|
communityName:_json.data.communityName,
|
||||||
sCommunityTel:_json.data.communityTel
|
sCommunityTel:_json.data.communityTel,
|
||||||
|
communityQrCode:_json.data.communityQrCode
|
||||||
});
|
});
|
||||||
resolve(_json.data);
|
resolve(_json.data);
|
||||||
},
|
},
|
||||||
|
|||||||
@ -78,7 +78,8 @@
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
getCommunityName,
|
getCommunityName,
|
||||||
getCommunityTel
|
getCommunityTel,
|
||||||
|
getCommunityQrCode
|
||||||
} from '../../api/community/communityApi.js';
|
} from '../../api/community/communityApi.js';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -199,6 +200,7 @@
|
|||||||
|
|
||||||
this.property.sCommunityTel = getCommunityTel();
|
this.property.sCommunityTel = getCommunityTel();
|
||||||
this.property.communityName = getCommunityName();
|
this.property.communityName = getCommunityName();
|
||||||
|
this.property.communityQrCode = getCommunityQrCode();
|
||||||
_that.callPropertyModal = true;
|
_that.callPropertyModal = true;
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@ -171,7 +171,7 @@
|
|||||||
carNum: this.carNum,
|
carNum: this.carNum,
|
||||||
remark: this.remark,
|
remark: this.remark,
|
||||||
communityId:this.communityId,
|
communityId:this.communityId,
|
||||||
passTime:this.todayDate+" "+this.todayDateTime+":00",
|
passTime:this.bindDate+" "+this.bindTime+":00",
|
||||||
audit: {
|
audit: {
|
||||||
staffId: this.audit.assignee,
|
staffId: this.audit.assignee,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user