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
ef0851fe
Commit
ef0851fe
authored
Sep 25, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/9月迭代' into dev
parents
b46b5986
c4a3d65e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
5 deletions
+26
-5
tag-config-options.vue
src/components/tag/tag-config-options.vue
+13
-3
index.js
src/components/tagDetail/mixin/index.js
+2
-2
group-list.vue
src/view/memberGroup/group-list.vue
+11
-0
No files found.
src/components/tag/tag-config-options.vue
View file @
ef0851fe
...
...
@@ -524,7 +524,18 @@
<div
class=
"relative-range m-t-18 border-box"
v-if=
"parent.radio != 1"
>
<div>
<div>
<label
class=
"inline-block w-98 label-unit"
>
时间精度
</label>
<label
class=
"inline-block w-98 label-unit"
>
时间精度
<el-tooltip
popper-class=
"edit-tag-tooltip"
placement=
"top"
open-delay=
"100"
effect=
"light"
>
<div
slot=
"content"
>
<span
style=
"font-weight: 600"
>
选择【天】:
</span><br
/>
选择相对时段为“最近2天”,那么系统在5号凌晨进行统计时,统计的是在3号、4号首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的是4号、5号首次添加导购企微好友的顾客;
<br
/>
<span
style=
"font-weight: 600"
>
选择【月】:
</span><br
/>
当月:eg:选择相对时间段为“当月”,那么系统在8月5号凌晨进行统计时,统计的是在8/1-8/4号首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的是在8/1-8/5号首次添加导购企微好友的顾客。
<br
/>
<span
style=
"font-weight: 600"
>
最近X月:
</span>
eg:选择相对时间段为“最近2月”,那么系统在8月5号凌晨进行统计时,统计的是在6月、7月首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的还是在6月、7月首次添加导购企微好友的顾客。
<br
/>
<span
style=
"font-weight: 600"
>
选择【年】:
</span><br
/>
当年:选择相对时间段为“当年”,那么系统在8月5号凌晨进行统计时,统计的是在当年1/1-8/4号首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的是在当年1/1-8/5号首次添加导购企微好友的顾客。
<br
/>
<span
style=
"font-weight: 600"
>
最近X年:
</span>
eg:选择相对时间段为“最近1年”,那么系统在8月5号凌晨进行统计时,统计的是在去年1/1-12/31号首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的还是在去年1/1-12/31号首次添加导购企微好友的顾客。
</div>
<i
class=
"iconfont icon-tishi"
style=
"color: #909399"
></i>
</el-tooltip>
</label>
<el-radio-group
v-model=
"parent.timeRadio"
@
change=
"timeRadioChange($event, parent)"
>
<el-radio
label=
"1"
>
天
</el-radio>
<el-radio
label=
"2"
>
月
</el-radio>
...
...
@@ -2266,4 +2277,4 @@ export default {
.tag025-scrollbar
{
width
:
370px
;
}
</
style
>
\ No newline at end of file
</
style
>
src/components/tagDetail/mixin/index.js
View file @
ef0851fe
...
...
@@ -1296,10 +1296,10 @@ export default {
}
// 月
if
(
newNum
>
24
&&
radio
==
2
)
{
newNum
=
12
;
newNum
=
24
;
}
// 年
if
(
newNum
>
3
&&
radio
==
3
)
{
if
(
newNum
>
=
3
&&
radio
==
3
)
{
newNum
=
2
;
}
parent
.
timeInput
=
newNum
;
...
...
src/view/memberGroup/group-list.vue
View file @
ef0851fe
...
...
@@ -118,6 +118,9 @@ export default {
// 处理分层
handleChangeLevel
(
i
,
list
)
{
this
.
currentLevelIndex
=
i
;
// 重置其他组的选项
this
.
currentIndex
=
-
2
;
this
.
currentFixedIndex
=
-
2
;
this
.
$emit
(
'second-list'
,
{
list
:
list
,
isTag
:
true
});
},
// 分层
...
...
@@ -147,6 +150,9 @@ export default {
this
.
classTagName
=
'tag-name'
;
this
.
active
=
false
;
this
.
currentIndex
=
i
;
// 重置其他组的选项
this
.
currentLevelIndex
=
-
2
;
this
.
currentFixedIndex
=
-
2
;
// 第二级的分组数据
this
.
$emit
(
'second-list'
,
list
);
},
...
...
@@ -154,6 +160,9 @@ export default {
this
.
classTagName
=
'tag-name'
;
this
.
active
=
false
;
this
.
currentFixedIndex
=
i
;
// 重置其他组的选项
this
.
currentLevelIndex
=
-
2
;
this
.
currentIndex
=
-
2
;
this
.
$emit
(
'second-list'
,
{
isFixed
:
true
,
list
});
},
/**
...
...
@@ -314,12 +323,14 @@ export default {
handleExpend
()
{
this
.
currentIndex
=
-
1
;
this
.
currentLevelIndex
=
-
2
;
this
.
currentFixedIndex
=
-
2
;
this
.
expendTxt
=
this
.
expendTxt
===
'展开'
?
'收起'
:
'展开'
;
this
.
$emit
(
'second-list'
,
'all'
);
},
handleExpendTag
()
{
this
.
currentLevelIndex
=
-
1
;
this
.
currentIndex
=
-
2
;
this
.
currentFixedIndex
=
-
2
;
this
.
expendTxtTag
=
this
.
expendTxtTag
===
'展开'
?
'收起'
:
'展开'
;
this
.
$emit
(
'second-list'
,
'allLevel'
);
},
...
...
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