From 21fc5b6ada4003628b05b42e0de2330ddc8fd724 Mon Sep 17 00:00:00 2001 From: AprilWind <2100166581@qq.com> Date: Tue, 23 Apr 2024 17:30:26 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E6=96=B0=E5=A2=9E=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=B2=97=E4=BD=8D=E9=80=89=E6=8B=A9=E6=A1=86=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/post/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/api/system/post/index.ts b/src/api/system/post/index.ts index 3e523ab..1b565a8 100644 --- a/src/api/system/post/index.ts +++ b/src/api/system/post/index.ts @@ -19,6 +19,15 @@ export function getPost(postId: string | number): AxiosPromise { }); } +// 获取岗位选择框列表 +export function optionselect(query: PostQuery): AxiosPromise { + return request({ + url: '/system/post/optionselect', + method: 'get', + params: query + }); +} + // 新增岗位 export function addPost(data: PostForm) { return request({