diff --git a/src/views/modules/heart/actbanner.vue b/src/views/modules/heart/actbanner.vue index b566fdda..408c2e61 100644 --- a/src/views/modules/heart/actbanner.vue +++ b/src/views/modules/heart/actbanner.vue @@ -41,6 +41,7 @@ + {{ changeGroundingText(scope.row.status) }} diff --git a/src/views/modules/heart/actinfo-add-or-update.vue b/src/views/modules/heart/actinfo-add-or-update.vue index 22789cac..03ac66f0 100644 --- a/src/views/modules/heart/actinfo-add-or-update.vue +++ b/src/views/modules/heart/actinfo-add-or-update.vue @@ -69,6 +69,16 @@ 不限名额 + + 报名未审核人员: + 活动已开始,未审核报名人员,可设置默认状态是否通过 + + + 通过 + 不通过 + @@ -305,6 +315,7 @@ export default { punishmentPoints: '', reward: '', isBanner:"1", + actUserDefaultState: '1', bannerUrl:"" }, mapSelectVisible:false, diff --git a/src/views/modules/heart/actinfo-detail-view.vue b/src/views/modules/heart/actinfo-detail-view.vue index e7733c58..5cbb2969 100644 --- a/src/views/modules/heart/actinfo-detail-view.vue +++ b/src/views/modules/heart/actinfo-detail-view.vue @@ -36,12 +36,17 @@ prop="actQuota"> {{dataForm.actQuotaCategory != '0' ? dataForm.actQuota+'人':'不限名额'}} - - - - - + + 报名未审核人员: + 活动已开始,未审核报名人员,可设置默认状态是否通过 + + + 通过 + 不通过 + @@ -192,7 +197,8 @@ export default { sponsor: '', deptId: '', punishmentPoints: '', - reward: '', + actUserDefaultState: '1', + reward: '' } } }, diff --git a/src/views/modules/heart/actinfo-list.vue b/src/views/modules/heart/actinfo-list.vue index 8b77c242..d70c9d88 100644 --- a/src/views/modules/heart/actinfo-list.vue +++ b/src/views/modules/heart/actinfo-list.vue @@ -56,7 +56,7 @@ 报名管理 - 打卡积分 + 打卡积分 @@ -76,6 +76,7 @@ + @@ -87,6 +88,7 @@ import AddOrUpdate from './actinfo-add-or-update' import ActinfoDetailView from './actinfo-detail-view' import ActUserRelation from './actuserrelation' import ActinfoCancel from './actinfo-cancel' +import ActUserClockLog from './actuserclocklog' export default { mixins: [mixinViewModule], name: 'ActInfoList', @@ -105,6 +107,7 @@ export default { actInfoDetailVisible: false, actUserRelationVisible: false, actInfoCancelVisible: false, + actUserClockLogVisible: false, pickerBeginDateBefore: { disabledDate: (time) => { let beginDateVal = this.dataForm.startTime @@ -127,7 +130,8 @@ export default { AddOrUpdate, ActinfoDetailView, ActUserRelation, - ActinfoCancel + ActinfoCancel, + ActUserClockLog }, created: function () { this.getDataList(); @@ -145,6 +149,10 @@ export default { this.$parent.selectComponent = 'ActUserRelation' this.$router.push({ path: '/heart-actinfo', query: { id: id } }) }, + clockManage (id) { + this.$parent.selectComponent = 'ActUserClockLog' + this.$router.push({ path: '/heart-actinfo', query: { id: id } }) + }, formatState: function (row, column) { let state = row.actStatus if (state === '1') { diff --git a/src/views/modules/heart/actinfo.vue b/src/views/modules/heart/actinfo.vue index 6081a4ff..a707d477 100644 --- a/src/views/modules/heart/actinfo.vue +++ b/src/views/modules/heart/actinfo.vue @@ -8,6 +8,8 @@ import ActInfoList from './actinfo-list' import ActInfoDetailView from './actinfo-detail-view' import ActInfoAdd from './actinfo-add-or-update' import ActUserRelation from './actuserrelation' +import ActUserClockLog from './actuserclocklog' +import ActUserClockDetail from './actuserclock-detail' export default { data () { return { @@ -18,7 +20,9 @@ export default { ActInfoList, ActInfoDetailView, ActInfoAdd, - ActUserRelation + ActUserRelation, + ActUserClockLog, + ActUserClockDetail }, methods: { init () { diff --git a/src/views/modules/heart/actuserclock-detail.vue b/src/views/modules/heart/actuserclock-detail.vue new file mode 100644 index 00000000..86e63ccd --- /dev/null +++ b/src/views/modules/heart/actuserclock-detail.vue @@ -0,0 +1,389 @@ + + + + 处理操作 + + + 确认加积分 + 拒绝加积分 + + + + + + {{ $t('confirm') }} + {{ '返回' }} + + + + 打卡位置: {{dataForm.address}} + + + + + 打卡详情 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/modules/heart/actuserclocklog-add-or-update.vue b/src/views/modules/heart/actuserclocklog-add-or-update.vue new file mode 100644 index 00000000..baa5984c --- /dev/null +++ b/src/views/modules/heart/actuserclocklog-add-or-update.vue @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + diff --git a/src/views/modules/heart/actuserclocklog.vue b/src/views/modules/heart/actuserclocklog.vue new file mode 100644 index 00000000..5aa9ce39 --- /dev/null +++ b/src/views/modules/heart/actuserclocklog.vue @@ -0,0 +1,133 @@ + + + + + + 返回 + + + + + + + + + + + + + + + 注册时间 + + + {{ $t('query') }} + + + + + + + + + + + + + + + + + + 查看 + + + + + + + + + + + + diff --git a/src/views/modules/heart/actuserrelation.vue b/src/views/modules/heart/actuserrelation.vue index 64cf1ed8..bd1c6bd6 100644 --- a/src/views/modules/heart/actuserrelation.vue +++ b/src/views/modules/heart/actuserrelation.vue @@ -80,7 +80,9 @@ export default { id: '', actId: '', startTime: '', - endTime: '' + endTime: '', + realName: '', + mobile: '' }, addOrUpdateVisible: false, detailVisible: false @@ -120,6 +122,10 @@ export default { return '取消报名' } else if (state === '4') { return '审核不通过' + } else if (state === '5') { + return '确认加积分' + } else if (state === '6') { + return '拒绝加积分' } }, formatSex: function (row, column) {