评价满意度

This commit is contained in:
shidongli 2022-11-30 16:22:12 +08:00
parent d958c1a44f
commit 9b2e0c608a

View File

@ -184,15 +184,13 @@ export default {
}
});
this.query = res.data[0];
this.query.evaluateSatisfaction = null
if (row.orderStatus == 'EVALUATED') {
selectOrderEvaluate(id).then(res => {
if (res.data) {
if (res.data.evaluateSatisfaction == 'COMMONLY') {
if (res.data[0].evaluateSatisfaction == 'COMMONLY') {
this.query.evaluateSatisfaction = '一般'
} else if (res.data.evaluateSatisfaction == 'SATISFIED') {
} else if (res.data[0].evaluateSatisfaction == 'SATISFIED') {
this.query.evaluateSatisfaction = '满意'
} else if (res.data.evaluateSatisfaction == 'DISSATISFIED') {
} else if (res.data[0].evaluateSatisfaction == 'DISSATISFIED') {
this.query.evaluateSatisfaction = '不满意'
}
this.loading = false
@ -202,7 +200,7 @@ export default {
this.loading = false
this.innerVisible4 = true;
}
})
} else {
this.loading = false
this.innerVisible4 = true;