feat: 添加岗位管理页面demo

This commit is contained in:
xiaoxian521
2022-04-10 12:08:19 +08:00
parent 7b614716af
commit f348a5982b
10 changed files with 303 additions and 0 deletions

12
src/api/system.ts Normal file
View 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 });
};