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 } }