|
|
@@ -128,6 +128,7 @@ const storedValueCard = () => { |
|
|
|
title: '会员名称', |
|
|
|
dataIndex: 'memberName', |
|
|
|
ellipsis: true, |
|
|
|
hideInSearch: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '会员头像', |
|
|
@@ -135,6 +136,7 @@ const storedValueCard = () => { |
|
|
|
ellipsis: true, |
|
|
|
width: 100, |
|
|
|
align: 'center', |
|
|
|
hideInSearch: true, |
|
|
|
render: (text, record) => { |
|
|
|
return <Avatar size={64} shape="square" icon={<UserOutlined />} src={record.headImgUrl} /> |
|
|
|
} |
|
|
@@ -143,11 +145,13 @@ const storedValueCard = () => { |
|
|
|
title: '会员电话', |
|
|
|
dataIndex: 'phone', |
|
|
|
ellipsis: true, |
|
|
|
hideInSearch: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '状态', |
|
|
|
dataIndex: 'state', |
|
|
|
valueType: 'select', |
|
|
|
hideInSearch: true, |
|
|
|
valueEnum: { |
|
|
|
0: { |
|
|
|
text: '禁用', |
|
|
@@ -171,6 +175,7 @@ const storedValueCard = () => { |
|
|
|
title: '类型', |
|
|
|
dataIndex: 'type', |
|
|
|
valueType: 'select', |
|
|
|
hideInSearch: true, |
|
|
|
valueEnum: { |
|
|
|
1: { |
|
|
|
text: '人脸', |
|
|
@@ -237,11 +242,8 @@ const storedValueCard = () => { |
|
|
|
columns={columns} |
|
|
|
actionRef={actionRef} |
|
|
|
request={ |
|
|
|
async () => { |
|
|
|
const response = await cardAPI.GetMemberCardPageList({ |
|
|
|
current, |
|
|
|
pageSize |
|
|
|
}); |
|
|
|
async (values) => { |
|
|
|
const response = await cardAPI.GetMemberCardPageList(values); |
|
|
|
return { |
|
|
|
data: response.data.data, |
|
|
|
success: true, |
|
|
@@ -254,7 +256,6 @@ const storedValueCard = () => { |
|
|
|
type: 'multiple', |
|
|
|
}} |
|
|
|
rowKey="id" |
|
|
|
search={false} |
|
|
|
options={{ |
|
|
|
setting: { |
|
|
|
listsHeight: 400, |
|
|
|