Browse Source

上传

master
前端-胡立永 7 months ago
parent
commit
aff4a1c0b6
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      pages/index/order.vue

+ 5
- 5
pages/index/order.vue View File

@ -144,7 +144,7 @@
records : [],
total : 0,
},
state : -1,
type : -1,
}
},
onShow() {
@ -162,8 +162,8 @@
let queryParams = {
...this.queryParams,
}
if(this.state != -1){
queryParams.state = this.state
if(this.type != -1){
queryParams.type = this.type
}
this.$api('orderPage', queryParams, res => {
if(res.code == 200){
@ -174,9 +174,9 @@
//tab
clickTabs({ index, name }) {
if (index == 0) {
this.state = -1;
this.type = -1;
} else {
this.state = index - 1;
this.type = index - 1;
}
this.queryParams.pageSize = 10
this.orderPage()


Loading…
Cancel
Save