Browse Source

更新储值卡搜索

tags/小炒逻辑变更前
yangwenhua 2 years ago
parent
commit
5bb38eb4b5
1 changed files with 7 additions and 6 deletions
  1. +7
    -6
      src/pages/card/storedValueCard/index.jsx

+ 7
- 6
src/pages/card/storedValueCard/index.jsx View File

@@ -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,


Loading…
Cancel
Save