专家咨询订单

This commit is contained in:
shidongli 2023-11-14 16:48:42 +08:00
parent 7b34cfd845
commit c786728a7b

View File

@ -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)'
@ -132,7 +132,7 @@
{{rateval==2?'差':''}}
{{rateval==1?'非常差':''}}
</view>
<view class="btn" @tap="submit(item)" v-if="orderTypeList.orderStatus=='COMPLETED'">
<view class="btn" @tap="submit(item)" v-if="show">
确认
</view>
</u-popup>
@ -162,6 +162,7 @@
data() {
return {
rateval: 0,
show:true,
evaluatenurse: false,
tabslist: [{
name: '全部',
@ -270,12 +271,19 @@
tabschange(index) {
this.tabscurrent = index;
this.orderTypeList.orderStatus = this.tabslist[index].orderStatus
if(this.orderTypeList.orderStatus=="EVALUATED"){
this.show=false
}
// console.log(this.orderTypeList.orderStatus, '999')
// console.log(this.orderTypeList.orderType, '99')
this.goodsOrderinfo();
},
//
rate(item) {
if (item.orderStatus == 'COMPLETED') {
this.rateval = 0
this.show=true
}
this.evaluatenurse = true;
},
@ -288,6 +296,10 @@
},
//
golookrate(item) {
console.log(item, '555')
if(item.orderStatus=="EVALUATED"){
this.show=false
}
var orderNo = item.goOrderNo
lookrate(orderNo).then(res => {
this.rateval = res.data.compositeScore
@ -786,4 +798,4 @@
}
}
}
</style>
</style>