|
@@ -57,6 +57,32 @@ class DepartmentStatistics extends Component {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
+ title: "私有领取数",
|
|
|
+ dataIndex: "receiveCount",
|
|
|
+ key: "receiveCount",
|
|
|
+ className: 'tableRowStyle',
|
|
|
+ width: 120,
|
|
|
+ render: (text, record) => {
|
|
|
+ return (
|
|
|
+ <div
|
|
|
+ className={record.aid ? 'receiveCount' : ''}
|
|
|
+ onClick={(e) => {
|
|
|
+ if (record.aid) {
|
|
|
+ e.stopPropagation();
|
|
|
+ this.setState({
|
|
|
+ customerVisible: true,
|
|
|
+ aName: record.aName,
|
|
|
+ aid: record.aid,
|
|
|
+ type: 7,
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }}>
|
|
|
+ {text}
|
|
|
+ </div>
|
|
|
+ );
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
title: "外联数",
|
|
|
dataIndex: "channelCount",
|
|
|
key: "channelCount",
|
|
@@ -212,32 +238,6 @@ class DepartmentStatistics extends Component {
|
|
|
);
|
|
|
},
|
|
|
},
|
|
|
- {
|
|
|
- title: "私有领取数",
|
|
|
- dataIndex: "receiveCount",
|
|
|
- key: "receiveCount",
|
|
|
- className: 'tableRowStyle',
|
|
|
- width: 120,
|
|
|
- render: (text, record) => {
|
|
|
- return (
|
|
|
- <div
|
|
|
- className={record.aid ? 'receiveCount' : ''}
|
|
|
- onClick={(e) => {
|
|
|
- if (record.aid) {
|
|
|
- e.stopPropagation();
|
|
|
- this.setState({
|
|
|
- customerVisible: true,
|
|
|
- aName: record.aName,
|
|
|
- aid: record.aid,
|
|
|
- type: 7,
|
|
|
- })
|
|
|
- }
|
|
|
- }}>
|
|
|
- {text}
|
|
|
- </div>
|
|
|
- );
|
|
|
- },
|
|
|
- },
|
|
|
],
|
|
|
contactsOption: null,
|
|
|
loading: false,
|