diff --git a/src/apis/system/post.ts b/src/apis/system/post.ts index 967736b..387438f 100644 --- a/src/apis/system/post.ts +++ b/src/apis/system/post.ts @@ -43,3 +43,10 @@ export function updatePost(postId: string, data: T.PostUpdateReq) { */ export function deletePost(postId: string) { } + +/** + * 查询岗位下的用户信息 + */ +export function getPostUsers(postId: string) { + return http.get(`${BASE_URL}/${postId}/user`); +} \ No newline at end of file diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue index 64cff0a..1d698d9 100644 --- a/src/views/system/post/index.vue +++ b/src/views/system/post/index.vue @@ -1,14 +1,14 @@