修改
This commit is contained in:
parent
1ec6a1dffa
commit
d41c9cc83e
@ -82,7 +82,7 @@
|
||||
去评价
|
||||
<!-- </view> -->
|
||||
</view>
|
||||
<!-- <view class="logistics harvest" @tap='Receipt(item)'
|
||||
<!-- <view class="logistics harvest" @tap='Receipt(item)'
|
||||
v-if="item.orderStatus=='WAIT_RECEIVED_GOODS'&&item.orderType !='HEALTH_CONSULTATION'">
|
||||
确认收货</view> -->
|
||||
<!-- <view class="logistics harvest" @tap='Receipt(item)'
|
||||
@ -237,17 +237,7 @@
|
||||
this.goodsOrderinfo()
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
// info() {
|
||||
// var _this = this
|
||||
// _this.userId = _this.orderTypeList.patientId
|
||||
// console.log(_this.userId, '88585')
|
||||
// getUserSig(_this.userId).then(res => {
|
||||
// console.log(res, '555')
|
||||
// this.userSig = res.data
|
||||
// })
|
||||
// },
|
||||
submit() {
|
||||
console.log(this.orderlist[0], '858')
|
||||
console.log(this.orderlist[0].goOrderNo, '88')
|
||||
@ -262,6 +252,7 @@
|
||||
}
|
||||
insertGoodsEvaluate(obj).then(res => {
|
||||
if (res.code == 200) {
|
||||
uni.setStorageSync("Refresh", 'Refresh')
|
||||
this.$refs.uToast.show({
|
||||
title: '评价成功',
|
||||
type: 'success',
|
||||
@ -280,13 +271,8 @@
|
||||
},
|
||||
//点击tabs
|
||||
tabschange(index) {
|
||||
console.log(this.tabslist)
|
||||
console.log(index, '99')
|
||||
this.tabscurrent = index;
|
||||
this.orderTypeList.orderStatus = this.tabslist[index].orderStatus
|
||||
// console.log(this.orderTypeList.orderStatus, '999')
|
||||
// console.log(this.orderTypeList.orderType, '99')
|
||||
|
||||
this.goodsOrderinfo();
|
||||
},
|
||||
//评价
|
||||
@ -295,10 +281,6 @@
|
||||
this.rateval = 0
|
||||
}
|
||||
this.evaluatenurse = true;
|
||||
|
||||
// uni.navigateTo({
|
||||
// url: `/pagesB/goodsorderRate/goodsorderRate?item=${item}&delta=${2}`
|
||||
// })
|
||||
},
|
||||
//返回上一页
|
||||
goprevious() {
|
||||
@ -309,46 +291,12 @@
|
||||
},
|
||||
//查看评价
|
||||
golookrate(item) {
|
||||
console.log(item, '555')
|
||||
var orderNo = item.goOrderNo
|
||||
lookrate(orderNo).then(res => {
|
||||
this.rateval = res.data.compositeScore
|
||||
this.evaluatenurse = true
|
||||
})
|
||||
// uni.navigateTo({
|
||||
// url: `/pagesB/lookrate/lookrate?item=${JSON.stringify(item)}`
|
||||
// })
|
||||
},
|
||||
//收货
|
||||
// Receipts() {
|
||||
// confirmReceipt(this.orderNoitem.goOrderNo).then(res => {
|
||||
// if (res.code == 200) {
|
||||
// this.$refs.uToast.show({
|
||||
// title: '确认完成',
|
||||
// type: 'success',
|
||||
// duration: '1000'
|
||||
// })
|
||||
// this.show = false
|
||||
// this.goodsOrderinfo()
|
||||
// uni.setStorageSync("Refresh", 'Refresh')
|
||||
// // setTimeout(e => {
|
||||
// // uni.navigateTo({
|
||||
// // url: `/pagesB/goodsorderRate/goodsorderRate?item=${JSON.stringify(this.orderNoitem)}&delta=${1}`
|
||||
// // })
|
||||
// // uni.navigateTo({
|
||||
// // url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${this.orderNoitem.goodsOrderId}`
|
||||
// // })
|
||||
// // }, 1000)
|
||||
// } else {
|
||||
// this.$refs.uToast.show({
|
||||
// title: '确认失败',
|
||||
// type: 'error',
|
||||
// duration: '1000'
|
||||
// })
|
||||
// this.show = false
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
//支付
|
||||
buy(item) {
|
||||
let obj = {
|
||||
@ -395,7 +343,6 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
//物流页面
|
||||
gologistics(item) {
|
||||
uni.navigateTo({
|
||||
@ -431,7 +378,6 @@
|
||||
//商品订单请求
|
||||
goodsOrderinfo() {
|
||||
// this.orderTypeList.orderType = this.patientId
|
||||
console.log(this.orderTypeList, '45')
|
||||
ssgoodsOrder(this.orderTypeList).then(
|
||||
res => {
|
||||
if (res.code == 200) {
|
||||
@ -444,14 +390,8 @@
|
||||
// })
|
||||
uni.removeStorageSync('Refresh');
|
||||
this.total = res.total
|
||||
} else if (res.code == 9999) {
|
||||
this.$refs.uToast.show({
|
||||
title: '未登录,请先登录',
|
||||
type: 'error',
|
||||
})
|
||||
}
|
||||
})
|
||||
// this.roomitem()
|
||||
},
|
||||
//确认收货
|
||||
Receipt(item) {
|
||||
@ -460,7 +400,6 @@
|
||||
this.show = true
|
||||
},
|
||||
},
|
||||
|
||||
onReady() { //更改导航栏文字
|
||||
// uni.setNavigationBarTitle({
|
||||
// title: this.title,
|
||||
@ -483,18 +422,12 @@
|
||||
that.orderTypeList.patientId = value
|
||||
that.openid = value2
|
||||
if (options.orderStatus) {
|
||||
console.log(options.orderStatus, '585')
|
||||
that.tabscurrent = options.toindex
|
||||
that.orderStatus = options.orderStatus
|
||||
that.goodsOrderinfo();
|
||||
} else {
|
||||
that.goodsOrderinfo();
|
||||
}
|
||||
} else {
|
||||
that.$refs.uToast.show({
|
||||
title: '未登录,请先登录',
|
||||
type: 'error',
|
||||
})
|
||||
}
|
||||
},
|
||||
onReachBottom() { //下滑加载
|
||||
@ -856,4 +789,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user