From ed2b0176c8ccebd0dabf378746f96de8211ee54c Mon Sep 17 00:00:00 2001 From: Jackwang Date: Wed, 24 Nov 2021 09:47:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/heart/actinfo-add-or-update.vue | 6 +++--- src/views/modules/heart/volunteerteam-add-or-update.vue | 6 +++--- src/views/modules/heart/volunteerteam.vue | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/modules/heart/actinfo-add-or-update.vue b/src/views/modules/heart/actinfo-add-or-update.vue index e60316e..cf2af9c 100644 --- a/src/views/modules/heart/actinfo-add-or-update.vue +++ b/src/views/modules/heart/actinfo-add-or-update.vue @@ -417,7 +417,7 @@ export default { this.init() }, created () { - this.getTeamTypeList() + this.getSysTeamTypeList() this.$http .get(`/sys/user/deptOptions/getByLoginUser`) .then(({ data: res }) => { @@ -559,8 +559,8 @@ export default { }).catch(() => { }) }, - getTeamTypeList() { - this.$http.get(`heart/volunteerteamtype/getTeamTypeList`).then(({data: res}) => { + getSysTeamTypeList() { + this.$http.get(`heart/volunteerteamtype/getSysTeamTypeList`).then(({data: res}) => { this.teamTypeList = res.data }).catch(() => { }) diff --git a/src/views/modules/heart/volunteerteam-add-or-update.vue b/src/views/modules/heart/volunteerteam-add-or-update.vue index f5664f5..7f29226 100644 --- a/src/views/modules/heart/volunteerteam-add-or-update.vue +++ b/src/views/modules/heart/volunteerteam-add-or-update.vue @@ -97,11 +97,11 @@ export default { TinymceEditor }, created: function () { - this.getTeamTypeList() + this.getSysTeamTypeList() }, methods: { - getTeamTypeList () { - this.$http.get(`heart/volunteerteamtype/getTeamTypeList`).then(({ data: res }) => { + getSysTeamTypeList () { + this.$http.get(`heart/volunteerteamtype/getSysTeamTypeList`).then(({ data: res }) => { this.teamTypeList = res.data }).catch(() => {}) }, diff --git a/src/views/modules/heart/volunteerteam.vue b/src/views/modules/heart/volunteerteam.vue index a4a1409..024bd09 100644 --- a/src/views/modules/heart/volunteerteam.vue +++ b/src/views/modules/heart/volunteerteam.vue @@ -87,7 +87,7 @@ export default { VolunteerteamRelationUser }, created: function () { - this.getTeamTypeList() + this.getSysTeamTypeList() }, methods: { //选择用户按钮点击事件 @@ -98,8 +98,8 @@ export default { this.$refs.volunteerteamRelationUser.init() }) }, - getTeamTypeList() { - this.$http.get(`heart/volunteerteamtype/getTeamTypeList`).then(({data: res}) => { + getSysTeamTypeList() { + this.$http.get(`heart/volunteerteamtype/getSysTeamTypeList`).then(({data: res}) => { this.teamTypeList = res.data }).catch(() => { })