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
ca780ffc
Commit
ca780ffc
authored
Sep 10, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除内外部过滤条件
parent
a19e21e8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
64 deletions
+0
-64
index.tsx
src/pages/member/memberPr1/index.tsx
+0
-16
index.tsx
src/pages/member/memberPr2/index.tsx
+0
-16
index.tsx
src/pages/member/memberPrConfirm/index.tsx
+0
-16
index.tsx
src/pages/member/memberPrSubmit/index.tsx
+0
-16
No files found.
src/pages/member/memberPr1/index.tsx
View file @
ca780ffc
...
...
@@ -90,8 +90,6 @@ const MemberPr1: React.FC<{}> = props => {
title
:
'外部状态'
,
dataIndex
:
'outerStatusName'
,
align
:
'center'
,
filters
:
[],
onFilter
:
(
value
,
record
)
=>
record
.
outerStatus
===
value
,
render
:
(
text
,
record
)
=>
(
<
StatusTag
type=
{
MEMBER_OUTER_STATUS_TYPE
[
record
.
outerStatus
]
}
title=
{
text
}
/>
),
...
...
@@ -100,8 +98,6 @@ const MemberPr1: React.FC<{}> = props => {
title
:
'内部状态'
,
dataIndex
:
'innerStatusName'
,
align
:
'center'
,
filters
:
[],
onFilter
:
(
value
,
record
)
=>
record
.
innerStatus
===
value
,
render
:
(
text
,
record
)
=>
<
Badge
color=
{
MEMBER_INNER_STATUS_BADGE_COLOR
[
record
.
innerStatus
]
}
text=
{
text
}
/>,
},
{
...
...
@@ -175,8 +171,6 @@ const MemberPr1: React.FC<{}> = props => {
roles
=
[],
levels
=
[],
sources
=
[],
outerStatus
=
[],
innerStatus
=
[],
}
=
data
;
const
newColumns
=
columns
.
slice
();
...
...
@@ -187,16 +181,6 @@ const MemberPr1: React.FC<{}> = props => {
'statusName'
,
status
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
coverColFiltersItem
(
newColumns
,
'outerStatusName'
,
outerStatus
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
coverColFiltersItem
(
newColumns
,
'innerStatusName'
,
innerStatus
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
setColumns
(
newColumns
);
...
...
src/pages/member/memberPr2/index.tsx
View file @
ca780ffc
...
...
@@ -90,8 +90,6 @@ const MemberPr2: React.FC<{}> = props => {
title
:
'外部状态'
,
dataIndex
:
'outerStatusName'
,
align
:
'center'
,
filters
:
[],
onFilter
:
(
value
,
record
)
=>
record
.
outerStatus
===
value
,
render
:
(
text
,
record
)
=>
(
<
StatusTag
type=
{
MEMBER_OUTER_STATUS_TYPE
[
record
.
outerStatus
]
}
title=
{
text
}
/>
),
...
...
@@ -100,8 +98,6 @@ const MemberPr2: React.FC<{}> = props => {
title
:
'内部状态'
,
dataIndex
:
'innerStatusName'
,
align
:
'center'
,
filters
:
[],
onFilter
:
(
value
,
record
)
=>
record
.
innerStatus
===
value
,
render
:
(
text
,
record
)
=>
<
Badge
color=
{
MEMBER_INNER_STATUS_BADGE_COLOR
[
record
.
innerStatus
]
}
text=
{
text
}
/>,
},
{
...
...
@@ -175,8 +171,6 @@ const MemberPr2: React.FC<{}> = props => {
roles
=
[],
levels
=
[],
sources
=
[],
outerStatus
=
[],
innerStatus
=
[],
}
=
data
;
const
newColumns
=
columns
.
slice
();
...
...
@@ -187,16 +181,6 @@ const MemberPr2: React.FC<{}> = props => {
'statusName'
,
status
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
coverColFiltersItem
(
newColumns
,
'outerStatusName'
,
outerStatus
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
coverColFiltersItem
(
newColumns
,
'innerStatusName'
,
innerStatus
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
setColumns
(
newColumns
);
...
...
src/pages/member/memberPrConfirm/index.tsx
View file @
ca780ffc
...
...
@@ -91,8 +91,6 @@ const MemberPrConfirm: React.FC<{}> = props => {
title
:
'外部状态'
,
dataIndex
:
'outerStatusName'
,
align
:
'center'
,
filters
:
[],
onFilter
:
(
value
,
record
)
=>
record
.
outerStatus
===
value
,
render
:
(
text
,
record
)
=>
(
<
StatusTag
type=
{
MEMBER_OUTER_STATUS_TYPE
[
record
.
outerStatus
]
}
title=
{
text
}
/>
),
...
...
@@ -101,8 +99,6 @@ const MemberPrConfirm: React.FC<{}> = props => {
title
:
'内部状态'
,
dataIndex
:
'innerStatusName'
,
align
:
'center'
,
filters
:
[],
onFilter
:
(
value
,
record
)
=>
record
.
innerStatus
===
value
,
render
:
(
text
,
record
)
=>
<
Badge
color=
{
MEMBER_INNER_STATUS_BADGE_COLOR
[
record
.
innerStatus
]
}
text=
{
text
}
/>,
},
{
...
...
@@ -178,8 +174,6 @@ const MemberPrConfirm: React.FC<{}> = props => {
roles
=
[],
levels
=
[],
sources
=
[],
outerStatus
=
[],
innerStatus
=
[],
}
=
data
;
const
newColumns
=
columns
.
slice
();
...
...
@@ -190,16 +184,6 @@ const MemberPrConfirm: React.FC<{}> = props => {
'statusName'
,
status
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
coverColFiltersItem
(
newColumns
,
'outerStatusName'
,
outerStatus
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
coverColFiltersItem
(
newColumns
,
'innerStatusName'
,
innerStatus
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
setColumns
(
newColumns
);
...
...
src/pages/member/memberPrSubmit/index.tsx
View file @
ca780ffc
...
...
@@ -90,8 +90,6 @@ const MemberPrSubmit: React.FC<{}> = props => {
title
:
'外部状态'
,
dataIndex
:
'outerStatusName'
,
align
:
'center'
,
filters
:
[],
onFilter
:
(
value
,
record
)
=>
record
.
outerStatus
===
value
,
render
:
(
text
,
record
)
=>
(
<
StatusTag
type=
{
MEMBER_OUTER_STATUS_TYPE
[
record
.
outerStatus
]
}
title=
{
text
}
/>
),
...
...
@@ -100,8 +98,6 @@ const MemberPrSubmit: React.FC<{}> = props => {
title
:
'内部状态'
,
dataIndex
:
'innerStatusName'
,
align
:
'center'
,
filters
:
[],
onFilter
:
(
value
,
record
)
=>
record
.
innerStatus
===
value
,
render
:
(
text
,
record
)
=>
<
Badge
color=
{
MEMBER_INNER_STATUS_BADGE_COLOR
[
record
.
innerStatus
]
}
text=
{
text
}
/>,
},
{
...
...
@@ -175,8 +171,6 @@ const MemberPrSubmit: React.FC<{}> = props => {
roles
=
[],
levels
=
[],
sources
=
[],
outerStatus
=
[],
innerStatus
=
[],
}
=
data
;
const
newColumns
=
columns
.
slice
();
...
...
@@ -187,16 +181,6 @@ const MemberPrSubmit: React.FC<{}> = props => {
'statusName'
,
status
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
coverColFiltersItem
(
newColumns
,
'outerStatusName'
,
outerStatus
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
coverColFiltersItem
(
newColumns
,
'innerStatusName'
,
innerStatus
.
map
(
item
=>
({
text
:
item
.
text
,
value
:
item
.
id
})).
filter
(
item
=>
item
.
value
!==
0
),
);
setColumns
(
newColumns
);
...
...
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