<el-pagination style="margin-top: 30px;" background @current-change="handleCurrentChange"
:current-page="formInline.cur" :page-size="10" layout="total, prev, pager, next, jumper"
:total="formInline.pageCount">
</el-pagination>
data(){
formInline: {
cur: 1,
pageCount: 0,
}
},
mounted() {
this.getStationList(this.formInline.cur)
this.getDownList()
},
methods:{
getStationList(cur,station_name,station_office) {
getStationList({
user_id: this.$store.getters.user_id,
cur,
station_name
}).then(res=>{
console.log(res)
this.formInline.pageCount=res.data.page.count
})
},
}