diff --git a/manager/src/views/member/list/memberDetail.vue b/manager/src/views/member/list/memberDetail.vue index e52aebca..ccdd938f 100644 --- a/manager/src/views/member/list/memberDetail.vue +++ b/manager/src/views/member/list/memberDetail.vue @@ -502,7 +502,20 @@ { title: "来源", key: "clientType", - width: 80, + width: 80,render: (h, params) => { + if (params.row.clientType == "H5") { + return h("div",{},"移动端"); + }else if(params.row.clientType == "PC") { + return h("div",{},"PC端"); + }else if(params.row.clientType == "WECHAT_MP") { + return h("div",{},"小程序端"); + }else if(params.row.clientType == "APP") { + return h("div",{},"移动应用端"); + } + else{ + return h("div",{},params.row.clientType); + } + }, }, { title: "订单状态", diff --git a/seller/src/views/order/order/orderList.vue b/seller/src/views/order/order/orderList.vue index da83e39b..fa3a2274 100644 --- a/seller/src/views/order/order/orderList.vue +++ b/seller/src/views/order/order/orderList.vue @@ -126,6 +126,20 @@ title: "订单来源", key: "clientType", width: 120, + render: (h, params) => { + if (params.row.clientType == "H5") { + return h("div",{},"移动端"); + }else if(params.row.clientType == "PC") { + return h("div",{},"PC端"); + }else if(params.row.clientType == "WECHAT_MP") { + return h("div",{},"小程序端"); + }else if(params.row.clientType == "APP") { + return h("div",{},"移动应用端"); + } + else{ + return h("div",{},params.row.clientType); + } + }, }, { title: "订单类型",