专家咨询订单
This commit is contained in:
parent
7b34cfd845
commit
c786728a7b
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user