This commit is contained in:
changjinpeng
2022-03-16 10:35:15 +08:00
parent b239b1ad4a
commit 223bf47bbf
2 changed files with 4 additions and 2 deletions

View File

@@ -53,7 +53,7 @@
this.loadingStatus = 'loading' this.loadingStatus = 'loading'
this.$instance.post(`/app/approval-process-def/list-xcx?processType=${this.currIndex === 0 ? 0 : 2}`, null, { this.$instance.post(`/app/approval-process-def/list-xcx?processType=${this.currIndex === 0 ? 0 : 2}`, null, {
params: { params: {
size: 10000, size: 1000,
classificationId: this.id, classificationId: this.id,
current: this.current current: this.current
}, },

View File

@@ -43,8 +43,9 @@ export default {
this.$instance this.$instance
.post(`/app/approval-process-def/list-xcx?processType=0`, null, { .post(`/app/approval-process-def/list-xcx?processType=0`, null, {
params: { params: {
size: 10000, size: 100,
classificationId: this.id, classificationId: this.id,
current: this.current,
}, },
withoutToken: true, withoutToken: true,
}) })
@@ -77,6 +78,7 @@ export default {
}, },
onReachBottom() { onReachBottom() {
this.current = this.current + 1
this.getList() this.getList()
}, },
} }