fix(api): 修正更新隐私协议的API路径格式

feat(ui): 在顶部导航栏添加客服按钮及样式
添加客服按钮功能,包括获取IM链接和用户信息验证

refactor(order): 重构分销订单状态显示逻辑
统一订单状态显示为"未完成"、"完成"和"退款",并调整对应颜色
This commit is contained in:
pikachu1995@126.com
2025-11-23 16:30:41 +08:00
parent 5f6eb6a26d
commit 756cb28daa
5 changed files with 66 additions and 18 deletions

View File

@@ -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" } }, "未完成");
}
},