专家咨询订单
This commit is contained in:
parent
7b34cfd845
commit
c786728a7b
@ -132,7 +132,7 @@
|
|||||||
{{rateval==2?'差':''}}
|
{{rateval==2?'差':''}}
|
||||||
{{rateval==1?'非常差':''}}
|
{{rateval==1?'非常差':''}}
|
||||||
</view>
|
</view>
|
||||||
<view class="btn" @tap="submit(item)" v-if="orderTypeList.orderStatus=='COMPLETED'">
|
<view class="btn" @tap="submit(item)" v-if="show">
|
||||||
确认
|
确认
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
@ -162,6 +162,7 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
rateval: 0,
|
rateval: 0,
|
||||||
|
show:true,
|
||||||
evaluatenurse: false,
|
evaluatenurse: false,
|
||||||
tabslist: [{
|
tabslist: [{
|
||||||
name: '全部',
|
name: '全部',
|
||||||
@ -270,12 +271,19 @@
|
|||||||
tabschange(index) {
|
tabschange(index) {
|
||||||
this.tabscurrent = index;
|
this.tabscurrent = index;
|
||||||
this.orderTypeList.orderStatus = this.tabslist[index].orderStatus
|
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();
|
this.goodsOrderinfo();
|
||||||
},
|
},
|
||||||
//评价
|
//评价
|
||||||
rate(item) {
|
rate(item) {
|
||||||
if (item.orderStatus == 'COMPLETED') {
|
if (item.orderStatus == 'COMPLETED') {
|
||||||
this.rateval = 0
|
this.rateval = 0
|
||||||
|
this.show=true
|
||||||
}
|
}
|
||||||
this.evaluatenurse = true;
|
this.evaluatenurse = true;
|
||||||
},
|
},
|
||||||
@ -288,6 +296,10 @@
|
|||||||
},
|
},
|
||||||
//查看评价
|
//查看评价
|
||||||
golookrate(item) {
|
golookrate(item) {
|
||||||
|
console.log(item, '555')
|
||||||
|
if(item.orderStatus=="EVALUATED"){
|
||||||
|
this.show=false
|
||||||
|
}
|
||||||
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user