专家咨询返回和详情

This commit is contained in:
闫晓茹 2023-11-02 16:54:17 +08:00
parent cec8246940
commit 2e62e6fa6a
2 changed files with 103 additions and 98 deletions

View File

@ -2,7 +2,7 @@
<view class="app">
<u-navbar :is-back="false" :background="background" class="u-navbar">
<image src="@/static/pagesB/fanhui.png" mode="" @tap="goprevious"></image>
<view class="title" >
<view class="title">
专家咨询订单
</view>
<view class="inputs">
@ -286,9 +286,12 @@
},
//
goprevious() {
uni.navigateBack({
delta: 1
uni.navigateTo({
url: '/pages/myinformation/myinformation'
})
// uni.navigateBack({
// delta: 1
// })
},
//
golookrate(item) {

View File

@ -149,7 +149,7 @@
patientId: '',
openid: null,
orderType: 'HEALTH_CONSULTATION',
orderStatus: 'WAIT_PAY',
orderStatus: '',
// orderTypeList: [
// 'INTEGRAL_EXCHANGE',
// 'DIRECT_BUY',
@ -159,16 +159,17 @@
pageNum: 1,
goodsName: '',
},
order:[],
order: [],
}
},
onLoad(options) {
// if(options.item){
this.list = JSON.parse(options.item)
console.log(this.list, '555')
// console.log(this.list, '555')
this.orderTypeList.orderStatus = this.list.orderStatus
this.orderTypeList.goodsOrderId = this.list.goodsOrderId
// console.log(this.orderTypeList.orderStatus, '25256')
// else if(options.goodsOrderId){
// this.orderTypeList.goodsOrderId = options.goodsOrderId
// let that = this
@ -237,6 +238,7 @@
})
},
goodsOrderinfo() {
// console.log(this.list.orderStatus, '444')
ssgoodsOrder(this.orderTypeList).then(
res => {
this.order = res.rows[0]