diff --git a/src/views/modules/user/volunteerinfo.vue b/src/views/modules/user/volunteerinfo.vue index 40e2e5d..2db56df 100644 --- a/src/views/modules/user/volunteerinfo.vue +++ b/src/views/modules/user/volunteerinfo.vue @@ -26,6 +26,16 @@ placeholder="昵称" clearable> + + + + + + {{ $t('query') }} {{ $t('export') }} @@ -88,6 +98,10 @@ :formatter="kindnessTimeState" header-align="center" align="center"> + { @@ -241,6 +258,19 @@ export default { } }, methods: { + // 获取信息 + getVolunteerDepts () { + this.$http.get(`/app-user/volunteerdept/volunteerdepts`).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.volunteerDepts = { + ...this.volunteerDepts, + ...res.data + } + console.log(JSON.stringify(this.volunteerDepts)) + }).catch(() => {}) + }, // 查看 userDetailHandle (userId) { this.volunteerinfoDetailVisible = true