This commit is contained in:
changjinpeng
2022-03-16 10:34:09 +08:00
parent 6c3aaa7582
commit b239b1ad4a
5 changed files with 19 additions and 7 deletions

View File

@@ -5,12 +5,14 @@
<span :class="[currIndex === 0 ? 'active' : '']" @click="changeTab(0)">网上办事</span>
</div>
<div class="service-list">
<div class="service-item" hover-class="bg-hover" @click="toDetail('./serviceNotice?id=' + item.id)" v-for="(item, index) in list" :key="index">
<div class="service-item" hover-class="bg-hover" @click="toDetail('./serviceNotice?id=' + item.id)" v-for="(item, index) in list" :key="index" v-if="list.length>0">
<div class="service-item__wrapper">
<h2>{{ item.processName }}</h2>
<i class="iconfont">&#xe6ae;</i>
</div>
</div>
<AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty>
</div>
<u-loadmore :status="loadingStatus" :margin-top="30" :margin-bottom="30" color="#999" font-size="26"/>
</div>
@@ -52,7 +54,8 @@
this.$instance.post(`/app/approval-process-def/list-xcx?processType=${this.currIndex === 0 ? 0 : 2}`, null, {
params: {
size: 10000,
classificationId: this.id
classificationId: this.id,
current: this.current
},
withoutToken: true
}).then(res => {
@@ -115,6 +118,7 @@
},
onReachBottom() {
this.current = this.current + 1
this.getList()
}
}