Commit d6cdf300 by liuchenxi

update: 增加全部选项

parent 6cea4d27
......@@ -2,7 +2,7 @@
<div class="detail-table">
<div class="top">
<div class="left">
<el-input v-model="search.searchKey" @change="getTableData" placeholder="请输入GIC短信模板ID/模板名称/模板内容" prefix-icon="el-icon-search" style="width: 260px" />
<el-input v-model="search.searchKey" @change="getTableData" placeholder="请输入GIC短信模板ID/模板名称/模板内容" prefix-icon="el-icon-search" style="width: 315px" />
<el-select v-model="search.smsType" @change="getTableData" placeholder="请选择模板类型" class="w148 ml10">
<el-option v-for="item in smsList" :key="item.value" :value="item.value" :label="item.label" />
</el-select>
......@@ -81,10 +81,12 @@ export default {
data() {
return {
smsList: [
{ label: '全部', value: null },
{ label: '普通短信', value: 0 },
{ label: '营销短信', value: 1 }
],
auditStatusList: [
{ label: '全部', value: null },
{ label: '已通过', value: 0 },
{ label: '审核中', value: 1 },
{ label: '未通过', value: 2 }
......@@ -196,7 +198,7 @@ export default {
return `
<p>模板ID:${data.templateId || '--'}</p>
<p>状态:${status}</p>
${data.status == 2 ? '<p>原因:<span style="color:red">' + data.auditResult + '</span></p>' : ''}
${data.status == 2 ? '<p>原因:<span style="color:red">' + (data.auditResult || '--') + '</span></p>' : ''}
<p>反馈时间:${data.updateTime ? getTime(data.updateTime) + ' ' + getSeconds(data.updateTime) : '--'}</p>
`;
}
......
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