|
@@ -92,8 +92,8 @@ const consultant = props => {
|
92
|
92
|
align: 'center',
|
93
|
93
|
sorter: true,
|
94
|
94
|
|
95
|
|
- render: (txt, record, index) =>
|
96
|
|
- index ? clickCon(txt, record, 'totalPersons') : <strong>{txt}</strong>,
|
|
95
|
+ // render: (txt, record, index) =>
|
|
96
|
+ // index ? clickCon(txt, record, 'totalPersons') : <strong>{txt}</strong>,
|
97
|
97
|
},
|
98
|
98
|
{
|
99
|
99
|
title: '新增客户',
|
|
@@ -102,8 +102,8 @@ const consultant = props => {
|
102
|
102
|
align: 'center',
|
103
|
103
|
sorter: true,
|
104
|
104
|
|
105
|
|
- render: (txt, record, index) =>
|
106
|
|
- index ? clickCon(txt, record, 'newPersons') : <strong>{txt}</strong>,
|
|
105
|
+ // render: (txt, record, index) =>
|
|
106
|
+ // index ? clickCon(txt, record, 'newPersons') : <strong>{txt}</strong>,
|
107
|
107
|
},
|
108
|
108
|
{
|
109
|
109
|
title: '分享次数',
|
|
@@ -112,8 +112,8 @@ const consultant = props => {
|
112
|
112
|
align: 'center',
|
113
|
113
|
sorter: true,
|
114
|
114
|
|
115
|
|
- render: (txt, record, index) =>
|
116
|
|
- index ? clickCon(txt, record, 'shareNum') : <strong>{txt}</strong>,
|
|
115
|
+ // render: (txt, record, index) =>
|
|
116
|
+ // index ? clickCon(txt, record, 'shareNum') : <strong>{txt}</strong>,
|
117
|
117
|
},
|
118
|
118
|
{
|
119
|
119
|
title: '分享访问人数',
|
|
@@ -122,70 +122,70 @@ const consultant = props => {
|
122
|
122
|
align: 'center',
|
123
|
123
|
sorter: true,
|
124
|
124
|
|
125
|
|
- render: (txt, record, index) =>
|
126
|
|
- index ? clickCon(txt, record, 'visitPersons') : <strong>{txt}</strong>,
|
|
125
|
+ // render: (txt, record, index) =>
|
|
126
|
+ // index ? clickCon(txt, record, 'visitPersons') : <strong>{txt}</strong>,
|
127
|
127
|
},
|
128
|
|
- {
|
129
|
|
- title: '分享访问次数',
|
130
|
|
- dataIndex: 'visitNum',
|
131
|
|
- key: 'visitNum',
|
132
|
|
- align: 'center',
|
133
|
|
- sorter: true,
|
|
128
|
+ // {
|
|
129
|
+ // title: '分享访问次数',
|
|
130
|
+ // dataIndex: 'visitNum',
|
|
131
|
+ // key: 'visitNum',
|
|
132
|
+ // align: 'center',
|
|
133
|
+ // sorter: true,
|
134
|
134
|
|
135
|
|
- render: (txt, record, index) =>
|
136
|
|
- index ? clickCon(txt, record, 'visitNum') : <strong>{txt}</strong>,
|
137
|
|
- },
|
|
135
|
+ // render: (txt, record, index) =>
|
|
136
|
+ // index ? clickCon(txt, record, 'visitNum') : <strong>{txt}</strong>,
|
|
137
|
+ // },
|
138
|
138
|
|
139
|
|
- {
|
140
|
|
- title: '分享拓客',
|
141
|
|
- dataIndex: 'sharePersons',
|
142
|
|
- key: 'sharePersons',
|
143
|
|
- align: 'center',
|
144
|
|
- sorter: true,
|
|
139
|
+ // {
|
|
140
|
+ // title: '分享拓客',
|
|
141
|
+ // dataIndex: 'sharePersons',
|
|
142
|
+ // key: 'sharePersons',
|
|
143
|
+ // align: 'center',
|
|
144
|
+ // sorter: true,
|
145
|
145
|
|
146
|
|
- render: (txt, record, index) =>
|
147
|
|
- index ? clickCon(txt, record, 'sharePersons') : <strong>{txt}</strong>,
|
148
|
|
- },
|
149
|
|
- {
|
150
|
|
- title: '主页访问人数',
|
151
|
|
- dataIndex: 'homePagePersons',
|
152
|
|
- key: 'homePagePersons',
|
153
|
|
- align: 'center',
|
154
|
|
- sorter: true,
|
|
146
|
+ // render: (txt, record, index) =>
|
|
147
|
+ // index ? clickCon(txt, record, 'sharePersons') : <strong>{txt}</strong>,
|
|
148
|
+ // },
|
|
149
|
+ // {
|
|
150
|
+ // title: '主页访问人数',
|
|
151
|
+ // dataIndex: 'homePagePersons',
|
|
152
|
+ // key: 'homePagePersons',
|
|
153
|
+ // align: 'center',
|
|
154
|
+ // sorter: true,
|
155
|
155
|
|
156
|
|
- render: (txt, record, index) =>
|
157
|
|
- index ? clickCon(txt, record, 'homePagePersons') : <strong>{txt}</strong>,
|
158
|
|
- },
|
159
|
|
- {
|
160
|
|
- title: '主页访问次数',
|
161
|
|
- dataIndex: 'homePageNums',
|
162
|
|
- key: 'homePageNums',
|
163
|
|
- align: 'center',
|
164
|
|
- sorter: true,
|
|
156
|
+ // render: (txt, record, index) =>
|
|
157
|
+ // index ? clickCon(txt, record, 'homePagePersons') : <strong>{txt}</strong>,
|
|
158
|
+ // },
|
|
159
|
+ // {
|
|
160
|
+ // title: '主页访问次数',
|
|
161
|
+ // dataIndex: 'homePageNums',
|
|
162
|
+ // key: 'homePageNums',
|
|
163
|
+ // align: 'center',
|
|
164
|
+ // sorter: true,
|
165
|
165
|
|
166
|
|
- render: (txt, record, index) =>
|
167
|
|
- index ? clickCon(txt, record, 'homePageNums') : <strong>{txt}</strong>,
|
168
|
|
- },
|
169
|
|
- {
|
170
|
|
- title: '咨询数',
|
171
|
|
- dataIndex: 'chatPersons',
|
172
|
|
- key: 'chatPersons',
|
173
|
|
- align: 'center',
|
174
|
|
- sorter: true,
|
|
166
|
+ // render: (txt, record, index) =>
|
|
167
|
+ // index ? clickCon(txt, record, 'homePageNums') : <strong>{txt}</strong>,
|
|
168
|
+ // },
|
|
169
|
+ // {
|
|
170
|
+ // title: '咨询数',
|
|
171
|
+ // dataIndex: 'chatPersons',
|
|
172
|
+ // key: 'chatPersons',
|
|
173
|
+ // align: 'center',
|
|
174
|
+ // sorter: true,
|
175
|
175
|
|
176
|
|
- render: (txt, record, index) =>
|
177
|
|
- index ? clickCon(txt, record, 'chatPersons') : <strong>{txt}</strong>,
|
178
|
|
- },
|
179
|
|
- {
|
180
|
|
- title: '点赞数',
|
181
|
|
- dataIndex: 'favorNum',
|
182
|
|
- key: 'favorNum',
|
183
|
|
- align: 'center',
|
184
|
|
- sorter: true,
|
|
176
|
+ // render: (txt, record, index) =>
|
|
177
|
+ // index ? clickCon(txt, record, 'chatPersons') : <strong>{txt}</strong>,
|
|
178
|
+ // },
|
|
179
|
+ // {
|
|
180
|
+ // title: '点赞数',
|
|
181
|
+ // dataIndex: 'favorNum',
|
|
182
|
+ // key: 'favorNum',
|
|
183
|
+ // align: 'center',
|
|
184
|
+ // sorter: true,
|
185
|
185
|
|
186
|
|
- render: (txt, record, index) =>
|
187
|
|
- index ? clickCon(txt, record, 'favorNum') : <strong>{txt}</strong>,
|
188
|
|
- },
|
|
186
|
+ // render: (txt, record, index) =>
|
|
187
|
+ // index ? clickCon(txt, record, 'favorNum') : <strong>{txt}</strong>,
|
|
188
|
+ // },
|
189
|
189
|
];
|
190
|
190
|
|
191
|
191
|
const toAddVisitNum = record => {
|
|
@@ -276,18 +276,17 @@ const consultant = props => {
|
276
|
276
|
headStyle={{ textAlign: 'left' }}
|
277
|
277
|
extra={<TimeSelect onChange={onTimeChange}></TimeSelect>}
|
278
|
278
|
>
|
279
|
|
- <div>
|
|
279
|
+ {/* <div>
|
280
|
280
|
<AuthButton name="admin.statistical.consultant.export" noRight={null}>
|
281
|
281
|
<Button
|
282
|
282
|
type="primary"
|
283
|
283
|
onClick={exportRecord}
|
284
|
|
- // loading={btnloading}
|
285
|
284
|
style={{ float: 'right', margin: '20px 23px 20px 0', zIndex: 1 }}
|
286
|
285
|
>
|
287
|
286
|
导出
|
288
|
287
|
</Button>
|
289
|
288
|
</AuthButton>
|
290
|
|
- </div>
|
|
289
|
+ </div> */}
|
291
|
290
|
<Table
|
292
|
291
|
rowKey={record => data.current * data.size + row++}
|
293
|
292
|
style={{ marginTop: '30px' }}
|