Commit 889bdd0a authored by XieZhiXiong's avatar XieZhiXiong

替换会员类型字段名称

parent 380734c0
...@@ -245,7 +245,7 @@ const MemberMaintain: React.FC<[]> = () => { ...@@ -245,7 +245,7 @@ const MemberMaintain: React.FC<[]> = () => {
return { return {
outerStatus: outerStatus.map(item => ({ label: item.text, value: item.id })), outerStatus: outerStatus.map(item => ({ label: item.text, value: item.id })),
memberType: memberTypes.map(item => ({ label: item.memberTypeName, value: item.memberTypeId })), memberTypeId: memberTypes.map(item => ({ label: item.memberTypeName, value: item.memberTypeId })),
roleId: memberRoles.map(item => ({ label: item.roleName, value: item.roleId })), roleId: memberRoles.map(item => ({ label: item.roleName, value: item.roleId })),
level: memberLevels.map(item => ({ label: item.levelTag, value: item.level })), level: memberLevels.map(item => ({ label: item.levelTag, value: item.level })),
}; };
...@@ -299,7 +299,7 @@ const MemberMaintain: React.FC<[]> = () => { ...@@ -299,7 +299,7 @@ const MemberMaintain: React.FC<[]> = () => {
FORM_FILTER_PATH, FORM_FILTER_PATH,
); );
useAsyncInitSelect( useAsyncInitSelect(
['memberType', 'roleId', 'level', 'source', 'innerStatus', 'outerStatus'], ['memberTypeId', 'roleId', 'level', 'source', 'innerStatus', 'outerStatus'],
fetchSelectOptions, fetchSelectOptions,
); );
}} }}
......
...@@ -42,7 +42,7 @@ export const importSchema: ISchema = { ...@@ -42,7 +42,7 @@ export const importSchema: ISchema = {
}, },
}, },
properties: { properties: {
memberType: { memberTypeId: {
type: 'string', type: 'string',
default: undefined, default: undefined,
enum: [], enum: [],
......
...@@ -199,7 +199,7 @@ const MemberMaintain: React.FC<[]> = () => { ...@@ -199,7 +199,7 @@ const MemberMaintain: React.FC<[]> = () => {
setColumns(newColumns); setColumns(newColumns);
return { return {
memberType: memberTypes.map(item => ({ label: item.memberTypeName, value: item.memberTypeId })), memberTypeId: memberTypes.map(item => ({ label: item.memberTypeName, value: item.memberTypeId })),
roleId: memberRoles.map(item => ({ label: item.roleName, value: item.roleId })), roleId: memberRoles.map(item => ({ label: item.roleName, value: item.roleId })),
level: memberLevels.map(item => ({ label: item.levelTag, value: item.level })), level: memberLevels.map(item => ({ label: item.levelTag, value: item.level })),
source: sources.map(item => ({ label: item.text, value: item.id })), source: sources.map(item => ({ label: item.text, value: item.id })),
...@@ -232,7 +232,7 @@ const MemberMaintain: React.FC<[]> = () => { ...@@ -232,7 +232,7 @@ const MemberMaintain: React.FC<[]> = () => {
FORM_FILTER_PATH, FORM_FILTER_PATH,
); );
useAsyncInitSelect( useAsyncInitSelect(
['memberType', 'roleId', 'level', 'source', 'innerStatus', 'outerStatus', 'status'], ['memberTypeId', 'roleId', 'level', 'source', 'innerStatus', 'outerStatus', 'status'],
fetchSelectOptions, fetchSelectOptions,
); );
}} }}
......
...@@ -27,7 +27,7 @@ export const maintianSchema: ISchema = { ...@@ -27,7 +27,7 @@ export const maintianSchema: ISchema = {
columns: 6, columns: 6,
}, },
properties: { properties: {
memberType: { memberTypeId: {
type: 'string', type: 'string',
default: undefined, default: undefined,
enum: [], enum: [],
......
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