[update] 通过ids获取用户信息接口改成post请求
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user