Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
kefu_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cb7518d6
authored
Apr 16, 2020
by
keith
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
首页增加总服务人次
parent
0085c9ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
ui/kefu_admin/src/views/home/index.vue
ui/kefu_admin/src/views/home/index.vue
View file @
cb7518d6
...
...
@@ -45,6 +45,7 @@
<el-col
:span=
"8"
>
<div
class=
"mini-im-home-title"
>
客服
<span
style=
"color: #f44336"
>
{{
optionsDate
[
selectDateValue
].
label
}}
</span>
接入量统计
</div>
<ve-funnel
:data=
"membersChartData"
></ve-funnel>
<div
style=
"text-align: center;color: #f44336"
>
{{
optionsDate
[
selectDateValue
].
label
}}
总服务(
{{
membersChartServicesCounts
}}
人次)
</div>
</el-col>
</el-row>
<div>
...
...
@@ -144,6 +145,14 @@ export default {
self
.
todayStatisticalTableData
[
0
].
count
=
parseInt
(
totalCount
)
+
count
}
return
count
},
membersChartServicesCounts
(){
if
(
this
.
membersChartData
.
rows
.
length
==
0
)
return
0
;
var
count
=
0
;
for
(
let
i
=
0
;
i
<
this
.
membersChartData
.
rows
.
length
;
i
++
){
count
+=
parseInt
(
this
.
membersChartData
.
rows
[
i
][
'数值'
])
}
return
count
;
}
},
methods
:
{
...
...
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