mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-20 18:05:53 +08:00
@@ -90,23 +90,19 @@ export default {
|
||||
{
|
||||
title: "会员名称",
|
||||
key: "memberName",
|
||||
minWidth: 200,
|
||||
minWidth: 120,
|
||||
tooltip: true,
|
||||
},
|
||||
{
|
||||
title: "推广单数",
|
||||
key: "distributionOrderCount",
|
||||
minWidth: 200,
|
||||
},
|
||||
{
|
||||
title: "推广人数",
|
||||
key: "peopleNum",
|
||||
minWidth: 200,
|
||||
minWidth: 120,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: "分销金额",
|
||||
key: "rebateTotal",
|
||||
minWidth: 200,
|
||||
width: 150,
|
||||
sortable: false,
|
||||
render: (h, params) => {
|
||||
return h("priceColorScheme", {props:{value:params.row.rebateTotal,color:this.$mainColor}} );
|
||||
@@ -114,9 +110,9 @@ export default {
|
||||
|
||||
},
|
||||
{
|
||||
title: "可提现金额",
|
||||
title: "可用金额",
|
||||
key: "canRebate",
|
||||
minWidth: 200,
|
||||
width: 150,
|
||||
sortable: false,
|
||||
render: (h, params) => {
|
||||
return h("priceColorScheme", {props:{value:params.row.canRebate,color:'green'}} );
|
||||
@@ -125,7 +121,7 @@ export default {
|
||||
{
|
||||
title: "冻结金额",
|
||||
key: "commissionFrozen",
|
||||
minWidth: 200,
|
||||
width: 150,
|
||||
sortable: false,
|
||||
render: (h, params) => {
|
||||
return h("priceColorScheme", {props:{value:params.row.commissionFrozen,color:'#347dda'}} );
|
||||
@@ -134,7 +130,7 @@ export default {
|
||||
{
|
||||
title: "状态",
|
||||
key: "distributionStatus",
|
||||
minWidth: 200,
|
||||
width: 150,
|
||||
sortable: false,
|
||||
render: (h, params) => {
|
||||
if (params.row.distributionStatus == "PASS") {
|
||||
@@ -153,7 +149,7 @@ export default {
|
||||
key: "action",
|
||||
align: "center",
|
||||
fixed: "right",
|
||||
minWidth: 200,
|
||||
width: 140,
|
||||
render: (h, params) => {
|
||||
return h(
|
||||
"div",
|
||||
@@ -163,42 +159,7 @@ export default {
|
||||
justifyContent: "center",
|
||||
},
|
||||
},
|
||||
[h(
|
||||
"Button",
|
||||
{
|
||||
props: {
|
||||
type: "success",
|
||||
size: "small",
|
||||
},
|
||||
style: {
|
||||
marginRight: "5px",
|
||||
},
|
||||
on: {
|
||||
click: () => {
|
||||
this.memberList(params.row);
|
||||
},
|
||||
},
|
||||
},
|
||||
"下级用户"
|
||||
),
|
||||
h(
|
||||
"Button",
|
||||
{
|
||||
props: {
|
||||
type: "info",
|
||||
size: "small",
|
||||
},
|
||||
style: {
|
||||
marginRight: "5px",
|
||||
},
|
||||
on: {
|
||||
click: () => {
|
||||
this.groupList(params.row);
|
||||
},
|
||||
},
|
||||
},
|
||||
"团队列表"
|
||||
),
|
||||
[
|
||||
h(
|
||||
"Button",
|
||||
{
|
||||
@@ -253,14 +214,6 @@ export default {
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
//团队列表
|
||||
groupList(row){
|
||||
this.$router.push({ name: "group-list", query: { id: row.id } });
|
||||
},
|
||||
memberList(row){
|
||||
this.$router.push({ name: "distribution-member", query: { id: row.id } });
|
||||
|
||||
},
|
||||
// 初始化数据
|
||||
init() {
|
||||
this.getDataList();
|
||||
|
||||
Reference in New Issue
Block a user