Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
clique-web
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
clique
clique-web
Commits
85e301b9
Commit
85e301b9
authored
Jul 05, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 会员卡设置
parent
13cd5dd8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
MemberCardTable.vue
...panyGroup/membershipSystem/components/MemberCardTable.vue
+12
-7
No files found.
src/view/companyGroup/membershipSystem/components/MemberCardTable.vue
View file @
85e301b9
...
@@ -140,15 +140,18 @@ export default {
...
@@ -140,15 +140,18 @@ export default {
loading
:
false
,
loading
:
false
,
isEditSort
:
false
,
isEditSort
:
false
,
sortTable
:
null
,
sortTable
:
null
,
isExist
:
false
,
channelList
:
[]
};
};
},
},
methods
:
{
methods
:
{
getOpenThird
()
{
getOpenThird
()
{
getRequest
(
'/api-admin/judge-enterprise-third-channel'
,
{}).
then
(
res
=>
{
getRequest
(
'/api-admin/get-third-channel-grade-relation-info'
,
{}).
then
(
res
=>
{
res
.
data
.
result
.
isExist
=
true
const
{
result
,
errorCode
,
message
}
=
res
.
data
||
{};
const
{
result
}
=
res
.
data
||
{};
if
(
errorCode
!=
0
)
{
this
.
isExist
=
result
.
isExist
;
this
.
$message
.
error
(
message
);
return
;
}
this
.
channelList
=
Array
.
isArray
(
result
)
?
result
:
[];
});
});
},
},
checkOpenThird
()
{
checkOpenThird
()
{
...
@@ -156,8 +159,10 @@ export default {
...
@@ -156,8 +159,10 @@ export default {
// 开通的商户才提示
// 开通的商户才提示
// 点击已完成才进行下一步操作
// 点击已完成才进行下一步操作
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
if
(
this
.
isExist
&&
this
.
type
==
1
)
{
const
channelMap
=
{
1302
:
'天猫'
,
1304
:
'抖音'
}
this
.
$confirm
(
'您已对接「天猫」、「抖音」渠道的会员等级,为确保每个渠道的会员等级对应关系一致,在调整会员等级顺序或者新增会员等级前请联系运营经理确认是否对应渠道的会员等级关系已维护完成!'
,
'提示'
,
{
const
channel
=
this
.
channelList
.
filter
(
el
=>
el
.
exist
).
map
(
el
=>
`「
${
channelMap
[
el
.
channelCode
+
''
]}
」`
);
if
(
this
.
type
==
1
&&
channel
.
length
>
0
)
{
this
.
$confirm
(
`您已对接
${
channel
.
join
(
'、'
)}
渠道的会员等级,为确保每个渠道的会员等级对应关系一致,在调整会员等级顺序或者新增会员等级前请联系运营经理确认是否对应渠道的会员等级关系已维护完成!`
,
'提示'
,
{
type
:
'warning'
,
type
:
'warning'
,
customClass
:
'check-open-channel'
,
customClass
:
'check-open-channel'
,
cancelButtonText
:
'未完成'
,
cancelButtonText
:
'未完成'
,
...
...
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