已评价

This commit is contained in:
闫晓茹 2022-11-20 16:06:06 +08:00
parent b270c12684
commit 3464ee6ba0
4 changed files with 58 additions and 38 deletions

View File

@ -105,6 +105,9 @@
<el-button type="danger" v-if="scope.row.orderStatus == 'REFUNDED'" <el-button type="danger" v-if="scope.row.orderStatus == 'REFUNDED'"
>退款成功</el-button >退款成功</el-button
> >
<el-button type="warning" v-if="scope.row.orderStatus == 'EVALUATED'"
>已评价</el-button
>
<el-button <el-button
type="danger" type="danger"
v-if="scope.row.orderStatus == 'RETURNED_GOODS'" v-if="scope.row.orderStatus == 'RETURNED_GOODS'"

View File

@ -60,6 +60,11 @@ export default {
value: "REFUNDED", value: "REFUNDED",
label: "退款成功", label: "退款成功",
}, },
{
value: "EVALUATED",
label: "已评价",
},
], ],
// 遮罩层 // 遮罩层
loading: true, loading: true,
@ -189,6 +194,9 @@ export default {
return "待退货"; return "待退货";
case "RETURNED_GOODS": case "RETURNED_GOODS":
return "已退货"; return "已退货";
case "EVALUATED":
return "已评价";
default: default:
break; break;
} }

View File

@ -102,6 +102,9 @@
<el-button type="warning" v-if="scope.row.orderStatus == 'REFUNDED'" <el-button type="warning" v-if="scope.row.orderStatus == 'REFUNDED'"
>退款成功</el-button >退款成功</el-button
> >
<el-button type="warning" v-if="scope.row.orderStatus == 'EVALUATED'"
>已评价</el-button
>
<el-button type="danger" v-if="scope.row.orderStatus == 'CANCEL'" <el-button type="danger" v-if="scope.row.orderStatus == 'CANCEL'"
>已取消</el-button >已取消</el-button
> >

View File

@ -48,6 +48,10 @@ export default {
value: "NOT_FINISH", value: "NOT_FINISH",
label: "未完成", label: "未完成",
}, },
{
value: "EVALUATED",
label: "已评价",
},
], ],
value: "", value: "",
// 遮罩层 // 遮罩层
@ -159,6 +163,8 @@ export default {
return "退款中"; return "退款中";
case "CANCEL": case "CANCEL":
return "已取消"; return "已取消";
case "EVALUATED":
return "已评价";
case "REFUNDED": case "REFUNDED":
return "已退款"; return "已退款";
default: default:
@ -322,7 +328,7 @@ export default {
this.getList(); this.getList();
}); });
}) })
.catch(() => {}); .catch(() => { });
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {