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