专家咨询返回和详情

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

@ -286,9 +286,12 @@
}, },
// //
goprevious() { goprevious() {
uni.navigateBack({ uni.navigateTo({
delta: 1 url: '/pages/myinformation/myinformation'
}) })
// uni.navigateBack({
// delta: 1
// })
}, },
// //
golookrate(item) { golookrate(item) {

View File

@ -149,7 +149,7 @@
patientId: '', patientId: '',
openid: null, openid: null,
orderType: 'HEALTH_CONSULTATION', orderType: 'HEALTH_CONSULTATION',
orderStatus: 'WAIT_PAY', orderStatus: '',
// orderTypeList: [ // orderTypeList: [
// 'INTEGRAL_EXCHANGE', // 'INTEGRAL_EXCHANGE',
// 'DIRECT_BUY', // 'DIRECT_BUY',
@ -166,9 +166,10 @@
onLoad(options) { onLoad(options) {
// if(options.item){ // if(options.item){
this.list = JSON.parse(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 this.orderTypeList.goodsOrderId = this.list.goodsOrderId
// console.log(this.orderTypeList.orderStatus, '25256')
// else if(options.goodsOrderId){ // else if(options.goodsOrderId){
// this.orderTypeList.goodsOrderId = options.goodsOrderId // this.orderTypeList.goodsOrderId = options.goodsOrderId
// let that = this // let that = this
@ -237,6 +238,7 @@
}) })
}, },
goodsOrderinfo() { goodsOrderinfo() {
// console.log(this.list.orderStatus, '444')
ssgoodsOrder(this.orderTypeList).then( ssgoodsOrder(this.orderTypeList).then(
res => { res => {
this.order = res.rows[0] this.order = res.rows[0]