|
@@ -60,8 +60,11 @@
|
|
|
<a-card size="small" :bordered="false">
|
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
|
<!-- 操作按钮 -->
|
|
|
- <div class="table-operator" v-if="$hasPermissions('B_dealerPromotionAdd')">
|
|
|
- <a-button id="promotionList-add" type="primary" @click="handleAdd">新增</a-button>
|
|
|
+ <div class="table-operator tableBtnSet" >
|
|
|
+ <a-button v-if="$hasPermissions('B_dealerPromotionAdd')" id="promotionList-add" type="primary" @click="handleAdd">新增</a-button>
|
|
|
+ <a-checkbox @change="onChange">
|
|
|
+ 待审核(修改参与客户)
|
|
|
+ </a-checkbox>
|
|
|
</div>
|
|
|
<!-- 列表 -->
|
|
|
<s-table
|
|
@@ -86,8 +89,9 @@
|
|
|
</template>
|
|
|
<!-- 参与客户 -->
|
|
|
<template slot="joinCustomers" slot-scope="text, record">
|
|
|
- <div v-if="record.dealerScope ==='ALL_DEALER'">全部客户</div>
|
|
|
- <div class="joinCustomer" v-else @click="handleCustomers(record)">共有<span style="color:#39f;vertical-align:top;">{{ record.dealerSnList?record.dealerSnList.length:0 }}</span>个客户</div>
|
|
|
+ <span v-if="record.dealerScope ==='ALL_DEALER'">全部客户</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="审" :number-style="{ backgroundColor: '#f30', zoom:'80%' }" />
|
|
|
</template>
|
|
|
<!-- 发布状态 -->
|
|
|
<template slot="releaseStatus" slot-scope="text, record">
|
|
@@ -453,5 +457,10 @@ export default {
|
|
|
.joinCustomer{
|
|
|
cursor:pointer;
|
|
|
}
|
|
|
+ .tableBtnSet{
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|