Commit 77f04d60 authored by XieZhiXiong's avatar XieZhiXiong

chore: 删除 部分检索条件

parent 68e28fea
......@@ -218,7 +218,6 @@ const MemberMaintain: React.FC<[]> = () => {
outerStatus = [],
memberTypes = [],
memberRoles = [],
memberLevels = [],
status = [],
} = data;
......@@ -242,7 +241,6 @@ const MemberMaintain: React.FC<[]> = () => {
outerStatus: outerStatus.map(item => ({ label: item.text, value: item.id })),
memberTypeId: memberTypes.map(item => ({ label: item.memberTypeName, value: item.memberTypeId })),
roleId: memberRoles.map(item => ({ label: item.roleName, value: item.roleId })),
level: memberLevels.map(item => ({ label: item.levelTag, value: item.level })),
};
}
return {};
......@@ -317,7 +315,7 @@ const MemberMaintain: React.FC<[]> = () => {
FORM_FILTER_PATH,
);
useAsyncInitSelect(
['memberTypeId', 'roleId', 'level', 'source', 'innerStatus', 'outerStatus'],
['memberTypeId', 'roleId', 'outerStatus'],
fetchSelectOptions,
);
}}
......
......@@ -62,30 +62,6 @@ export const importSchema: ISchema = {
},
},
},
level: {
type: 'string',
default: undefined,
enum: [],
'x-component-props': {
placeholder: '会员等级(全部)',
allowClear: true,
style: {
width: 160,
},
},
},
source: {
type: 'string',
default: undefined,
enum: [],
'x-component-props': {
placeholder: '申请来源(全部)',
allowClear: true,
style: {
width: 160,
},
},
},
outerStatus: {
type: 'string',
default: undefined,
......@@ -98,18 +74,6 @@ export const importSchema: ISchema = {
},
},
},
innerStatus: {
type: 'string',
default: undefined,
enum: [],
'x-component-props': {
placeholder: '内部状态(全部)',
allowClear: true,
style: {
width: 160,
},
},
},
'[startDate, endDate]': {
type: 'string',
default: '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment