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
f048d6d7
Commit
f048d6d7
authored
Apr 13, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
8a443b0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
32 deletions
+26
-32
ai-data-report.vue
src/views/ai/ai-data-report.vue
+18
-24
conversion.vue
src/views/ai/ai-data-report/conversion.vue
+8
-8
No files found.
src/views/ai/ai-data-report.vue
View file @
f048d6d7
...
...
@@ -5,18 +5,22 @@
<activity-info
@
flag=
"getFlag"
@
filterJson=
"getFilterJson"
></activity-info>
</div>
<div
class=
"report-module"
>
<dm-sub-title
class=
"module-title"
>
AI外呼数据
<span
class=
"title-tip"
>
数据实时更新
</span>
<el-button
class=
"to-page-button"
type=
"text"
@
click=
"toDetailPage"
>
查看详情
</el-button>
<dm-sub-title
title-align=
"space-between"
>
<div>
AI外呼数据
<span
class=
"title-tip"
>
数据实时更新
</span>
</div>
<el-button
type=
"text"
@
click=
"toDetailPage"
>
查看详情
</el-button>
</dm-sub-title>
<ai-data
:ai-data-show=
"flags"
></ai-data>
</div>
<div
class=
"report-module"
v-if=
"flags.analyseFlag == 1"
>
<dm-sub-title
class=
"module-title"
>
活动转化数据
<span
class=
"title-tip"
>
数据每天更新 1 次
</span>
<el-button
class=
"to-page-button"
type=
"text"
@
click=
"toDetailPage"
>
查看详情
</el-button>
<dm-sub-title
title-align=
"space-between"
>
<div>
活动转化数据
<span
class=
"title-tip"
>
数据每天更新 1 次
</span>
</div>
<el-button
type=
"text"
@
click=
"toDetailPage"
>
查看详情
</el-button>
</dm-sub-title>
<conversion
:member-type=
"flags.memberType"
:filter-json=
"filterJson"
></conversion>
</div>
...
...
@@ -63,22 +67,12 @@ export default {
+
.report-module
{
margin-top
:
16px
;
}
.module-title
{
position
:
relative
;
.title-tip
{
margin-left
:
16px
;
font-size
:
12px
;
font-weight
:
400
;
color
:
#606266
;
line-height
:
17px
;
}
.to-page-button
{
position
:
absolute
;
top
:
50%
;
right
:
0
;
z-index
:
1
;
transform
:
translate
(
0
,
-50%
);
}
.title-tip
{
margin-left
:
16px
;
font-size
:
12px
;
font-weight
:
400
;
color
:
#606266
;
line-height
:
17px
;
}
}
}
...
...
src/views/ai/ai-data-report/conversion.vue
View file @
f048d6d7
...
...
@@ -26,7 +26,7 @@
<el-table-column
label=
"客单价(元)"
prop=
"perCustomerTransaction"
min-width=
"100"
:formatter=
"(row, col, val) => numFormat(val)"
></el-table-column>
<el-table-column
label=
"连带率"
prop=
"associatedPurchaseRate"
min-width=
"70"
:formatter=
"(row, col, val) => val || '--'"
></el-table-column>
<el-table-column
label=
"活动费用(元)"
prop=
"activityCost"
min-width=
"110"
:formatter=
"(row, col, val) => numFormat(val)"
></el-table-column>
<el-table-column
label=
"ROI"
prop=
"ROI"
min-width=
"70"
:formatter=
"(row, col, val) =>
val || '--'
"
></el-table-column>
<el-table-column
label=
"ROI"
prop=
"ROI"
min-width=
"70"
:formatter=
"(row, col, val) =>
(val == null ? '--' : `1:$
{val}`)
">
</el-table-column>
</el-table>
<div
class=
"chart-box"
>
<div
class=
"chart-member-count"
id=
"chart-member-count"
>
...
...
@@ -104,7 +104,7 @@ export default {
label
:
'ROI'
,
value
:
''
,
key
:
'ROI'
,
type
:
'r
ate
'
type
:
'r
oi
'
}
],
[
...
...
@@ -165,6 +165,9 @@ export default {
case
'rate'
:
item
.
value
=
value
==
null
?
'--'
:
value
;
break
;
case
'roi'
:
item
.
value
=
value
==
null
?
'--'
:
`1:
${
value
}
`
;
break
;
}
return
item
;
});
...
...
@@ -302,12 +305,9 @@ export default {
.
finally
(()
=>
(
this
.
comparative
.
loading
=
false
));
},
onComparativeChange
()
{
if
(
!
this
.
comparative
.
type
)
{
this
.
comparative
.
subTypeLeft
=
''
;
this
.
comparative
.
subTypeRight
=
''
;
this
.
comparative
.
data
=
[];
return
;
}
this
.
comparative
.
subTypeLeft
=
''
;
this
.
comparative
.
subTypeRight
=
''
;
this
.
comparative
.
data
=
[];
this
.
getComparativeData
();
},
onSubComparativeChange
()
{
...
...
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