From cb723cc3373d81d0cb19b1b29b378d2a32c6016d Mon Sep 17 00:00:00 2001 From: zhangyongzhangyong <2012005003@qq.com> Date: Sun, 26 Sep 2021 09:45:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E4=B8=8E=E6=B4=BB=E5=8A=A8=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/user/volunteer-act-record.vue | 68 +++++++++++++++++++ src/views/modules/user/volunteerinfo.vue | 22 +++++- 2 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 src/views/modules/user/volunteer-act-record.vue diff --git a/src/views/modules/user/volunteer-act-record.vue b/src/views/modules/user/volunteer-act-record.vue new file mode 100644 index 0000000..b407e2b --- /dev/null +++ b/src/views/modules/user/volunteer-act-record.vue @@ -0,0 +1,68 @@ + + + diff --git a/src/views/modules/user/volunteerinfo.vue b/src/views/modules/user/volunteerinfo.vue index 50aa501..6fa692e 100644 --- a/src/views/modules/user/volunteerinfo.vue +++ b/src/views/modules/user/volunteerinfo.vue @@ -133,6 +133,11 @@ size="small" @click="pointsLogs(scope.row.userId)">积分记录 +
+ 参与活动记录 +
@@ -163,6 +168,10 @@ + + @@ -174,6 +183,7 @@ import volunteerinfoDetail from './volunteerinfo-detail' import volunteerinfoPointsAdjust from '../points/volunteerinfo-points-adjust' import volunteerPointsLog from '../points/volunteer-points-log' import volunteerinfoCheck from './volunteerinfo-check' +import volunteerActRecord from './volunteer-act-record' import Cookies from 'js-cookie' import qs from 'qs' export default { @@ -218,6 +228,7 @@ export default { volunteerinfoPointsAdjustVisible: false, volunteerPointsLogVisible: false, volunteerinfoCheckVisible: false, + volunteerActRecordVisible: false, volunteerDepts: [] } }, @@ -303,6 +314,14 @@ export default { this.$refs.volunteerPointsLog.init() }) }, + // 参与活动记录 + actRecordHandle (userId) { + this.volunteerActRecordVisible = true + this.$nextTick(() => { + this.$refs.volunteerActRecord.dataForm.userId = userId + this.$refs.volunteerActRecord.init() + }) + }, // 性别状态转换 sexState: function (row, column) { let state = row.sex @@ -353,7 +372,8 @@ export default { volunteerinfoDetail, volunteerinfoPointsAdjust, volunteerinfoCheck, - volunteerPointsLog + volunteerPointsLog, + volunteerActRecord } }