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
13a852fd
Commit
13a852fd
authored
Mar 15, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 短信营销详情添加营销类型
parent
de9d05c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
consume.vue
src/views/recharge/consume.vue
+11
-2
No files found.
src/views/recharge/consume.vue
View file @
13a852fd
...
...
@@ -10,12 +10,15 @@
<div
v-else
class=
"pb20"
style=
"overflow:hidden;"
>
<div
class=
"flex_between"
>
<div>
<el-date-picker
:disabled=
"loading"
:clearable=
"false"
:pickerOptions=
"pickerOptions"
v-model=
"dateTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"onSearch"
@
click
.
native=
"minDate = null"
></el-date-picker>
<el-date-picker
:disabled=
"loading"
:clearable=
"false"
:pickerOptions=
"pickerOptions"
v-model=
"dateTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"onSearch"
@
click
.
native=
"minDate = null"
style=
"width: 280px"
></el-date-picker>
<el-input
v-model=
"listParams.searchParam"
:style=
"setInputWidth()"
:placeholder=
"placeholder"
clearable
@
change=
"onSearch"
><i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i></el-input>
<el-select
v-if=
"$route.params.type === 'sms'"
class=
"dm-select"
v-model=
"listParams.channelType"
clearable
placeholder=
"选择类型"
@
change=
"onSearch"
>
<el-option
label=
"会员验证码"
value=
"1"
></el-option>
<el-option
label=
"导购验证码"
value=
"2"
></el-option>
</el-select>
<el-select
v-if=
"$route.params.type == 'marketing'"
placeholder=
"请选择营销类型"
style=
"width: 160px"
>
<el-option
v-for=
"el in marketingTypeList"
:key=
"el.value"
:label=
"el.label"
:value=
"el.value"
></el-option>
</el-select>
<select-depart
v-if=
"isMoreAccount && config.showAllDepartment"
:data=
"deparment"
@
load=
"load"
@
getDepartId=
"getDepartId"
@
remote-search=
"remoteSearch"
:loading=
"deparment.loading"
/>
<span
class=
"fz12 gray"
>
* 此处仅支持筛选近半年的统计数据,最大查询区间为1个月
</span>
</div>
...
...
@@ -51,6 +54,7 @@
<p
class=
"gray"
>
{{
scope
.
row
.
storeGroupName
}}
</p>
</
template
>
</el-table-column>
<el-table-column
min-width=
"90"
label=
"营销类型"
></el-table-column>
<el-table-column
label=
"触发计划名称"
:show-overflow-tooltip=
"true"
align=
"left"
min-width=
"110"
prop=
"sourceName"
>
<
template
slot-scope=
"{ row }"
>
{{
row
.
sourceName
||
'--'
}}
</
template
>
</el-table-column>
...
...
@@ -294,6 +298,11 @@ export default {
mixins
:
[
intel
],
data
()
{
return
{
marketingTypeList
:
[
{
label
:
'智能营销'
,
value
:
'1'
},
{
label
:
'AI营销'
,
value
:
'2'
},
{
label
:
'短信群发'
,
value
:
'3'
}
],
// eslint-disable-next-line
defaultAvatar
:
require
(
'../../assets/img/head_default.png'
),
formatDateTimeByType
,
...
...
@@ -403,7 +412,7 @@ export default {
let
width
=
250
;
switch
(
this
.
$route
.
params
.
type
)
{
case
'marketing'
:
width
=
40
0
;
width
=
35
0
;
break
;
case
'call'
:
case
'record'
:
...
...
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