Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
member
Overview
Overview
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
member
member
Commits
5004e109
Commit
5004e109
authored
May 11, 2022
by
liuchenxi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/5-11上线'
parents
ef6fa367
97404117
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
index.js
src/components/allCustomers/index.js
+10
-2
No files found.
src/components/allCustomers/index.js
View file @
5004e109
...
...
@@ -328,14 +328,22 @@ export default {
});
},
submitMemberFields
(
v
)
{
const
check
=
v
.
split
(
","
);
const
sortFieds
=
this
.
memberFields
.
reduce
((
res
,
cur
)
=>
{
if
(
check
.
includes
(
cur
.
code
))
{
res
.
push
(
cur
.
code
);
}
return
res
;
},
[]);
doFetch
(
url
.
updateFields
,
{
pageName
:
this
.
pageName
,
fields
:
v
fields
:
sortFieds
.
toString
()
})
.
then
(
res
=>
{
if
(
res
.
data
.
errorCode
===
0
)
{
checkSuccess
();
this
.
checkedFields
=
v
.
split
(
","
);
// 需要对选中字段排序
this
.
checkedFields
=
sortFieds
;
this
.
getAjaxMembers
();
}
else
{
checkFalse
(
res
.
data
.
message
);
...
...
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