diff --git a/src/pages.json b/src/pages.json index 127422e..e3407b5 100644 --- a/src/pages.json +++ b/src/pages.json @@ -100,6 +100,12 @@ "navigationBarTitleText": "我的申请", "navigationBarTextStyle": "black" } + }, { + "path": "changePrice_apply", + "style": { + "navigationBarTitleText": "改价申请", + "navigationBarTextStyle": "black" + } }, { "path": "mytodo", "style": { @@ -208,6 +214,18 @@ "navigationBarTitleText": "出租专区详情", "navigationBarTextStyle": "black" } + }, { + "path": "ledList", + "style": { + "navigationBarTitleText": "带看历史", + "navigationBarTextStyle": "black" + } + }, { + "path": "shouding", + "style": { + "navigationBarTitleText": "收定", + "navigationBarTextStyle": "black" + } }, { "path": "jjrent", "style": { diff --git a/src/pages/customer/addLedlook.vue b/src/pages/customer/addLedlook.vue index d8974cf..f0cfb5d 100644 --- a/src/pages/customer/addLedlook.vue +++ b/src/pages/customer/addLedlook.vue @@ -17,7 +17,7 @@ - 提交 + 提交 diff --git a/src/pages/my/applyHistory.vue b/src/pages/my/applyHistory.vue index f54080f..52eae6c 100644 --- a/src/pages/my/applyHistory.vue +++ b/src/pages/my/applyHistory.vue @@ -3,15 +3,24 @@ - {{item.name}} + {{item.applyName}} + + + + + + + - {{item.time}} + {{item.createTime}} {{item.address}} - 由 {{item.person}} 提交申请 - 审核通过 - 未通过 + 由 {{item.applyName}} 提交申请 + + 审核通过 + 未审核 + 未通过 处理中 @@ -21,23 +30,54 @@ export default { data() { return { - listData: [{ - name:'张晨', - status: 0,address:'惠中北里 106号楼 24层',person:'marry',time:'2022-10-26 10:20:00' - },{name:'张晨', - status: 0,address:'惠中北里 106号楼 24层',person:'marry',time:'2022-10-26 10:20:00'}, - {name:'张晨', - status: 0,address:'惠中北里 106号楼 24层',person:'marry',time:'2022-10-26 10:20:00'}, - {name:'张晨', - status: 0,address:'惠中北里 106号楼 24层',person:'marry',time:'2022-10-26 10:20:00'}] + listData: [], + pageNo: 1, + pageSize: 10, + loadDone: false, }; }, onLoad(options) { + this.getList() }, onShow() { }, - methods: {}, + onReachBottom() { + this.getList(); + }, + methods: { + getList(){ + if (this.loadDone) return; + let body = { + pageNo:this.pageNo, + pageSize:this.pageSize, + applyStatus: '', + createTimeBegin: '', + createTimeEnd:'' + } + this.$u.api.cleanRepairHistory({body:body}).then((res)=>{ + // console.log(res) + if(res.result&&res.result.length){ + if(this.pageNo==1){ + this.listData = res.result + }else{ + this.listData = [...this.listData, ...res.result]; + } + if(res.result.length diff --git a/src/pages/my/apply_baojie.vue b/src/pages/my/apply_baojie.vue index 52d5600..e115ebe 100644 --- a/src/pages/my/apply_baojie.vue +++ b/src/pages/my/apply_baojie.vue @@ -1,12 +1,11 @@