Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 81d65c6d
authored
Jun 16, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.12.0' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
into v3.12.0
2 parents
eed7bcc6
9c83bfac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
src/views/sop/sopAnalysis/touchList.vue
src/views/sop/sopAnalysis/touchList.vue
View file @
81d65c6
...
...
@@ -123,7 +123,9 @@ export default {
getListApi
:
this
.
$apis
.
sop
.
getSopCustomerStatisticsListApi
,
tableParams
:
{
listName
:
'list'
,
tableColumns
:
[
tableColumns
:
[]
},
tableColumns
:
[
{
label
:
'群名称'
,
prop
:
'groupName'
,
...
...
@@ -155,29 +157,26 @@ export default {
label
:
'初次查看时间'
,
prop
:
'firstViewDate'
,
formatter
:
cellValue
=>
{
return
cellValue
.
firstViewDate
?
dayjs
(
cellValue
.
firstViewDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'
未查看
'
return
cellValue
.
firstViewDate
?
dayjs
(
cellValue
.
firstViewDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'
--
'
}
},
{
label
:
'查看次数'
,
prop
:
'viewCount'
,
formatter
:
cellValue
=>
{
return
cellValue
.
viewCount
||
'
0
'
return
cellValue
.
viewCount
||
'
--
'
}
},
{
label
:
'查看总时长'
,
prop
:
'viewDuration'
,
},
{
],
otherTableColumns
:
[
{
label
:
'点赞数'
,
prop
:
'likeCount'
,
},
{
label
:
'评论数'
,
prop
:
'commentCount'
,
}
]
},
],
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
baseData
:
{
sopEventList
:
[]
...
...
@@ -206,6 +205,11 @@ export default {
if
(
this
.
sopInfo
.
sopType
==
1
){
this
.
tableParams
.
tableColumns
.
splice
(
0
,
1
,
1
)
}
if
(
this
.
selectedEventInfo
.
pushChannelType
==
3
)
{
this
.
tableParams
.
tableColumns
=
this
.
tableColumns
.
concat
(
this
.
otherTableColumns
)
}
else
{
this
.
tableParams
.
tableColumns
=
this
.
tableColumns
}
this
.
sopInfo
.
touchPercent
=
this
.
baseData
.
sopEventList
.
length
&&
this
.
sopInfo
.
customerCount
?
Math
.
round
((
this
.
selectedEventInfo
.
eventStatistics
.
reachCustomerCount
/
this
.
sopInfo
.
customerCount
)
*
100
).
toFixed
(
0
)
+
'%'
:
'-'
// this.drawPie()
})
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment