Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-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
memberTag
memberTag-web
Commits
f2e0310d
Commit
f2e0310d
authored
Sep 23, 2021
by
chenyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: update
parent
fa27a2a0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
tag-config-options.vue
src/components/tag/tag-config-options.vue
+5
-3
index.js
src/components/tagDetail/mixin/index.js
+7
-1
edit-tag.vue
src/view/memberGroup/edit-tag.vue
+1
-1
No files found.
src/components/tag/tag-config-options.vue
View file @
f2e0310d
...
...
@@ -502,8 +502,10 @@
<
template
v-if=
"parent.templateCode == 'tag020'"
>
<div
class=
"m-b-20"
:key=
"'tag17' + pindex"
>
<el-radio
v-model=
"parent.radio"
label=
"1"
>
固定时段
</el-radio>
<el-radio
v-model=
"parent.radio"
label=
"2"
>
相对时段
</el-radio>
<el-radio-group
v-model=
"parent.radio"
@
change=
"timeRadioChange($event,parent)"
>
<el-radio
label=
"1"
>
固定时段
</el-radio>
<el-radio
label=
"2"
>
相对时段
</el-radio>
</el-radio-group>
<!-- 固定时段 -->
<div
class=
"m-t-18 w-438 p-20 border-box bg-f3f6f9"
v-if=
"parent.radio == 1"
>
<el-date-picker
...
...
@@ -529,7 +531,7 @@
<el-radio
label=
"3"
>
年
</el-radio>
</el-radio-group>
</div>
<template
v-if=
"c
olumn
Key==='haobanWechatRelatedTime'"
>
<template
v-if=
"c
urrent
Key==='haobanWechatRelatedTime'"
>
<div
class=
"m-t-20"
v-if=
"parent.timeRadio!=='1'"
>
<label
class=
"inline-block w-98"
></label>
<el-checkbox
v-model=
"parent.timeChecked"
@
change=
"currentDayChange($event, parent)"
>
...
...
src/components/tagDetail/mixin/index.js
View file @
f2e0310d
...
...
@@ -1257,12 +1257,18 @@ export default {
}
item
[
tag
]
=
newNum
;
},
/**
* 选择相对时段
*/
timeRadioChange
(
e
,
parent
){
if
(
this
.
currentKey
===
'haobanWechatRelatedTime'
)
parent
.
timeAfterChecked
=
parent
.
timeRadio
===
'1'
?
true
:
false
},
/**
* 天/月/年 RadioChange
*/
timeRadioChange
(
e
,
parent
)
{
// 每次改变选择,清空原有的值
if
(
this
.
currentKey
===
'haobanWechatRelatedTime'
)
parent
.
timeAfterChecked
=
parent
.
timeRadio
===
'1'
?
true
:
false
parent
.
timeInput
=
''
;
},
...
...
src/view/memberGroup/edit-tag.vue
View file @
f2e0310d
...
...
@@ -10,7 +10,7 @@
</p>
<p
class=
"tag-desc"
>
{{
tagDataAssgin
.
tagDescribe
}}
</p>
</div>
<p
v-if=
"tagId"
class=
"m-t-20 m-b-20 tag-config"
>
标签值设置
<el-tooltip
v-if=
"tagDataAssgin.columnKey==='haobanWechatRelatedTime'"
popper-class=
"edit-tag-tooltip"
placement=
"top"
open-delay=
"100"
effect=
"light"
<p
v-if=
"tagId"
class=
"m-t-20 m-b-20 tag-config"
>
标签值设置
<el-tooltip
v-if=
"tagDataAssgin.columnKey==='haobanWechatRelatedTime'
||JSON.parse(tagDataAssgin.tagValue).val[0].data.key
"
popper-class=
"edit-tag-tooltip"
placement=
"top"
open-delay=
"100"
effect=
"light"
><div
slot=
"content"
><span
style=
"font-weight:600"
>
固定时段:
</span>
在所选时间段内首次添加导购企微好友的;
<br/><span
style=
"font-weight:600"
>
相对时段:
</span>
相对于“标签统计时间”(每天凌晨计算统计一次)的前X天/月/年内首次添加导购企微好友的,例:选择相对时段为“最近2天”,那么系统在5号凌晨进行统计时,统计的是在3号、4号首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的是4号、5号首次添加导购企微好友的顾客。
</div><i
class=
"iconfont icon-tishi"
></i></el-tooltip></p>
<!-- 所有标签的配置项 -->
<div
class=
"tag-config-options"
>
...
...
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