评价满意度
This commit is contained in:
parent
35735d3171
commit
4bfe8d7a1f
@ -509,7 +509,7 @@ import {
|
||||
} from "@/api/system/order";
|
||||
import { getListByUser } from "@/api/system/userlist.js";
|
||||
import baseurl from "@/api/baseurl.js";
|
||||
import { selectOrderEvaluate } from "@/api/system/goodsOrder";
|
||||
|
||||
export default {
|
||||
name: "order",
|
||||
data() {
|
||||
@ -680,13 +680,13 @@ export default {
|
||||
this.query = res.data[0];
|
||||
this.innerVisible4 = true;
|
||||
if (row.orderStatus == "EVALUATED") {
|
||||
selectOrderEvaluate(id).then((res) => {
|
||||
console.log(res.data)
|
||||
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;
|
||||
@ -695,7 +695,6 @@ export default {
|
||||
this.loading = false;
|
||||
this.innerVisible4 = true;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
this.loading = false;
|
||||
this.innerVisible4 = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user