[fix 87395] 标准解读流程前端分页
This commit is contained in:
+2
-4
@@ -537,6 +537,7 @@ export default {
|
|||||||
}
|
}
|
||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
|
this.ipagination.total = this.dataSource.length
|
||||||
},
|
},
|
||||||
// 获取组件内数据
|
// 获取组件内数据
|
||||||
getData () {
|
getData () {
|
||||||
@@ -794,6 +795,7 @@ export default {
|
|||||||
this.dataSource = this.dataSource.filter(item => !this.selectedRowKeys.includes(item[this.rowKey]))
|
this.dataSource = this.dataSource.filter(item => !this.selectedRowKeys.includes(item[this.rowKey]))
|
||||||
// 重新计算分页问题
|
// 重新计算分页问题
|
||||||
that.reCalculatePage(that.selectedRowKeys.length)
|
that.reCalculatePage(that.selectedRowKeys.length)
|
||||||
|
this.ipagination.total = this.dataSource.length
|
||||||
// 清空勾选数据
|
// 清空勾选数据
|
||||||
that.onClearSelected()
|
that.onClearSelected()
|
||||||
}
|
}
|
||||||
@@ -813,10 +815,6 @@ export default {
|
|||||||
if (currentIndex < this.ipagination.current) {
|
if (currentIndex < this.ipagination.current) {
|
||||||
this.ipagination.current = currentIndex
|
this.ipagination.current = currentIndex
|
||||||
}
|
}
|
||||||
// 当前页数小于1
|
|
||||||
if (this.ipagination.current < 1) {
|
|
||||||
this.ipagination.current = 1
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 显示条款内容、条文解读弹框
|
* 显示条款内容、条文解读弹框
|
||||||
|
|||||||
Reference in New Issue
Block a user