优化代码

This commit is contained in:
wuxw 2024-03-15 13:58:46 +08:00
parent 56adcbd875
commit e16c0b1f66
4 changed files with 5 additions and 7 deletions

View File

@ -27,7 +27,8 @@
import context from '../../lib/java110/Java110Context.js';
import {
queryOwnerAccount
} from '../../api/user/userApi.js'
} from '../../api/user/userApi.js';
import {getCommunityId} from '../../api/community/communityApi.js'
export default {
components: {
},
@ -92,9 +93,6 @@
let _that = this;
context.getOwner(function(_ownerInfo) {
if (_ownerInfo) {
if(!_that.communityId){
_that.communityId = _ownerInfo.communityId
}
queryOwnerAccount({
page: 1,
row: 99,

View File

@ -15,7 +15,7 @@ const baseUrl = '/';
// #ifndef H5
//服务器域名 小程序 或者 app 时 后端地址
const baseUrl = 'http://192.168.100.108:8088/';
const baseUrl = 'https://wuye.taksongroup.com/';
// #endif
let commonBaseUrl = 'http://demo.homecommunity.cn/';

View File

@ -202,7 +202,7 @@
prevPage.needFefresh = false;
this.$nextTick(() => {
this.$refs.vcDiscountRef._loadFeeDiscount(this.feeId, this.communityId, this.feeMonth);
this.$refs.vcUserAccountRef._listOwnerAccount(this.feeId, this.communityId);
this.$refs.vcUserAccountRef._listOwnerAccount(this.communityId);
this.$refs.giftCoupon.listGiftCoupon(this.feeId, this.communityId, this.feeMonth);
});
this.payOnline = _fee.payOnline;

View File

@ -87,7 +87,7 @@
this.loadingStatus = 'more';
let _that = this;
let params = {
roomName: this.roomDetail.floorNum + '-' + this.roomDetail.unitNum + '-' + this.roomDetail.roomNum,
roomId:this.roomDetail.roomId,
communityId: this.roomDetail.communityId,
page: _that.page,
row: 10,