|
@@ -96,7 +96,7 @@
|
|
<template slot="joinCustomers" slot-scope="text, record">
|
|
<template slot="joinCustomers" slot-scope="text, record">
|
|
<span class="joinCustomer" v-if="record.dealerScope ==='ALL_DEALER'" @click="handleCustomers(record)">全部客户</span>
|
|
<span class="joinCustomer" v-if="record.dealerScope ==='ALL_DEALER'" @click="handleCustomers(record)">全部客户</span>
|
|
<span class="joinCustomer" v-else @click="handleCustomers(record)">共有<span style="color:#39f;vertical-align:top;">{{ record.dealerSnList?record.dealerSnList.length:0 }}</span>个客户</span>
|
|
<span class="joinCustomer" v-else @click="handleCustomers(record)">共有<span style="color:#39f;vertical-align:top;">{{ record.dealerSnList?record.dealerSnList.length:0 }}</span>个客户</span>
|
|
- <a-badge count="审" v-show="record.dealerAuditFlag == 1 &&(record.state==='NOT_START'||record.state==='RUNNING') " :number-style="{ backgroundColor: '#f30', zoom:'80%' }" />
|
|
|
|
|
|
+ <a-badge count="审" v-show="record.dealerAuditFlag == 1 &&(record.state==='NOT_START'||record.state==='RUNNING') " :number-style="{ backgroundColor: '#F5222D', zoom:'80%' }" />
|
|
<!-- dealerAuditFlag 1 是 0否 -->
|
|
<!-- dealerAuditFlag 1 是 0否 -->
|
|
</template>
|
|
</template>
|
|
<!-- 发布状态 -->
|
|
<!-- 发布状态 -->
|
|
@@ -276,10 +276,10 @@ export default {
|
|
columns: [
|
|
columns: [
|
|
{ title: '序号', dataIndex: 'no', width: '5%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '5%', align: 'center' },
|
|
{ title: '创建时间', dataIndex: 'createDate', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '创建时间', dataIndex: 'createDate', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
- { title: '促销名称', scopedSlots: { customRender: 'promotionName' }, width: '18%', align: 'left' },
|
|
|
|
- { title: '促销简称', dataIndex: 'description', width: '14%', align: 'left', customRender: function (text) { return text || '--' } },
|
|
|
|
|
|
+ { title: '促销名称', scopedSlots: { customRender: 'promotionName' }, width: '16%', align: 'left' },
|
|
|
|
+ { title: '促销简称', dataIndex: 'description', width: '13%', align: 'left', customRender: function (text) { return text || '--' } },
|
|
{ title: '促销时间', scopedSlots: { customRender: 'promotionTime' }, width: '13%', align: 'center' },
|
|
{ title: '促销时间', scopedSlots: { customRender: 'promotionTime' }, width: '13%', align: 'center' },
|
|
- { title: '参与客户', scopedSlots: { customRender: 'joinCustomers' }, width: '7%', align: 'center', ellipsis: true },
|
|
|
|
|
|
+ { title: '参与客户', scopedSlots: { customRender: 'joinCustomers' }, width: '11%', align: 'center', ellipsis: true },
|
|
{ title: '促销描述', dataIndex: 'content', width: '15%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '促销描述', dataIndex: 'content', width: '15%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '创建人', dataIndex: 'creatorName', width: '10%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '创建人', dataIndex: 'creatorName', width: '10%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '活动状态', dataIndex: 'stateDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '活动状态', dataIndex: 'stateDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
|