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
a437aca3
Commit
a437aca3
authored
Oct 19, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 批量导入
parent
98c8e08b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
15 deletions
+14
-15
index.js
src/components/allCustomers/index.js
+14
-15
No files found.
src/components/allCustomers/index.js
View file @
a437aca3
...
...
@@ -251,7 +251,7 @@ export default {
}
},
created
()
{
this
.
getcliqueMemberRelation
();
this
.
$store
.
commit
(
"mutations-slide"
,
true
);
this
.
initialize
();
this
.
getGradeList
();
...
...
@@ -263,18 +263,7 @@ export default {
});
},
mounted
()
{
this
.
importList
=
this
.
importList
.
map
((
item
,
index
)
=>
{
if
(
this
.
getCodeAuth
(
item
.
btnCode
)){
console
.
log
(
typeof
this
.
isShowClique
,
'this.isShowClique'
);
if
(
item
.
btnCode
==
'importMember'
&&
this
.
isShowClique
==
1
)
{
return
{};
}
else
{
return
item
;
}
}
else
{
return
{};
}
})
this
.
getcliqueMemberRelation
();
this
.
getFindMemberFields
();
this
.
getAjaxMembers
();
this
.
getEnterpriseInfo
();
...
...
@@ -293,10 +282,20 @@ export default {
methods
:
{
getcliqueMemberRelation
()
{
doFetchGet
(
url
.
cliqueMemberRelation
,
{}).
then
((
res
)
=>
{
console
.
log
(
res
,
'res'
);
let
{
errorCode
,
result
}
=
res
.
data
;
if
(
errorCode
==
0
){
this
.
isShowClique
=
result
;
this
.
isShowClique
=
result
||
1
;
this
.
importList
=
this
.
importList
.
map
((
item
,
index
)
=>
{
if
(
this
.
getCodeAuth
(
item
.
btnCode
)){
if
(
item
.
btnCode
==
'importMember'
&&
this
.
isShowClique
==
1
)
{
return
{};
}
else
{
return
item
;
}
}
else
{
return
{};
}
})
}
})
},
...
...
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