From fa6ecd10892202b9643120be329a3edad62464ae Mon Sep 17 00:00:00 2001 From: danshihao Date: Fri, 29 Mar 2024 09:02:31 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E9=80=9A=E8=BF=87ids=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=94=B9=E6=88=90post=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SelectUser.vue | 4 ++-- src/components/SelectUserByWorkGroup.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/SelectUser.vue b/src/components/SelectUser.vue index ab817ed..f210055 100644 --- a/src/components/SelectUser.vue +++ b/src/components/SelectUser.vue @@ -136,7 +136,7 @@ import ListMixin from '../mixins/ListMixin' import CustomHeader from '@/components/CustomHeader' import { queryAllRole, queryDepartTreeList } from '../api/api' -import { getAction } from '@/api/manage' +import { postAction } from '@/api/manage' export default { name: 'SelectUser', @@ -262,7 +262,7 @@ export default { getUserListByIds (ids) { const params = {} params.userIds = ids - getAction(this.url.userListByIds, params).then((res) => { + postAction(this.url.userListByIds, params).then((res) => { if (res.success) { this.selectedDataArr = res.result || [] } else { diff --git a/src/components/SelectUserByWorkGroup.vue b/src/components/SelectUserByWorkGroup.vue index 768d611..8f381f5 100644 --- a/src/components/SelectUserByWorkGroup.vue +++ b/src/components/SelectUserByWorkGroup.vue @@ -135,7 +135,7 @@ import CustomHeader from '@/components/CustomHeader' import ListMixin from '@/mixins/ListMixin' import { getWorkGroupTreeList, queryAllRole } from '@/api/api' -import { getAction } from '@/api/manage' +import { postAction } from '@/api/manage' export default { name: 'SelectUserByWorkGroup', @@ -254,7 +254,7 @@ export default { getUserListByIds (ids) { const params = {} params.userIds = ids - getAction(this.url.userListByIds, params).then((res) => { + postAction(this.url.userListByIds, params).then((res) => { if (res.success) { this.selectedDataArr = res.result.map(item => { return {