This commit is contained in:
lcc
2025-07-26 13:11:55 +08:00
parent 1ba5738841
commit 124ec7b193
2 changed files with 31 additions and 28 deletions
+24 -27
View File
@@ -160,24 +160,26 @@
<template v-slot:couponBiz="{ row }">
<template v-if="row.coupon.userType === 1">所有门店</template>
<template v-else>
<div>{{ row.coupon.bizList['list'][0]['biz_name'] }}</div>
<div>
{{ row.coupon.bizList['list'][0]['province_name'] }}-{{
row.coupon.bizList['list'][0]['city_name']
}}
</div>
<div>
{{ row.coupon.bizList['list'][0]['address'] }}
</div>
<el-link
size="mini"
v-if="row.coupon.bizList['count'] > 1"
type="primary"
class="ele-btn-icon"
@click="showAllBizName(row.coupon.couponId)"
>
查看所有>>
</el-link>
<template v-if="row.coupon.bizList['list'][0]">
<div>{{ row.coupon.bizList['list'][0]['biz_name'] }}</div>
<div>
{{ row.coupon.bizList['list'][0]['province_name'] }}-{{
row.coupon.bizList['list'][0]['city_name']
}}
</div>
<div>
{{ row.coupon.bizList['list'][0]['address'] }}
</div>
<el-link
size="mini"
v-if="row.coupon.bizList['count'] > 1"
type="primary"
class="ele-btn-icon"
@click="showAllBizName(row.coupon.couponId)"
>
查看所有>>
</el-link>
</template>
</template>
<!--
{{ row.cityName[0] }}
@@ -207,10 +209,11 @@
<div> 开始时间:{{ row.coupon.timeStart }}</div>
<div> 结束时间:{{ row.coupon.timeEnd }}</div>
</template>
<!--用户画像-->
<template v-slot:crowdProfiling="{ row }">
<template v-for="(item, index) in crowdProfiling">
<el-tag
style="margin-top: 5px"
:key="index"
v-if="row.crowdProfiling.includes(item.dictDataId)"
size="small"
@@ -218,7 +221,7 @@
>
</template>
</template>
<!--核心买点-->
<template v-slot:couponSelling="{ row }">
<template v-for="(item, index) in couponSelling">
<el-tag
@@ -518,13 +521,7 @@
},
/* 重置搜索 */
reset() {
this.where = {
selectedCar: {
brandId: null,
seriesId: null,
modelId: null
}
};
this.where = {};
// 更新 key 强制组件重新渲染
this.componentKey = Date.now();
this.reload();
+7 -1
View File
@@ -123,6 +123,11 @@
<div>{{ row.belongUserName.username }}</div>
<div>{{ row.belongUserName.userCode }}</div>
</template>
<template v-slot:brandSeries="{ row }">
<div v-for="(item, index) in row.brandList" :key="index">{{
item
}}</div>
</template>
<!-- 操作列 -->
<template v-slot:action="{ row }">
<el-link type="primary" :underline="false" @click="goDetail(row)">
@@ -176,7 +181,8 @@
align: 'center',
minWidth: 80,
resizable: false,
showOverflowTooltip: true
showOverflowTooltip: true,
slot: 'brandSeries'
},
{
prop: 'statusCn',