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
826b92f5
Commit
826b92f5
authored
May 26, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:触达效果
parent
68c64905
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
10 deletions
+17
-10
list.vue
src/views/ecm/list.vue
+3
-3
touch-clue.vue
src/views/ecm/touch-clue.vue
+0
-1
card-profit.vue
src/views/ecm/touch-components/card-profit.vue
+14
-6
No files found.
src/views/ecm/list.vue
View file @
826b92f5
...
...
@@ -200,14 +200,14 @@ export default {
}
},
{
label
:
'卡券收益'
,
// 字段名需要更改------------------------------------------------
prop
:
'
ecmTranIncome
'
,
label
:
'卡券收益'
,
prop
:
'
cardSalesAmt
'
,
minWidth
:
'120'
,
align
:
'left'
,
formatter
(
row
)
{
let
openFlag
=
JSON
.
parse
(
row
.
analyseJson
);
if
(
!
openFlag
)
openFlag
=
{};
return
openFlag
.
open_flag
==
0
||
(
!
row
.
ecmTranIncome
&&
row
.
ecmTranIncome
!=
0
)
?
'--'
:
row
.
ecmTranIncome
.
toFixed
(
2
);
return
openFlag
.
open_flag
==
0
||
(
!
row
.
cardSalesAmt
&&
row
.
cardSalesAmt
!=
0
)
?
'--'
:
row
.
cardSalesAmt
.
toFixed
(
2
);
}
}
],
...
...
src/views/ecm/touch-clue.vue
View file @
826b92f5
...
...
@@ -279,7 +279,6 @@ export default {
}
meth
(
params
).
then
(
res
=>
{
this
.
tableList
=
[];
console
.
log
(
res
.
result
);
if
(
!
res
.
result
.
result
||
!
res
.
result
.
result
.
length
)
return
;
// 拼接表头数据
let
resetArr
=
[];
...
...
src/views/ecm/touch-components/card-profit.vue
View file @
826b92f5
...
...
@@ -4,7 +4,7 @@
<h2>
卡券收益
</h2>
<span>
计划中的卡券,计划中卡券触达的人群使用该卡券消费的收益,包含已过计划收益有效期的数据
</span>
</div>
<template
v-if=
"
isCardProfit
"
>
<template
v-if=
"
tableData.length
"
>
<div
class=
"list"
>
<div
class=
"list_left"
>
<div>
...
...
@@ -35,12 +35,15 @@
<
/div
>
<
/div
>
<
/div
>
<
el
-
table
:
data
=
"tableData"
v
-
if
=
"tableData.length"
style
=
"margin-bottom:47px"
max
-
height
=
"710"
>
<
el
-
table
-
column
:
prop
=
"cardName"
label
=
"卡券名称"
min
-
width
=
"1
0
0"
>
<
el
-
table
:
data
=
"tableData"
v
-
if
=
"tableData.length
> 1
"
style
=
"margin-bottom:47px"
max
-
height
=
"710"
>
<
el
-
table
-
column
:
prop
=
"cardName"
label
=
"卡券名称"
min
-
width
=
"1
5
0"
>
<
template
slot
-
scope
=
"scope"
>
<
div
class
=
"name"
v
-
if
=
"scope.row.cardName"
>
<
div
class
=
"top"
>
{{
scope
.
row
.
cardName
}}
<
span
v
-
if
=
"scope.row.cardName.length <= 15"
>
{{
scope
.
row
.
cardName
}}
<
/span
>
<
el
-
tooltip
open
-
delay
=
"100"
placement
=
"top-start"
:
content
=
"scope.row.cardName"
v
-
else
>
<
span
class
=
"card_name"
>
{{
scope
.
row
.
cardName
}}
<
/span
>
<
/el-tooltip
>
<
span
class
=
"type"
>
{{
scope
.
row
.
cardType
==
0
?
'抵金券'
:
scope
.
row
.
cardType
==
1
?
'折扣券'
:
scope
.
row
.
cardType
==
2
?
'兑换券'
:
'--'
}}
<
/span
>
<
/div
>
<
p
>
{{
scope
.
row
.
subTitle
}}
<
/p
>
...
...
@@ -79,7 +82,6 @@ export default {
}
,
data
()
{
return
{
isCardProfit
:
true
,
// 是否使用卡券营销
tableHeader
:
[
{
label
:
'触达人数'
,
prop
:
'touchMbrNum'
,
minWidth
:
'160'
,
align
:
'left'
,
fixed
:
'left'
,
formatter
:
row
=>
this
.
formatterNum
(
row
.
touchMbrNum
)
}
,
{
label
:
'领取人数'
,
prop
:
'getMbrNum'
,
minWidth
:
'160'
,
align
:
'left'
,
fixed
:
'left'
,
formatter
:
row
=>
this
.
formatterNum
(
row
.
getMbrNum
)
}
,
...
...
@@ -188,7 +190,7 @@ export default {
display
:
inline
-
block
;
width
:
42
px
;
height
:
16
px
;
line
-
height
:
1
8
px
;
line
-
height
:
1
6
px
;
text
-
align
:
center
;
background
:
#
fff1f0
;
border
-
radius
:
2
px
;
...
...
@@ -197,6 +199,12 @@ export default {
color
:
#
f5222d
;
margin
-
left
:
6
px
;
}
.
card_name
{
white
-
space
:
nowrap
;
text
-
overflow
:
ellipsis
;
overflow
:
hidden
;
max
-
width
:
210
px
;
}
}
p
{
font
-
size
:
12
px
;
...
...
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