Commit e0f2b174 by 陈羽

update: 计费中心-短信验证码-添加类型

parent 18b5970f
......@@ -31,6 +31,10 @@
<el-option v-for="item in taskTypeOptions" :key="item.taskType" :label="item.ecmName" :value="item.taskType"></el-option>
</el-select> -->
<el-input v-model="listParams.searchParam" :style="setInputWidth()" :placeholder="placeholder" clearable @change="loadAll(true)"><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="loadAll(true)">
<el-option label="会员验证码" value="1"></el-option>
<el-option label="导购验证码" value="2"></el-option>
</el-select>
</div>
<!-- 短信营销 -->
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-if="$route.params.type === 'marketing'">
......@@ -84,6 +88,11 @@
<el-table-column :show-overflow-tooltip="true" label="短信内容" align="left" min-width="200" prop="paramInfo">
<template slot-scope="scope">您的验证码是:{{ scope.row.paramInfo }} </template>
</el-table-column>
<el-table-column label="类型" align="left" min-width="100" prop="status">
<template slot-scope="scope">
{{ scope.row.channelType === 2100 ? '导购验证码' : '短信验证码' }}
</template>
</el-table-column>
<el-table-column label="状态" align="left" width="100" prop="status">
<template slot-scope="scope">
{{ scope.row.status === 1 ? '成功' : '失败' }}
......@@ -251,7 +260,8 @@ export default {
pageSize: 20,
beginTime: '',
endTime: '',
searchParam: ''
searchParam: '',
channelType: ''
},
total: 0,
taskType: '',
......
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