mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-20 18:05:53 +08:00
fix(api): 修正更新隐私协议的API路径格式
feat(ui): 在顶部导航栏添加客服按钮及样式 添加客服按钮功能,包括获取IM链接和用户信息验证 refactor(order): 重构分销订单状态显示逻辑 统一订单状态显示为"未完成"、"完成"和"退款",并调整对应颜色
This commit is contained in:
@@ -63,16 +63,14 @@ export default {
|
||||
width: 100,
|
||||
sortable: false,
|
||||
render: (h, params) => {
|
||||
if (params.row.distributionOrderStatus == "COMPLETE_CASH") {
|
||||
return h("Tag", { props: { color: "green" } },"提现完成");
|
||||
} else if (params.row.distributionOrderStatus == "WAIT_BILL") {
|
||||
return h("Tag", { props: { color: "blue" } } ,"待结算");
|
||||
} else if (params.row.distributionOrderStatus == "WAIT_CASH") {
|
||||
return h("Tag", { props: { color: "orange" } }, "待提现");
|
||||
} else if (params.row.distributionOrderStatus == "CANCEL") {
|
||||
return h("Tag", { props: { color: "red" } }, "订单已取消");
|
||||
}else if (params.row.distributionOrderStatus == "REFUND") {
|
||||
return h("Tag", { props: { color: "magenta" } }, "退款");
|
||||
if (params.row.distributionOrderStatus == "NO_COMPLETED") {
|
||||
return h("Tag", { props: { color: "orange" } }, "未完成");
|
||||
} else if (params.row.distributionOrderStatus == "COMPLETE") {
|
||||
return h("Tag", { props: { color: "green" } }, "完成");
|
||||
} else if (params.row.distributionOrderStatus == "REFUND") {
|
||||
return h("Tag", { props: { color: "red" } }, "退款");
|
||||
} else {
|
||||
return h("Tag", { props: { color: "orange" } }, "未完成");
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user