物业缴费-后台 如果账单为否,点击物业缴费提示请配置账单
This commit is contained in:
parent
7dc5ee160f
commit
84ac2a6da5
@ -50,7 +50,11 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
@click="headerServerClick(item)"
|
@click="headerServerClick(item)"
|
||||||
>
|
>
|
||||||
<image :src="item.ad_picture" mode="aspectFill" class="swiperBox2_img"/>
|
<image
|
||||||
|
:src="item.ad_picture"
|
||||||
|
mode="aspectFill"
|
||||||
|
class="swiperBox2_img"
|
||||||
|
/>
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
</swiper>
|
</swiper>
|
||||||
</div>
|
</div>
|
||||||
@ -171,9 +175,7 @@ import {
|
|||||||
} from "../../../utils";
|
} from "../../../utils";
|
||||||
|
|
||||||
import { apiArr } from "../../../api/v2Community";
|
import { apiArr } from "../../../api/v2Community";
|
||||||
import {
|
import { apiArr as apiArr2 } from "../../../api/community";
|
||||||
apiArr as apiArr2
|
|
||||||
} from '../../../api/community';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@ -212,6 +214,8 @@ export default {
|
|||||||
page_num: 1,
|
page_num: 1,
|
||||||
flag: false,
|
flag: false,
|
||||||
loadMoreText: "",
|
loadMoreText: "",
|
||||||
|
|
||||||
|
isShowBill: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
async onLoad(options) {
|
async onLoad(options) {
|
||||||
@ -222,6 +226,11 @@ export default {
|
|||||||
page_num: this.page_num,
|
page_num: this.page_num,
|
||||||
page_size: this.page_size,
|
page_size: this.page_size,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
|
res.rows.find((item) => {
|
||||||
|
if (item.community_id == uni.getStorageSync("changeCommData").id) {
|
||||||
|
this.isShowBill = item.bill_front_end_display == 1 ? true : false;
|
||||||
|
}
|
||||||
|
});
|
||||||
this.communityList = res.rows;
|
this.communityList = res.rows;
|
||||||
});
|
});
|
||||||
const meun = menuButtonInfo();
|
const meun = menuButtonInfo();
|
||||||
@ -290,6 +299,16 @@ export default {
|
|||||||
this.NotOpen();
|
this.NotOpen();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (
|
||||||
|
e == "/packages/community/propertyPayment/index" &&
|
||||||
|
!this.isShowBill
|
||||||
|
) {
|
||||||
|
uni.showToast({
|
||||||
|
title: "请配置账单",
|
||||||
|
icon: "none",
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
NavgateTo(e);
|
NavgateTo(e);
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -535,7 +554,10 @@ export default {
|
|||||||
this.flag = hasMore;
|
this.flag = hasMore;
|
||||||
|
|
||||||
// 检查数据是否重复
|
// 检查数据是否重复
|
||||||
const isDataDuplicate = !isTabChange && this.infoList.length > 0 && newData.length > 0 &&
|
const isDataDuplicate =
|
||||||
|
!isTabChange &&
|
||||||
|
this.infoList.length > 0 &&
|
||||||
|
newData.length > 0 &&
|
||||||
this.infoList[this.infoList.length - 1].id === newData[0].id;
|
this.infoList[this.infoList.length - 1].id === newData[0].id;
|
||||||
|
|
||||||
// 更新数据
|
// 更新数据
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user