shish 5 лет назад
Родитель
Сommit
b330e569d8
1 измененных файлов с 19 добавлено и 13 удалено
  1. 19 13
      ghs/src/views/member/list.vue

+ 19 - 13
ghs/src/views/member/list.vue

@@ -12,8 +12,8 @@
 				</el-tabs>
 			</template>
 
-			<template #table-column-avatarUrl="{scope}">
-				<cl-avatar :size="22" :src="scope.row.smallAvatarUrl" :style="{ margin: 'auto' }"></cl-avatar>
+			<template #table-column-avatar="{scope}">
+				<cl-avatar :size="22" :src="scope.row.avatar" :style="{ margin: 'auto' }"></cl-avatar>
 			</template>
 
 			<template #table-column-id="{scope}">
@@ -150,16 +150,16 @@ export default {
 							width: 120
 						},
 						{
-							prop: 'avatarUrl',
+							prop: 'avatar',
 							label: '头像',
 							align: 'center',
 							width: 120
 						},
 						{
 							prop: 'name',
-							label: '称',
+							label: '称',
 							align: 'center',
-							width: 280
+							width: 230
 						},
 						{
 							prop: 'mobile',
@@ -168,22 +168,28 @@ export default {
 							width: 180
 						},
 						{
-							prop: 'growth',
-							label: '成长值',
+							prop: 'buyAmount',
+							label: '累计消费',
 							align: 'center',
-							width: 200
+							width: 120
 						},
 						{
-							prop: 'store',
-							label: '已到店',
+							prop: 'buyNum',
+							label: '累计次数',
 							align: 'center',
 							width: 120
 						},
 						{
-							prop: 'sourceType',
-							label: '来源',
+							prop: 'recharge',
+							label: '累计充值',
 							align: 'center',
-							width: 120
+							width: 150
+						},
+						{
+							prop: 'growth',
+							label: '成长值',
+							align: 'center',
+							width: 150
 						},
 						{
 							prop: 'visitTime',