运营活动

This commit is contained in:
liuye
2023-01-17 10:09:16 +08:00
parent 57fbd8ce41
commit 2a7ab35e29
2 changed files with 17 additions and 19 deletions

View File

@@ -41,9 +41,9 @@
<AiEmpty description="暂无数据" v-else></AiEmpty> <AiEmpty description="暂无数据" v-else></AiEmpty>
<AiFixedBtn> <!-- <AiFixedBtn>
<div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()" /> <div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()" />
</AiFixedBtn> </AiFixedBtn> -->
</div> </div>
</template> </template>
@@ -82,24 +82,22 @@ export default {
}, },
methods: { methods: {
getList() { getList() {
this.$http this.$http.post('/app/appvillageactivityinfo/listUp', null, {
.post('/app/appvillageactivityinfo/listUp', null, { params: {
params: { size: this.size,
size: this.size, current: this.current,
current: this.current, createUserId: this.currentTabs == 1 ? this.user.id : '',
createUserId: this.currentTabs == 1 ? this.user.id : '', areaId: this.user.areaId,
areaId: this.user.areaId, },
}, }).then((res) => {
}) if (res.code == 0) {
.then((res) => { this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
if (res.code == 0) { this.$forceUpdate()
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
this.$forceUpdate()
this.total = res.data.total this.total = res.data.total
this.pages = res.data.pages this.pages = res.data.pages
} }
}) })
}, },
change(index) { change(index) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB