Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
member
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
member
member
Commits
13171bc3
Commit
13171bc3
authored
Jan 26, 2022
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 增加字段啊
parent
c0937291
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
18 deletions
+20
-18
message.vue
src/components/marketingRecord/components/message.vue
+2
-2
index.vue
src/components/marketingRecord/index.vue
+18
-16
No files found.
src/components/marketingRecord/components/message.vue
View file @
13171bc3
...
...
@@ -2,7 +2,7 @@
<div
class=
"marketing-message mt5"
>
<div
class=
"search"
>
<el-date-picker
value-format=
"yyyy-MM-dd"
class=
"w256"
:pickerOptions=
"pickerOptions"
v-model=
"time"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"change"
></el-date-picker>
<el-select
class=
"ml10 w160"
v-model=
"search.s
y
sType"
placeholder=
"所有模板类型"
clearable
@
change=
"change"
>
<el-select
class=
"ml10 w160"
v-model=
"search.s
m
sType"
placeholder=
"所有模板类型"
clearable
@
change=
"change"
>
<el-option
v-for=
"item in sysTypeList"
:key=
"item.id"
:value=
"item.value"
:label=
"item.label"
/>
</el-select>
</div>
...
...
@@ -60,7 +60,7 @@ export default {
search
:
{
beginTime
:
''
,
endTime
:
''
,
s
y
sType
:
null
s
m
sType
:
null
},
sysTypeList
:
[
{
label
:
'普通短信'
,
value
:
0
},
...
...
src/components/marketingRecord/index.vue
View file @
13171bc3
...
...
@@ -127,13 +127,13 @@ export default {
{
label
:
"提交时间"
,
prop
:
"createDate"
,
minWidth
:
12
0
,
minWidth
:
8
0
,
formatter
(
row
)
{
return
`
${
dateformat
(
new
Date
(
row
.
createDate
),
'yyyy-MM-dd hh:mm:ss'
)}
`
;
}
},
{
label
:
"计划名称"
,
prop
:
"ecmName"
,
minWidth
:
120
},
{
label
:
"营销方式"
,
prop
:
"marketingType"
,
minWidth
:
12
0
,
formatter
(
row
)
{
{
label
:
"营销方式"
,
prop
:
"marketingType"
,
minWidth
:
6
0
,
formatter
(
row
)
{
const
type
=
row
.
marketingType
;
switch
(
type
)
{
case
'integral'
:
...
...
@@ -155,13 +155,15 @@ export default {
case
'card'
:
return
'卡券'
;
}
}
}
}
},
{
label
:
'营销内容'
,
prop
:
"eventTitle"
,
minWidth
:
180
}
];
this
.
cardTableData
.
tableHeader
=
[
{
label
:
"投放时间"
,
prop
:
"createDate"
,
minWidth
:
12
0
,
minWidth
:
8
0
,
formatter
(
row
)
{
return
`
${
dateformat
(
new
Date
(
row
.
createDate
),
'yyyy-MM-dd hh:mm:ss'
)}
`
;
}
...
...
@@ -169,14 +171,14 @@ export default {
{
label
:
"领取时间"
,
prop
:
"receiveTime"
,
minWidth
:
12
0
,
minWidth
:
8
0
,
formatter
(
row
)
{
return
`
${
dateformat
(
new
Date
(
row
.
receiveTime
),
'yyyy-MM-dd hh:mm:ss'
)}
`
;
}
},
{
label
:
"卡券名称"
,
prop
:
"cardName"
,
minWidth
:
1
2
0
,
},
{
label
:
"卡券代码"
,
prop
:
"cardCode"
,
minWidth
:
1
2
0
,
},
{
label
:
"卡券类型"
,
prop
:
"cardType"
,
minWidth
:
12
0
,
formatter
(
row
)
{
{
label
:
"卡券名称"
,
prop
:
"cardName"
,
minWidth
:
1
0
0
,
},
{
label
:
"卡券代码"
,
prop
:
"cardCode"
,
minWidth
:
1
0
0
,
},
{
label
:
"卡券类型"
,
prop
:
"cardType"
,
minWidth
:
6
0
,
formatter
(
row
)
{
const
type
=
row
.
cardType
;
switch
(
type
)
{
case
1
:
...
...
@@ -189,33 +191,33 @@ export default {
}
},
{
label
:
"投放途径"
,
prop
:
"receiveCode"
,
minWidth
:
120
,
},
{
label
:
"来源明细"
,
prop
:
""
,
minWidth
:
120
,
}
{
label
:
"来源明细"
,
prop
:
"
receiveTypeExcel
"
,
minWidth
:
120
,
}
];
this
.
messageTableData
.
tableHeader
=
[
{
label
:
"发送时间"
,
prop
:
"createDate"
,
minWidth
:
12
0
,
minWidth
:
8
0
,
formatter
(
row
)
{
return
`
${
dateformat
(
new
Date
(
row
.
createDate
),
'yyyy-MM-dd hh:mm:ss'
)}
`
;
}
},
{
label
:
"模板类型"
,
prop
:
"smsType"
,
minWidth
:
12
0
,
formatter
(
row
)
{
{
label
:
"模板类型"
,
prop
:
"smsType"
,
minWidth
:
5
0
,
formatter
(
row
)
{
return
row
.
smsType
==
1
?
'营销短信'
:
'普通短信'
}
},
{
label
:
"模板名称"
,
prop
:
"smsTitle"
,
minWidth
:
12
0
,
},
{
label
:
"模板内容"
,
prop
:
"smsContent"
,
minWidth
:
1
20
}
{
label
:
"模板名称"
,
prop
:
"smsTitle"
,
minWidth
:
6
0
,
},
{
label
:
"模板内容"
,
prop
:
"smsContent"
,
minWidth
:
2
20
}
];
this
.
wechatTableData
.
tableHeader
=
[
{
label
:
"提交时间"
,
prop
:
"createDate"
,
minWidth
:
12
0
,
minWidth
:
8
0
,
formatter
(
row
)
{
return
`
${
dateformat
(
row
.
createDate
,
'yyyy-MM-dd hh-mm-ss'
)}
`
;
}
},
{
label
:
"素材类型"
,
prop
:
"contentType"
,
minWidth
:
12
0
,
formatter
(
row
)
{
{
label
:
"素材类型"
,
prop
:
"contentType"
,
minWidth
:
6
0
,
formatter
(
row
)
{
const
type
=
row
.
contentType
;
switch
(
type
)
{
case
0
:
...
...
@@ -227,7 +229,7 @@ export default {
}
}
},
{
label
:
"素材标题/文本内容"
,
prop
:
"title"
,
minWidth
:
1
20
,
formatter
(
row
)
{
{
label
:
"素材标题/文本内容"
,
prop
:
"title"
,
minWidth
:
2
20
,
formatter
(
row
)
{
return
row
.
title
;
}
}
...
...
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