93 lines
2.2 KiB
JavaScript
93 lines
2.2 KiB
JavaScript
import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
|
|
|
|
export const userList = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/user/list",
|
|
);
|
|
|
|
export const userXgfList = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/user/listXgf",
|
|
);
|
|
|
|
export const userAdd = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/user/save",
|
|
);
|
|
export const userEdit = declareRequest(
|
|
"userLoading",
|
|
"Put > @/basicInfo/user/edit",
|
|
);
|
|
export const userDetails = declareRequest(
|
|
"userLoading",
|
|
"Get > /basicInfo/user/{id}",
|
|
);
|
|
export const userSaveXgfAdd = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/user/saveXgf",
|
|
);
|
|
export const userRemove = declareRequest(
|
|
"userLoading",
|
|
"Delete > @/basicInfo/user/{id}",
|
|
);
|
|
export const userRemoveIds = declareRequest(
|
|
"userLoading",
|
|
"Delete > @/basicInfo/user/ids?ids={ids}",
|
|
);
|
|
export const postAll = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/post/listAll",
|
|
);
|
|
// 股份端获取角色
|
|
export const rolesAll = declareRequest(
|
|
"userLoading",
|
|
"Get > /system/operation/roles",
|
|
);
|
|
// 获取角色
|
|
export const authRolesAll = declareRequest(
|
|
"userLoading",
|
|
"Get > /system/operation/roles/auth-role",
|
|
);
|
|
|
|
export const dictData = declareRequest(
|
|
"userLoading",
|
|
"Get > /config/dict-trees/list/by/dictValues?",
|
|
);
|
|
export const userEmploymentLogAll = declareRequest(
|
|
"userLoading",
|
|
"Get > /basicInfo/userEmploymentLog/listAll",
|
|
);
|
|
export const userChangePassword = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/user/changePassword/{id}",
|
|
);
|
|
|
|
// 校验用户名 手机号 身份证号是否重复
|
|
export const verifyUser = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/user/verifyUser",
|
|
);
|
|
|
|
// 根据登录密码获取手机号 身份证号
|
|
export const getEncryInfo = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/user/getEncryInfo",
|
|
);
|
|
|
|
// 离职
|
|
export const resignation = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/user/resignation",
|
|
);
|
|
// 通过驳回
|
|
export const reviewStatus = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/user/reviewStatus",
|
|
);
|
|
|
|
// 用户变更详情
|
|
export const getChangerRecordInfoById = declareRequest(
|
|
"userLoading",
|
|
"Post > @/basicInfo/userCorpRecord/getUserCorpRecordById",
|
|
);
|