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