Commit 6a33d980 authored by miaojiale's avatar miaojiale

提交分页

parent 5de628cb
...@@ -98,17 +98,17 @@ export default { ...@@ -98,17 +98,17 @@ export default {
}, },
watch: {}, watch: {},
mounted() { mounted() {
this.getPatientPage() this.handleSearch()
}, },
methods: { methods: {
setSelectedIndex(i) { setSelectedIndex(i) {
console.log(this.selectedIndex) console.log(this.selectedIndex)
this.selectedIndex = i this.selectedIndex = i
this.pageIndex = 1 this.pageIndex = 1
this.getPatientPage() this.handleSearch()
sessionStorage.setItem("homeSelectedIndex", this.selectedIndex) sessionStorage.setItem("homeSelectedIndex", this.selectedIndex)
}, },
getPatientPage() { handleSearch() {
this.listLoading = true this.listLoading = true
let data = { let data = {
pageSize: this.pageSize, pageSize: this.pageSize,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment