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
0e92ad78
Commit
0e92ad78
authored
Oct 09, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 批量导入会员添加需求
parent
a18ffaca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletions
+19
-1
index.js
src/components/allCustomers/index.js
+17
-1
url.js
src/components/axios/url.js
+2
-0
No files found.
src/components/allCustomers/index.js
View file @
0e92ad78
...
...
@@ -48,6 +48,7 @@ export default {
searchAble
:
false
,
multipleAble
:
true
},
isShowClique
:
''
,
importList
:[
{
importType
:
18
,
...
...
@@ -250,6 +251,7 @@ export default {
}
},
created
()
{
this
.
getcliqueMemberRelation
();
this
.
$store
.
commit
(
"mutations-slide"
,
true
);
this
.
initialize
();
this
.
getGradeList
();
...
...
@@ -263,7 +265,12 @@ export default {
mounted
()
{
this
.
importList
=
this
.
importList
.
map
((
item
,
index
)
=>
{
if
(
this
.
getCodeAuth
(
item
.
btnCode
)){
return
item
;
console
.
log
(
typeof
this
.
isShowClique
,
'this.isShowClique'
);
if
(
item
.
btnCode
==
'importMember'
&&
this
.
isShowClique
==
1
)
{
return
{};
}
else
{
return
item
;
}
}
else
{
return
{};
}
...
...
@@ -284,6 +291,15 @@ export default {
},
beforUpdate
()
{},
methods
:
{
getcliqueMemberRelation
()
{
doFetchGet
(
url
.
cliqueMemberRelation
,
{}).
then
((
res
)
=>
{
console
.
log
(
res
,
'res'
);
let
{
errorCode
,
result
}
=
res
.
data
;
if
(
errorCode
==
0
){
this
.
isShowClique
=
result
;
}
})
},
onSelectTreeChange
(
data
)
{
this
.
customerType
=
data
;
},
...
...
src/components/axios/url.js
View file @
0e92ad78
...
...
@@ -119,6 +119,8 @@ const urlConfig = {
getFrozenWhiteList
:
'/api-member/white-member-list'
,
//获取冻结白名单列表
removeFrozenWhiteMember
:
'/api-member//white-member-remove'
,
// 移出白名单
frozenMemberExportExcel
:
'/api-admin/frozen-member-export-excel'
,
// 异常会员搜索结果导出
cliqueMemberRelation
:
'/api-member/clique-member-relation'
,
//判断是否有展示会员导入的权限 1不可,2,null可
}
const
defaultUrl
=
Object
.
assign
({},
urlConfig
);
...
...
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