提交 5b7765dd 编写于 作者: tao.wu's avatar tao.wu

Merge branch 'dev-followUp-20190312' of...

Merge branch 'dev-followUp-20190312' of 192.168.110.53:com.pica.cloud.education.frontend/pica.cloud.web-education-admin into dev-followUp-20190312
......@@ -89,9 +89,12 @@
},
methods: {
getPageList(list){
const pageNum = this.paginationSet.pageNum -1
const pageSize = this.paginationSet.pageSize
return list.slice(pageNum,pageSize)
const pageNum = this.paginationSet.pageNum -1;
const pageSize = this.paginationSet.pageSize;
const startIndex = pageNum * pageSize;
const endIndex = this.paginationSet.pageNum * pageSize;
// return list.slice(pageNum,pageSize)
return list.slice(startIndex, endIndex)
},
clickClose() {
this.$emit('closeSelectedDialog',false)
......@@ -100,7 +103,8 @@
this.$emit('continueAdd', false)
},
handleSizeChangePre(val) {
console.log(val)
this.paginationSet.pageSize = val
this.eachHasSelectedList = this.getPageList(this.hasSelectedList)
},
handleCurrentChangePre(val) {
this.paginationSet.pageNum = val
......
......@@ -191,7 +191,7 @@ export default {
fuPlanPatientTimesId: row.planPatientTimesId,
patientId: row.patientId,
nickname: row.patientName,
status: row.status,
status: 1,
}
this.isShowChangeDialog = true
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册