|
|
@@ -19,22 +19,28 @@
|
|
|
|
|
|
<template #table-column-avatarUrl="{scope}">
|
|
|
<cl-avatar
|
|
|
- :size="30"
|
|
|
+ :size="25"
|
|
|
:src="scope.row.smallAvatarUrl | default_avatar"
|
|
|
:style="{ margin: 'auto' }"
|
|
|
></cl-avatar>
|
|
|
+
|
|
|
</template>
|
|
|
|
|
|
<template #table-column-id="{scope}">
|
|
|
- <span @click="detailShowFn(scope.row)">{{ scope.row.id }}</span>
|
|
|
+ <span >{{ scope.row.id }}</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template #table-column-mobile="{scope}">
|
|
|
+ <span v-if="scope.row.mobile != ''">{{ scope.row.mobile }}</span>
|
|
|
+ <span v-else>-</span>
|
|
|
</template>
|
|
|
|
|
|
<template #table-column-userName="{scope}">
|
|
|
- <div class="user-name-warp">
|
|
|
- <i v-if="scope.row.source == 0" class="iconfont iconweixinlaiyuan"></i>
|
|
|
- <i v-if="scope.row.source == 1" class="iconfont iconzhifubao"></i>
|
|
|
- <span>{{ scope.row.userName }}</span>
|
|
|
- </div>
|
|
|
+
|
|
|
+
|
|
|
+ <el-link :underline="false" @click="detailShowFn(scope.row)" style="font-size:12px;">{{ scope.row.userName}}</el-link>
|
|
|
+
|
|
|
+
|
|
|
</template>
|
|
|
|
|
|
<template #table-column-balance="{scope}">
|
|
|
@@ -48,18 +54,18 @@
|
|
|
<template #table-column-subscribe="{scope}">
|
|
|
<div class="store-icon">
|
|
|
<i
|
|
|
- class="el-icon-check"
|
|
|
+ class="el-icon-success"
|
|
|
v-if="scope.row.subscribe == 1"
|
|
|
- style="color:#FEE470"
|
|
|
+ style="color:#67C23A"
|
|
|
></i>
|
|
|
- <i class="el-icon-close" v-else style="color: #999"></i>
|
|
|
+ <i class="el-icon-success" v-else style="color:#C0C4CC"></i>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<template #table-column-store="{scope}">
|
|
|
<div class="store-icon">
|
|
|
- <i class="el-icon-check" v-if="scope.row.store == 1" style="color:#FEE470"></i>
|
|
|
- <i class="el-icon-close" v-else style="color: #999"></i>
|
|
|
+ <i class="el-icon-s-shop" v-if="scope.row.store == 1" style="color:#67C23A"></i>
|
|
|
+ <i class="el-icon-s-shop" v-else style="color:#C0C4CC"></i>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -310,12 +316,14 @@ export default {
|
|
|
{
|
|
|
prop: 'id',
|
|
|
label: 'ID',
|
|
|
- align: 'center'
|
|
|
+ align: 'center',
|
|
|
+ width: 100
|
|
|
},
|
|
|
{
|
|
|
prop: 'avatarUrl',
|
|
|
label: '头像',
|
|
|
- align: 'center'
|
|
|
+ align: 'center',
|
|
|
+ width: 80
|
|
|
},
|
|
|
{
|
|
|
prop: 'userName',
|
|
|
@@ -325,7 +333,14 @@ export default {
|
|
|
{
|
|
|
prop: 'mobile',
|
|
|
label: '手机号',
|
|
|
- align: 'center'
|
|
|
+ align: 'center',
|
|
|
+ width: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: 'store',
|
|
|
+ label: '到店',
|
|
|
+ align: 'center',
|
|
|
+ width: 100
|
|
|
},
|
|
|
{
|
|
|
prop: 'actPrice',
|
|
|
@@ -334,13 +349,13 @@ export default {
|
|
|
emptyText: '无'
|
|
|
},
|
|
|
{
|
|
|
- prop: 'balance',
|
|
|
- label: '余额',
|
|
|
+ prop: 'growth',
|
|
|
+ label: '成长值',
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
|
- prop: 'growth',
|
|
|
- label: '成长值',
|
|
|
+ prop: 'balance',
|
|
|
+ label: '余额',
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
|
@@ -350,12 +365,6 @@ export default {
|
|
|
sortable: false,
|
|
|
width: 150
|
|
|
},
|
|
|
- {
|
|
|
- prop: 'store',
|
|
|
- label: '到店',
|
|
|
- align: 'center',
|
|
|
- width: 150
|
|
|
- },
|
|
|
{
|
|
|
prop: 'visitTimeFormat',
|
|
|
label: '最近访问',
|