diff --git a/pages/order/index.vue b/pages/order/index.vue index 4c842bf..6542f52 100644 --- a/pages/order/index.vue +++ b/pages/order/index.vue @@ -709,31 +709,34 @@ cancel(e) { console.log(11) let that = this - uni.showModal({ - title: '提示', - content: '如果服务未完成点击完成订单会遭到平台违规处理,请确认服务是否完毕?', - success: function(res) { - if (res.confirm) { - let data = { - ordersId: e.ordersId, - accomplishLongitude: that.longitude, - accomplishLatitude: that.latitude - } - that.$queue.showLoading('提交中...') - that.$Request.post('/app/artificer/accomplishOrders', data).then(res => { - uni.hideLoading(); - if (res.code == 0) { - that.mescroll.resetUpScroll() - websocketUtils.uploadAudioEnd(); //关闭音频上传 - } else { - that.$queue.showToast(res.msg); - } - }) - } else if (res.cancel) { - console.log('用户点击取消'); - } - } - }); + uni.navigateTo({ + url:'/my/order/revenueDetails?ordersId='+e.ordersId + }) + // uni.showModal({ + // title: '提示', + // content: '如果服务未完成点击完成订单会遭到平台违规处理,请确认服务是否完毕?', + // success: function(res) { + // if (res.confirm) { + // let data = { + // ordersId: e.ordersId, + // accomplishLongitude: that.longitude, + // accomplishLatitude: that.latitude + // } + // that.$queue.showLoading('提交中...') + // that.$Request.post('/app/artificer/accomplishOrders', data).then(res => { + // uni.hideLoading(); + // if (res.code == 0) { + // that.mescroll.resetUpScroll() + // websocketUtils.uploadAudioEnd(); //关闭音频上传 + // } else { + // that.$queue.showToast(res.msg); + // } + // }) + // } else if (res.cancel) { + // console.log('用户点击取消'); + // } + // } + // }); }, //时间弹框开关 bindData(index) {