评价满意度
This commit is contained in:
parent
d958c1a44f
commit
9b2e0c608a
@ -184,15 +184,13 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.query = res.data[0];
|
this.query = res.data[0];
|
||||||
this.query.evaluateSatisfaction = null
|
|
||||||
if (row.orderStatus == 'EVALUATED') {
|
if (row.orderStatus == 'EVALUATED') {
|
||||||
selectOrderEvaluate(id).then(res => {
|
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
if (res.data.evaluateSatisfaction == 'COMMONLY') {
|
if (res.data[0].evaluateSatisfaction == 'COMMONLY') {
|
||||||
this.query.evaluateSatisfaction = '一般'
|
this.query.evaluateSatisfaction = '一般'
|
||||||
} else if (res.data.evaluateSatisfaction == 'SATISFIED') {
|
} else if (res.data[0].evaluateSatisfaction == 'SATISFIED') {
|
||||||
this.query.evaluateSatisfaction = '满意'
|
this.query.evaluateSatisfaction = '满意'
|
||||||
} else if (res.data.evaluateSatisfaction == 'DISSATISFIED') {
|
} else if (res.data[0].evaluateSatisfaction == 'DISSATISFIED') {
|
||||||
this.query.evaluateSatisfaction = '不满意'
|
this.query.evaluateSatisfaction = '不满意'
|
||||||
}
|
}
|
||||||
this.loading = false
|
this.loading = false
|
||||||
@ -202,7 +200,7 @@ export default {
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
this.innerVisible4 = true;
|
this.innerVisible4 = true;
|
||||||
}
|
}
|
||||||
})
|
|
||||||
} else {
|
} else {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.innerVisible4 = true;
|
this.innerVisible4 = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user