分页
This commit is contained in:
@@ -96,7 +96,6 @@ export default {
|
|||||||
current: 1,
|
current: 1,
|
||||||
areaId: '',
|
areaId: '',
|
||||||
areaName: '',
|
areaName: '',
|
||||||
size: 10,
|
|
||||||
deletId: '',
|
deletId: '',
|
||||||
pages: 0,
|
pages: 0,
|
||||||
}
|
}
|
||||||
@@ -107,7 +106,7 @@ export default {
|
|||||||
onLoad() {
|
onLoad() {
|
||||||
this.areaId = this.user.areaId
|
this.areaId = this.user.areaId
|
||||||
this.areaName = this.user.areaName
|
this.areaName = this.user.areaName
|
||||||
this.$dict.load('realityStatus').then(() => {
|
this.$dict.load('realityStatus').then(() => {
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
uni.$on('updateList', () => {
|
uni.$on('updateList', () => {
|
||||||
@@ -124,7 +123,7 @@ export default {
|
|||||||
this.$http
|
this.$http
|
||||||
.post('/app/appvisitvondolence/list', null, {
|
.post('/app/appvisitvondolence/list', null, {
|
||||||
params: {
|
params: {
|
||||||
size: this.size,
|
size: 10,
|
||||||
current: this.current,
|
current: this.current,
|
||||||
createUserId: this.currentTabs == 1 ? this.user.id : '',
|
createUserId: this.currentTabs == 1 ? this.user.id : '',
|
||||||
title: this.keyword,
|
title: this.keyword,
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ export default {
|
|||||||
current: 1,
|
current: 1,
|
||||||
areaId: '',
|
areaId: '',
|
||||||
areaName: '',
|
areaName: '',
|
||||||
size: 10,
|
|
||||||
deletId: '',
|
deletId: '',
|
||||||
pages: 0,
|
pages: 0,
|
||||||
}
|
}
|
||||||
@@ -120,9 +119,10 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
this.$http.post('/app/appvisitvondolence/list', null, {
|
this.$http
|
||||||
|
.post('/app/appvisitvondolence/list', null, {
|
||||||
params: {
|
params: {
|
||||||
size: this.size,
|
size: 10,
|
||||||
current: this.current,
|
current: this.current,
|
||||||
createUserId: this.currentTabs == 1 ? this.user.id : '',
|
createUserId: this.currentTabs == 1 ? this.user.id : '',
|
||||||
title: this.keyword,
|
title: this.keyword,
|
||||||
|
|||||||
Reference in New Issue
Block a user