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
shenshaokai
jinfa-platform
Commits
77f04d60
Commit
77f04d60
authored
Jun 08, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 删除 部分检索条件
parent
68e28fea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
39 deletions
+1
-39
index.tsx
src/pages/member/memberImport/index.tsx
+1
-3
index.tsx
src/pages/member/memberImport/schema/index.tsx
+0
-36
No files found.
src/pages/member/memberImport/index.tsx
View file @
77f04d60
...
...
@@ -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
,
);
}
}
...
...
src/pages/member/memberImport/schema/index.tsx
View file @
77f04d60
...
...
@@ -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
:
''
,
...
...
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