Commit 8d93a17c authored by 前端-李俊鑫's avatar 前端-李俊鑫

fix: 移除商城规则选择适用会员时的会员类型筛选条件

parent 1e2b6648
...@@ -127,13 +127,13 @@ const MemberInfo: React.FC<Iprops> = (props) => { ...@@ -127,13 +127,13 @@ const MemberInfo: React.FC<Iprops> = (props) => {
}, },
}, },
properties: { properties: {
memberTypeId: { // memberTypeId: {
type: 'string', // type: 'string',
enum: [], // enum: [],
"x-component-props": { // "x-component-props": {
placeholder: '请选择会员类型', // placeholder: '请选择会员类型',
} // }
}, // },
roleId: { roleId: {
type: 'string', type: 'string',
enum: [], enum: [],
...@@ -196,10 +196,10 @@ const MemberInfo: React.FC<Iprops> = (props) => { ...@@ -196,10 +196,10 @@ const MemberInfo: React.FC<Iprops> = (props) => {
const res = await PublicApi.getMemberManagePlatformProviderPage(params) const res = await PublicApi.getMemberManagePlatformProviderPage(params)
const { code, data } = res const { code, data } = res
if (code === 1000) { if (code === 1000) {
let _data = data.data.map(item => ({ let _data = data.data.map(item => ({
...item, ...item,
memberName: item.name, memberName: item.name,
memberRoleId: item.memberId + '_' + item.roleId memberRoleId: item.memberId + '_' + item.roleId
})) }))
return { totalCount: data.totalCount, data: _data } return { totalCount: data.totalCount, data: _data }
} }
...@@ -282,7 +282,7 @@ const MemberInfo: React.FC<Iprops> = (props) => { ...@@ -282,7 +282,7 @@ const MemberInfo: React.FC<Iprops> = (props) => {
FORM_FILTER_PATH, FORM_FILTER_PATH,
); );
useAsyncInitSelect( useAsyncInitSelect(
['memberTypeId', 'roleId', 'level'], ['roleId', 'level'],
fetchSelectOptions, fetchSelectOptions,
); );
} }
......
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