fix 修复 !pr107 遗留问题
update 优化 岗位下拉框样式问题
This commit is contained in:
@ -20,11 +20,14 @@ export function getPost(postId: string | number): AxiosPromise<PostVO> {
|
||||
}
|
||||
|
||||
// 获取岗位选择框列表
|
||||
export function optionselect(query: PostQuery): AxiosPromise<PostVO[]> {
|
||||
export function optionselect(deptId?: number | string, postIds?: (number | string)[]): AxiosPromise<PostVO[]> {
|
||||
return request({
|
||||
url: '/system/post/optionselect',
|
||||
method: 'get',
|
||||
params: query
|
||||
params: {
|
||||
postIds: postIds,
|
||||
deptId: deptId
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user