[update] 通过ids获取用户信息接口改成post请求

This commit is contained in:
danshihao
2024-03-29 09:02:31 +08:00
parent 6c4155b94f
commit fa6ecd1089
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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 {
+2 -2
View File
@@ -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 {