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
164fdf1d
Commit
164fdf1d
authored
Apr 27, 2022
by
crushh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/ai营销二期' of
http://git.gicdev.com/marketing-web/marketing
into feature/ai营销二期
parents
9d23498a
7bc34fbf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
ai-data.vue
src/views/ai/ai-data-report/ai-data.vue
+9
-4
No files found.
src/views/ai/ai-data-report/ai-data.vue
View file @
164fdf1d
...
...
@@ -174,7 +174,8 @@ export default {
label
:
'平均通话时长'
,
value
:
''
,
key
:
'averageCallDuration'
,
type
:
'time'
type
:
'number'
,
unit
:
'S'
}
],
[
...
...
@@ -207,9 +208,13 @@ export default {
case
'time'
:
item
.
value
=
'--'
;
if
(
typeof
value
==
'number'
)
{
const
h
=
Math
.
floor
(
value
/
3600
);
const
m
=
Math
.
floor
((
value
%
3600
)
/
60
);
const
s
=
value
%
60
;
const
h
=
Math
.
floor
(
value
/
3600
)
.
toString
()
.
padStart
(
2
,
'0'
);
const
m
=
Math
.
floor
((
value
%
3600
)
/
60
)
.
toString
()
.
padStart
(
2
,
'0'
);
const
s
=
(
value
%
60
).
toString
().
padStart
(
2
,
'0'
);
item
.
value
=
`
${
h
}
:
${
m
}
:
${
s
}
`
;
}
break
;
...
...
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