diff --git a/pages/repairList/repairList.vue b/pages/repairList/repairList.vue index ea07b47..543fe39 100644 --- a/pages/repairList/repairList.vue +++ b/pages/repairList/repairList.vue @@ -49,6 +49,11 @@ current: 0, currentIndex: 0, repairList: [], //报修列表 + queryParams : { + pageNo : 1, + pageSize : 10, + // state : 0 + } } }, onShow() { @@ -81,11 +86,12 @@ //选择了顶部的标签 selectTag(tag) { console.log(tag); + // this.queryParams.state = tag }, //获取报修列表 getRepairList() { - this.$api('getSchoolOrderPage', this.form, res => { + this.$api('getSchoolOrderPage', this.queryParams, res => { if (res.code == 200) { res.result.records.forEach(item => { item.image ? item.image = item.image.split(',') : item.image = []