Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
889bdd0a
Commit
889bdd0a
authored
Sep 12, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
替换会员类型字段名称
parent
380734c0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
index.tsx
src/pages/member/memberImport/index.tsx
+2
-2
index.tsx
src/pages/member/memberImport/schema/index.tsx
+1
-1
index.tsx
src/pages/member/memberMaintain/index.tsx
+2
-2
index.tsx
src/pages/member/memberMaintain/schema/index.tsx
+1
-1
No files found.
src/pages/member/memberImport/index.tsx
View file @
889bdd0a
...
@@ -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
})),
memberType
Id
:
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'
],
[
'memberType
Id
'
,
'roleId'
,
'level'
,
'source'
,
'innerStatus'
,
'outerStatus'
],
fetchSelectOptions
,
fetchSelectOptions
,
);
);
}
}
}
}
...
...
src/pages/member/memberImport/schema/index.tsx
View file @
889bdd0a
...
@@ -42,7 +42,7 @@ export const importSchema: ISchema = {
...
@@ -42,7 +42,7 @@ export const importSchema: ISchema = {
},
},
},
},
properties
:
{
properties
:
{
memberType
:
{
memberType
Id
:
{
type
:
'string'
,
type
:
'string'
,
default
:
undefined
,
default
:
undefined
,
enum
:
[],
enum
:
[],
...
...
src/pages/member/memberMaintain/index.tsx
View file @
889bdd0a
...
@@ -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
})),
memberType
Id
:
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'
],
[
'memberType
Id
'
,
'roleId'
,
'level'
,
'source'
,
'innerStatus'
,
'outerStatus'
,
'status'
],
fetchSelectOptions
,
fetchSelectOptions
,
);
);
}
}
}
}
...
...
src/pages/member/memberMaintain/schema/index.tsx
View file @
889bdd0a
...
@@ -27,7 +27,7 @@ export const maintianSchema: ISchema = {
...
@@ -27,7 +27,7 @@ export const maintianSchema: ISchema = {
columns
:
6
,
columns
:
6
,
},
},
properties
:
{
properties
:
{
memberType
:
{
memberType
Id
:
{
type
:
'string'
,
type
:
'string'
,
default
:
undefined
,
default
:
undefined
,
enum
:
[],
enum
:
[],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment