mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
56adcbd875
commit
e16c0b1f66
@ -27,7 +27,8 @@
|
|||||||
import context from '../../lib/java110/Java110Context.js';
|
import context from '../../lib/java110/Java110Context.js';
|
||||||
import {
|
import {
|
||||||
queryOwnerAccount
|
queryOwnerAccount
|
||||||
} from '../../api/user/userApi.js'
|
} from '../../api/user/userApi.js';
|
||||||
|
import {getCommunityId} from '../../api/community/communityApi.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
},
|
},
|
||||||
@ -92,9 +93,6 @@
|
|||||||
let _that = this;
|
let _that = this;
|
||||||
context.getOwner(function(_ownerInfo) {
|
context.getOwner(function(_ownerInfo) {
|
||||||
if (_ownerInfo) {
|
if (_ownerInfo) {
|
||||||
if(!_that.communityId){
|
|
||||||
_that.communityId = _ownerInfo.communityId
|
|
||||||
}
|
|
||||||
queryOwnerAccount({
|
queryOwnerAccount({
|
||||||
page: 1,
|
page: 1,
|
||||||
row: 99,
|
row: 99,
|
||||||
|
|||||||
@ -15,7 +15,7 @@ const baseUrl = '/';
|
|||||||
|
|
||||||
// #ifndef H5
|
// #ifndef H5
|
||||||
//服务器域名 小程序 或者 app 时 后端地址
|
//服务器域名 小程序 或者 app 时 后端地址
|
||||||
const baseUrl = 'http://192.168.100.108:8088/';
|
const baseUrl = 'https://wuye.taksongroup.com/';
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
let commonBaseUrl = 'http://demo.homecommunity.cn/';
|
let commonBaseUrl = 'http://demo.homecommunity.cn/';
|
||||||
|
|||||||
@ -202,7 +202,7 @@
|
|||||||
prevPage.needFefresh = false;
|
prevPage.needFefresh = false;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.vcDiscountRef._loadFeeDiscount(this.feeId, this.communityId, this.feeMonth);
|
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.$refs.giftCoupon.listGiftCoupon(this.feeId, this.communityId, this.feeMonth);
|
||||||
});
|
});
|
||||||
this.payOnline = _fee.payOnline;
|
this.payOnline = _fee.payOnline;
|
||||||
|
|||||||
@ -87,7 +87,7 @@
|
|||||||
this.loadingStatus = 'more';
|
this.loadingStatus = 'more';
|
||||||
let _that = this;
|
let _that = this;
|
||||||
let params = {
|
let params = {
|
||||||
roomName: this.roomDetail.floorNum + '-' + this.roomDetail.unitNum + '-' + this.roomDetail.roomNum,
|
roomId:this.roomDetail.roomId,
|
||||||
communityId: this.roomDetail.communityId,
|
communityId: this.roomDetail.communityId,
|
||||||
page: _that.page,
|
page: _that.page,
|
||||||
row: 10,
|
row: 10,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user