|
@@ -90,10 +90,10 @@ function record(props) {
|
90
|
90
|
},
|
91
|
91
|
{
|
92
|
92
|
title: '性别',
|
93
|
|
- dataIndex: 'sex',
|
94
|
|
- key: 'sex',
|
|
93
|
+ dataIndex: 'gender',
|
|
94
|
+ key: 'gender',
|
95
|
95
|
align: 'center',
|
96
|
|
- render: (_, record) => <span>{record.sex === 1 ? '男' : record.sex === 2 ? '女' : '未知'}</span>,
|
|
96
|
+ render: (_, record) => <span>{record.gender == 1 ? '男' : record.gender == 2 ? '女' : '未知'}</span>,
|
97
|
97
|
},
|
98
|
98
|
{
|
99
|
99
|
title: '访问次数',
|
|
@@ -128,9 +128,9 @@ function record(props) {
|
128
|
128
|
<Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current} />
|
129
|
129
|
</div>
|
130
|
130
|
<Prompt message={location =>
|
131
|
|
- location.pathname.startsWith("/statistical/consultant")
|
132
|
|
- ? true
|
133
|
|
- : localStorage.removeItem("consultantPageParams")} />
|
|
131
|
+ location.pathname.startsWith("/statistical/consultant")
|
|
132
|
+ ? true
|
|
133
|
+ : localStorage.removeItem("consultantPageParams")} />
|
134
|
134
|
</>
|
135
|
135
|
)
|
136
|
136
|
}
|