Commit ed00f0ce by 前端

BUG修复

1 parent 01c52c6c
......@@ -30,6 +30,32 @@
:table-params="tableParams"
:get-list-api="getListApi"
:before-search-fn="beforeSearchFn">
<div slot="merchantBrandHtml"
slot-scope="scope">
<template v-if="
scope.scope.merchantBrand && scope.scope.merchantBrand.split(',').length > 1
">
<span>{{ scope.scope.merchantBrand.split(',').slice(0, 1).join("") }}</span>
<el-popover placement="top"
width="fit-content"
trigger="hover">
<div :class="{ scrollHeight: scope.scope.merchantBrand.split(',').length >= 10 }">
<div v-for="(item, index) in scope.scope.merchantBrand.split(',')"
:key="index">
{{ item }}
</div>
</div>
<span class="more-info"
slot="reference">...({{ scope.scope.merchantBrand.split(',').length }})</span>
</el-popover>
</template>
<template v-else>
<span v-if="
!scope.scope.merchantBrand || !scope.scope.merchantBrand.split(',').length
">--</span>
<span v-else>{{ scope.scope.merchantBrand.split(',').join("") }}</span>
</template>
</div>
</d2-table>
</div>
<d2-dialog :title="'上传文件'"
......@@ -222,7 +248,8 @@ export default {
}, {
label: '门店品牌',
prop: 'merchantBrand',
width: '100'
addHtml: "merchantBrandHtml",
width: '180'
}, {
label: '角色',
prop: 'roleName',
......@@ -234,11 +261,11 @@ export default {
}, {
label: '积分分类',
prop: 'pointClassificationStr',
width: '100'
width: '120'
}, {
label: '积分类型',
prop: 'pointTypeStr',
width: '100'
width: '120'
}, {
label: '积分描述',
prop: 'pointDescription'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!