Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
ca944871
Commit
ca944871
authored
Jun 28, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bufix/触达效果图表不展示'
parents
ea6629af
cddc8821
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
touch-clue.vue
src/views/ecm/touch-clue.vue
+2
-1
touch-charts.vue
src/views/ecm/touch-components/touch-charts.vue
+2
-1
No files found.
src/views/ecm/touch-clue.vue
View file @
ca944871
...
...
@@ -113,6 +113,7 @@ export default {
let
planName
=
this
.
$route
.
query
.
planName
;
let
name
;
let
planId
=
this
.
$route
.
query
.
id
;
let
createTime
=
this
.
$route
.
query
.
createTime
;
this
.
type
=
this
.
$route
.
query
.
type
;
this
.
getMarketList
();
this
.
getTabData
();
...
...
@@ -121,7 +122,7 @@ export default {
}
else
{
name
=
'导购线索'
;
}
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'智能营销'
,
path
:
'/ecm'
},
{
name
:
`
${
planName
}
- 触达效果`
,
path
:
`/ecm/touch/
${
planId
}
?name=
${
planName
}
`
},
{
name
}]);
// eslint-disable-line
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'智能营销'
,
path
:
'/ecm'
},
{
name
:
`
${
planName
}
- 触达效果`
,
path
:
`/ecm/touch/
${
planId
}
?name=
${
planName
}
&&createTime=
${
createTime
}
`
},
{
name
}]);
// eslint-disable-line
},
methods
:
{
handleSizeChange
(
val
)
{
...
...
src/views/ecm/touch-components/touch-charts.vue
View file @
ca944871
...
...
@@ -165,7 +165,8 @@ export default {
});
// 过滤出从营销计划开始之后的数据
dateArr
=
dateArr
.
filter
(
item
=>
{
if
(
item
.
date
>=
this
.
createTime
)
{
// 设置为天24的时间,因为当天数据任意时间段都要展示
if
(
new
Date
(
item
.
date
).
setHours
(
24
,
0
,
0
,
0
)
>=
this
.
createTime
)
{
item
.
date
=
this
.
formatterTime
(
item
.
date
);
return
item
;
}
...
...
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