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
4ed0c3cc
Commit
4ed0c3cc
authored
Jun 03, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 触达效果图表
parent
1324b2c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
touch-charts.vue
src/views/ecm/touch-components/touch-charts.vue
+8
-5
No files found.
src/views/ecm/touch-components/touch-charts.vue
View file @
4ed0c3cc
...
...
@@ -173,11 +173,14 @@ export default {
return
dateArr
;
},
formatterTime
(
val
)
{
let
year
=
new
Date
(
val
).
getFullYear
();
let
month
=
String
(
new
Date
(
val
).
getMonth
()
+
1
).
padStart
(
'2'
,
'0'
);
let
day
=
String
(
new
Date
(
val
).
getDate
()).
padStart
(
'2'
,
'0'
);
let
time
=
year
+
'-'
+
month
+
'-'
+
day
;
return
time
;
const
t
=
new
Date
(
val
);
let
year
=
t
.
getFullYear
();
let
month
=
(
t
.
getMonth
()
+
1
).
toString
().
padStart
(
2
,
'0'
);
let
day
=
t
.
getDate
()
.
toString
()
.
padStart
(
2
,
'0'
);
return
`
${
year
}
-
${
month
}
-
${
day
}
`
;
}
}
};
...
...
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