Commit 13a852fd by caoyanzhi

update: 短信营销详情添加营销类型

parent de9d05c6
......@@ -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 = 400;
width = 350;
break;
case 'call':
case 'record':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment