fix 修复 !pr107 遗留问题

update 优化 岗位下拉框样式问题
This commit is contained in:
疯狂的狮子Li
2024-04-24 23:45:26 +08:00
parent 7ed5f33e7b
commit e2254651ca
3 changed files with 28 additions and 16 deletions

View File

@ -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
}
});
}