From c64166a7c07b8619070f329b21b1109da9be5a3a Mon Sep 17 00:00:00 2001 From: Maple <869445424@qq.com> Date: Mon, 4 Aug 2025 17:27:42 +0800 Subject: [PATCH] =?UTF-8?q?add=EF=BC=9A=E6=B7=BB=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E5=B2=97=E4=BD=8D=E4=BF=A1=E6=81=AF=EF=BC=8C=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=E4=BA=86=E9=80=9A=E8=BF=87=E5=B2=97=E4=BD=8D=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=88=B0=E8=AF=A5=E5=B2=97=E4=BD=8D=E7=9A=84=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/system/post.ts | 7 ++ src/views/system/post/index.vue | 214 +++++++++++++++++++++++++++++--- 2 files changed, 207 insertions(+), 14 deletions(-) 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 @@