|
@@ -28,16 +28,16 @@ const columns = [
|
28
|
28
|
},
|
29
|
29
|
{
|
30
|
30
|
title: '电话',
|
31
|
|
- dataIndex: 'phone',
|
|
31
|
+ dataIndex: 'tel',
|
32
|
32
|
key: 'tel',
|
33
|
|
- align: 'phone',
|
|
33
|
+ align: 'center',
|
34
|
34
|
},
|
35
|
35
|
{
|
36
|
36
|
title: '性别',
|
37
|
37
|
dataIndex: 'sex',
|
38
|
38
|
key: 'sex',
|
39
|
39
|
align: 'center',
|
40
|
|
- render: (text, record) => <a>{ record.gender === 1 ? '男' : '女' }</a>,
|
|
40
|
+ render: (text, record) => <a style={ { color: '#66B3FF' } } >{ record.sex === 1 ? '男' : '女' }</a>,
|
41
|
41
|
},
|
42
|
42
|
];
|
43
|
43
|
const header = props => {
|