integrated_traffic_vue/src/request/user_practitioner.js

28 lines
928 B
JavaScript
Raw Normal View History

2024-03-22 14:59:41 +08:00
import { post, upload } from "@/request/axios.js";
// 从业人员管理列表
export const getPractitionerList = (params) =>
post("/user/getPractitionerPage", params);
// 从业人员审核
export const setPractitionerReview = (params) =>
post("/user/setPractitionerReview", params);
// 从业人员信息
export const getPractitionerInfo = (params) =>
post("/user/getPractitionerInfo", params);
export const getPractitionerForEdit = (params) => post("/user/getPractitionerForEdit", params); // 用户管理查看
// 从业人员添加(需从业人员确认)
export const setPractitionerAdd = (params) =>
upload("/user/setPractitionerAdd", params);
// 从业人员修改(需从业人员确认)
export const setPractitionerEdit = (params) =>
upload("/user/setPractitionerEdit", params);
// 从业人员解聘
export const setPractitionerDismissal = (params) =>
post("/user/setPractitionerDismissal", params);