From 035e611db7465a9f7f6942f1a5a9402626076acc Mon Sep 17 00:00:00 2001 From: "Mr.jiang" <714156421@qq.com> Date: Fri, 12 Jul 2024 15:19:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my/commission/index.vue | 196 ++++++++++++++++++++++++------ my/orderRevenueDetails/index.vue | 2 +- pages/index/addClock.vue | 4 +- pages/index/currentIncome.vue | 2 +- pages/index/currentPoints.vue | 4 +- pages/index/currentYeji.vue | 2 +- pages/index/previousAdditions.vue | 4 +- pages/index/previousEarnings.vue | 2 +- pages/index/previousPoints.vue | 4 +- pages/my/shangjiaInp.vue | 9 +- 10 files changed, 179 insertions(+), 50 deletions(-) diff --git a/my/commission/index.vue b/my/commission/index.vue index 27bd13e..387f714 100644 --- a/my/commission/index.vue +++ b/my/commission/index.vue @@ -21,14 +21,7 @@ - + @@ -84,26 +77,47 @@ - - - - 订单收益 - {{item.artificerMoneyTotal}}元 + + + + {{item.status=='3'?'待评价':'已完成'}} + + 预约时间: + {{item.serveTime}} - - - 服务时间:{{item.serveTime}} - 下单时间:{{item.payTime}} - - - - 订单号: {{item.ordersNo}} - 查看明细 + + + + + + + {{item.entryName}} + + + {{item.km}}km + + + + 订单编号 : {{item.ordersNo}} + + + 服务地址 : {{item.address}} + + + + 项目金额 : + + ¥{{item.price}} + + + + 本单收益: + ¥{{item.artificerMoneyTotal}} + + - @@ -251,6 +265,11 @@ } }, methods: { + goOder(item){ + uni.navigateTo({ + url:'/my/order/revenueDetails?ordersId='+item.ordersId + }) + }, //自适应改变列表高度 selfAdaptionChangeElemtHeight() { let _this = this; @@ -289,16 +308,17 @@ if (res && res.data && res.data.records.length > 0) { //有数据时 let obj = {}; - res.data.records.forEach((item) => { - obj = { - artificerMoneyTotal: item.artificerMoneyTotal, - serveTime: item.serveTime, - payTime: item.payTime, - ordersNo: item.ordersNo, - ordersId: item.ordersId, - } - this.commissionDetail.push(obj); - }) + // res.data.records.forEach((item) => { + // obj = { + // artificerMoneyTotal: item.artificerMoneyTotal, + // serveTime: item.serveTime, + // payTime: item.payTime, + // ordersNo: item.ordersNo, + // ordersId: item.ordersId, + // } + // this.commissionDetail.push(obj); + // }) + this.commissionDetail=res.data.records||{}; console.log("this.commissionDetail",res.data.records) this.noDataScrollStatus = false; this.isShowLoadMore = true; @@ -429,6 +449,114 @@