Commit 6a33d980 authored by miaojiale's avatar miaojiale

提交分页

parent 5de628cb
......@@ -98,17 +98,17 @@ export default {
},
watch: {},
mounted() {
this.getPatientPage()
this.handleSearch()
},
methods: {
setSelectedIndex(i) {
console.log(this.selectedIndex)
this.selectedIndex = i
this.pageIndex = 1
this.getPatientPage()
this.handleSearch()
sessionStorage.setItem("homeSelectedIndex", this.selectedIndex)
},
getPatientPage() {
handleSearch() {
this.listLoading = true
let data = {
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