From 8a9f72c731f5f03f729b277fe5383e4c60cb475b Mon Sep 17 00:00:00 2001 From: songyunpeng Date: Wed, 31 Mar 2021 17:29:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=88=86=E7=B1=BB=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=8A=9F=E8=83=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/points/points-statistics.vue | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/views/modules/points/points-statistics.vue b/src/views/modules/points/points-statistics.vue index f8aaad0..0de1576 100644 --- a/src/views/modules/points/points-statistics.vue +++ b/src/views/modules/points/points-statistics.vue @@ -5,13 +5,13 @@ - + :key="item.behaviorCode" + :label="item.behaviorDesc" + :value="item.behaviorCode">    @@ -44,6 +44,10 @@ label="积分类别" header-align="center" align="center"> + { if (res.code !== 0) { return this.$message.error(res.msg) @@ -100,6 +104,14 @@ export default { } }, methods: { + pointsTypeFormatter: function (row, column) { + let pointsType = row.pointsType + if (pointsType === 1) { + return '加积分' + } else { + return '减积分' + } + }, realNameFormat (row, column) { if (row.realName) { return row.realName