mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
feat: 添加岗位管理页面demo
This commit is contained in:
12
src/api/system.ts
Normal file
12
src/api/system.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { http } from "../utils/http";
|
||||
|
||||
interface jobType extends Promise<any> {
|
||||
data?: object;
|
||||
code?: number;
|
||||
msg?: string;
|
||||
}
|
||||
|
||||
// 获取岗位管理列表
|
||||
export const getJobList = (data?: object): jobType => {
|
||||
return http.request("post", "/system", { data });
|
||||
};
|
||||
Reference in New Issue
Block a user