|
@@ -128,7 +128,7 @@
|
|
|
}).then(({data}) => {
|
|
|
if (data && data.code === '200') {
|
|
|
this.dataList = data.data.records
|
|
|
- this.totalPage = Number(data.data.pages)
|
|
|
+ this.totalPage = Number(data.data.total)
|
|
|
} else {
|
|
|
this.dataList = []
|
|
|
this.totalPage = 0
|
|
@@ -160,7 +160,7 @@
|
|
|
},
|
|
|
// 删除
|
|
|
deleteHandle (id) {
|
|
|
- var userIds = id ? [id] : this.dataListSelections.map(item => {
|
|
|
+ let userIds = id ? [id] : this.dataListSelections.map(item => {
|
|
|
return item.userId
|
|
|
})
|
|
|
this.$confirm(`确定对[id=${userIds.join(',')}]进行[${id ? '删除' : '批量删除'}]操作?`, '提示', {
|