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
93c886e8
Commit
93c886e8
authored
Apr 15, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: ai营销
parent
73fda6e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
conversion.vue
src/views/ai/ai-data-report/conversion.vue
+6
-3
No files found.
src/views/ai/ai-data-report/conversion.vue
View file @
93c886e8
...
...
@@ -148,10 +148,10 @@ export default {
methods
:
{
getPlanStatistics
()
{
getPlanStatistics
({
activityId
:
this
.
activityId
,
planId
:
this
.
planId
}).
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
.
result
)
||
res
.
result
.
length
==
0
)
{
re
turn
;
if
(
!
Array
.
isArray
(
res
.
result
))
{
re
s
.
result
=
[]
;
}
const
targetData
=
res
.
result
[
0
]
;
const
targetData
=
res
.
result
.
length
>
0
?
res
.
result
[
0
]
:
{}
;
this
.
targetList
=
this
.
targetList
.
map
(
el
=>
{
return
el
.
map
(
item
=>
{
const
value
=
targetData
[
item
.
key
];
...
...
@@ -173,6 +173,9 @@ export default {
});
});
if
(
targetData
.
marketingNumber
==
null
&&
targetData
.
reachNumber
==
null
&&
targetData
.
conversionNumber
==
null
)
{
return
;
}
let
data
=
[
{
action
:
'营销人数'
,
label
:
'营销率'
,
count
:
targetData
.
marketingNumber
,
rate
:
''
},
{
action
:
'触达人数'
,
label
:
'触达率'
,
count
:
targetData
.
reachNumber
,
rate
:
targetData
.
reachRate
},
...
...
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