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
135d0117
Commit
135d0117
authored
Aug 02, 2022
by
曾经
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
冻结会员 和 异常会员 渠道判断
parent
02bbe48f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
176 deletions
+54
-176
abnormal-member.vue
.../abnormal-member/abnormal-member-list/abnormal-member.vue
+27
-88
frozen-list.vue
...s/wechatmembers/frozen-member/frozen-list/frozen-list.vue
+27
-88
No files found.
src/components/wechatmembers/abnormal-member/abnormal-member-list/abnormal-member.vue
View file @
135d0117
...
...
@@ -136,99 +136,38 @@
<span
v-else-if=
"colum.code == 'grade'"
>
{{
row
.
gradeName
}}
</span>
<!-- 状态 -->
<span
v-else-if=
"colum.code == 'status'"
>
<template
v-if=
"
!Array.isArray(row.memberSources) ||
row.memberSources.filter(
(el) => el.highlight == 1 || el.highlight == 2
).length == 0
"
>
--
</
template
>
<template
v-if=
"!Array.isArray(row.memberSources) || row.memberSources.filter(el => el.highlight == 1 || el.highlight == 2).length == 0"
>
--
</
template
>
<
template
v-else
>
<!-- 1100:公众号 1600:小程序 1700:企业微信 1303:微盟 1302:天猫会员通 -->
<span
class=
"channel-box"
v-for=
"channel in row.memberSources.filter(
(el) => el.highlight == 1 || el.highlight == 2
)"
:key=
"channel.parentSourceCode"
>
<span
class=
"channel-box"
v-for=
"channel in row.memberSources.filter(el => el.highlight == 1 || el.highlight == 2)"
:key=
"channel.parentSourceCode"
>
<template
v-if=
"channel.highlight == 1"
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1100"
src=
"../../../../../static/img/channel-icon/weixin-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1600"
src=
"../../../../../static/img/channel-icon/xiaochengxu-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1700"
src=
"../../../../../static/img/channel-icon/qiyeweixin-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1303"
src=
"../../../../../static/img/channel-icon/weimen-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1302"
src=
"../../../../../static/img/channel-icon/tianmao-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../../../static/img/channel-icon/douyin-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1100"
src=
"../../../../../static/img/channel-icon/weixin-1.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1600"
src=
"../../../../../static/img/channel-icon/xiaochengxu-1.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1700"
src=
"../../../../../static/img/channel-icon/qiyeweixin-1.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1303"
src=
"../../../../../static/img/channel-icon/weimen-1.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1302"
src=
"../../../../../static/img/channel-icon/tianmao-1.png"
alt=
""
>
<!--
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../static/img/channel-icon/douyin-1.png"
alt=
""
>
-->
</
template
>
<
template
v-if=
"channel.highlight == 2"
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1100"
src=
"../../../../../static/img/channel-icon/weixin-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1600"
src=
"../../../../../static/img/channel-icon/xiaochengxu-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1700"
src=
"../../../../../static/img/channel-icon/qiyeweixin-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1303"
src=
"../../../../../static/img/channel-icon/weimen-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1302"
src=
"../../../../../static/img/channel-icon/tianmao-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../../../static/img/channel-icon/douyin-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1100"
src=
"../../../../../static/img/channel-icon/weixin-2.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1600"
src=
"../../../../../static/img/channel-icon/xiaochengxu-2.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1700"
src=
"../../../../../static/img/channel-icon/qiyeweixin-2.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1303"
src=
"../../../../../static/img/channel-icon/weimen-2.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1302"
src=
"../../../../../static/img/channel-icon/tianmao-2.png"
alt=
""
>
<!--
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../static/img/channel-icon/douyin-2.png"
alt=
""
>
-->
</
template
>
<
template
v-if=
"channel.parentSourceCode == 1304"
>
<template
v-if=
"channel.activeFlag!=1"
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../../../static/img/channel-icon/douyin-0.png"
alt=
""
>
</
template
>
<
template
v-if=
"channel.activeFlag==1"
>
<template
v-if=
"channel.highlight == 1"
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../../../static/img/channel-icon/douyin-1.png"
alt=
""
>
</
template
>
<
template
v-if=
"channel.highlight == 2"
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../../../static/img/channel-icon/douyin-2.png"
alt=
""
>
</
template
>
</template>
</template>
</span>
</template>
...
...
src/components/wechatmembers/frozen-member/frozen-list/frozen-list.vue
View file @
135d0117
...
...
@@ -127,99 +127,38 @@
<span
v-else-if=
"colum.code == 'grade'"
>
{{
row
.
gradeName
}}
</span>
<!-- 状态 -->
<span
v-else-if=
"colum.code == 'status'"
>
<template
v-if=
"
!Array.isArray(row.memberSources) ||
row.memberSources.filter(
(el) => el.highlight == 1 || el.highlight == 2
).length == 0
"
>
--
</
template
>
<template
v-if=
"!Array.isArray(row.memberSources) || row.memberSources.filter(el => el.highlight == 1 || el.highlight == 2).length == 0"
>
--
</
template
>
<
template
v-else
>
<!-- 1100:公众号 1600:小程序 1700:企业微信 1303:微盟 1302:天猫会员通 -->
<span
class=
"channel-box"
v-for=
"channel in row.memberSources.filter(
(el) => el.highlight == 1 || el.highlight == 2
)"
:key=
"channel.parentSourceCode"
>
<span
class=
"channel-box"
v-for=
"channel in row.memberSources.filter(el => el.highlight == 1 || el.highlight == 2)"
:key=
"channel.parentSourceCode"
>
<template
v-if=
"channel.highlight == 1"
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1100"
src=
"../../../../../static/img/channel-icon/weixin-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1600"
src=
"../../../../../static/img/channel-icon/xiaochengxu-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1700"
src=
"../../../../../static/img/channel-icon/qiyeweixin-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1303"
src=
"../../../../../static/img/channel-icon/weimen-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1302"
src=
"../../../../../static/img/channel-icon/tianmao-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../../../static/img/channel-icon/douyin-1.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1100"
src=
"../../../../../static/img/channel-icon/weixin-1.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1600"
src=
"../../../../../static/img/channel-icon/xiaochengxu-1.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1700"
src=
"../../../../../static/img/channel-icon/qiyeweixin-1.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1303"
src=
"../../../../../static/img/channel-icon/weimen-1.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1302"
src=
"../../../../../static/img/channel-icon/tianmao-1.png"
alt=
""
>
<!--
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../static/img/channel-icon/douyin-1.png"
alt=
""
>
-->
</
template
>
<
template
v-if=
"channel.highlight == 2"
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1100"
src=
"../../../../../static/img/channel-icon/weixin-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1600"
src=
"../../../../../static/img/channel-icon/xiaochengxu-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1700"
src=
"../../../../../static/img/channel-icon/qiyeweixin-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1303"
src=
"../../../../../static/img/channel-icon/weimen-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1302"
src=
"../../../../../static/img/channel-icon/tianmao-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../../../static/img/channel-icon/douyin-2.png"
alt=
""
/>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1100"
src=
"../../../../../static/img/channel-icon/weixin-2.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1600"
src=
"../../../../../static/img/channel-icon/xiaochengxu-2.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1700"
src=
"../../../../../static/img/channel-icon/qiyeweixin-2.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1303"
src=
"../../../../../static/img/channel-icon/weimen-2.png"
alt=
""
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1302"
src=
"../../../../../static/img/channel-icon/tianmao-2.png"
alt=
""
>
<!--
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../static/img/channel-icon/douyin-2.png"
alt=
""
>
-->
</
template
>
<
template
v-if=
"channel.parentSourceCode == 1304"
>
<template
v-if=
"channel.activeFlag!=1"
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../../../static/img/channel-icon/douyin-0.png"
alt=
""
>
</
template
>
<
template
v-if=
"channel.activeFlag==1"
>
<template
v-if=
"channel.highlight == 1"
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../../../static/img/channel-icon/douyin-1.png"
alt=
""
>
</
template
>
<
template
v-if=
"channel.highlight == 2"
>
<img
class=
"channel-icon"
v-if=
"channel.parentSourceCode == 1304"
src=
"../../../../../static/img/channel-icon/douyin-2.png"
alt=
""
>
</
template
>
</template>
</template>
</span>
</template>
...
...
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