|
|
|
@ -141,39 +141,56 @@ class CustomerServices {
|
|
|
|
|
agentListColumns = [
|
|
|
|
|
{
|
|
|
|
|
title: '地接社名称',
|
|
|
|
|
dataIndex: 'VendorName'
|
|
|
|
|
dataIndex: 'VendorName',
|
|
|
|
|
render: (text) => <a>{text}</a>
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '团数',
|
|
|
|
|
dataIndex: 'GroupCount'
|
|
|
|
|
dataIndex: 'GroupCount',
|
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
|
sorter: (a, b) => a.GroupCount - b.GroupCount
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '人数',
|
|
|
|
|
dataIndex: 'PersonNum'
|
|
|
|
|
dataIndex: 'PersonNum',
|
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
|
sorter: (a, b) => a.PersonNum - b.PersonNum
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '团天数',
|
|
|
|
|
dataIndex: 'GroupDays'
|
|
|
|
|
dataIndex: 'GroupDays',
|
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
|
sorter: (a, b) => a.GroupDays - b.GroupDays
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '交易额',
|
|
|
|
|
dataIndex: 'totalcost'
|
|
|
|
|
dataIndex: 'totalcost',
|
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
|
sorter: (a, b) => a.totalcost - b.totalcost
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '好评数',
|
|
|
|
|
dataIndex: 'GoodCount'
|
|
|
|
|
dataIndex: 'GoodCount',
|
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
|
sorter: (a, b) => a.GoodCount - b.GoodCount
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '好评率',
|
|
|
|
|
dataIndex: 'GoodRate'
|
|
|
|
|
dataIndex: 'GoodRate',
|
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
|
sorter: (a, b) => parseInt(a.GoodRate) - parseInt(b.GoodRate)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '差评数',
|
|
|
|
|
dataIndex: 'BadCount'
|
|
|
|
|
dataIndex: 'BadCount',
|
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
|
sorter: (a, b) => a.BadCount - b.BadCount
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '差评率',
|
|
|
|
|
dataIndex: 'BadRate'
|
|
|
|
|
dataIndex: 'BadRate',
|
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
|
sorter: (a, b) => parseInt(a.BadRate) - parseInt(b.BadRate)
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|