秒杀活动,状态展示

This commit is contained in:
lifenlong
2021-06-23 15:22:07 +08:00
parent c326431407
commit 6d94b6fbdc
5 changed files with 27 additions and 78 deletions

View File

@@ -80,7 +80,7 @@ export default {
{
title: "订单号",
key: "sn",
minWidth: 240,
minWidth: 200,
tooltip: true,
},
{
@@ -95,7 +95,7 @@ export default {
} else if (params.row.clientType == "WECHAT_MP") {
return h("div", {}, "小程序端");
} else if (params.row.clientType == "APP") {
return h("div", {}, "移动应用端");
return h("div", {}, "APP端");
} else {
return h("div", {}, params.row.clientType);
}
@@ -145,11 +145,8 @@ export default {
{
title: "下单时间",
key: "createTime",
width: 170,
sortable: true,
sortType: "desc",
width: 170
},
{
title: "操作",
key: "action",

View File

@@ -105,13 +105,13 @@ export default {
color = "default";
if (params.row.promotionStatus == "NEW") {
text = "未开始";
color = "default";
color = "geekblue";
} else if (params.row.promotionStatus == "START") {
text = "已开始";
color = "green";
} else if (params.row.promotionStatus == "END") {
text = "已结束";
color = "red";
color = "volcano";
} else if (params.row.promotionStatus == "CLOSE") {
text = "已关闭";
color = "red";