2025-11-08 17:22:58 +08:00
|
|
|
import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
|
|
|
|
|
|
|
|
|
|
export const corpInfoList = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/list",
|
|
|
|
|
);
|
2025-11-22 11:03:14 +08:00
|
|
|
export const corpInfoDetails = declareRequest(
|
2025-11-08 17:22:58 +08:00
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/info/{id}",
|
|
|
|
|
);
|
|
|
|
|
export const corpInfoAdd = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/save",
|
|
|
|
|
);
|
|
|
|
|
export const corpInfoEdit = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/edit",
|
|
|
|
|
);
|
|
|
|
|
export const corpInfoChangePassword = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/changePassword/{id}",
|
|
|
|
|
);
|
|
|
|
|
export const corpInfoChangeCompanyName = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/changeCompanyName",
|
|
|
|
|
);
|
|
|
|
|
export const corpInfoChangeUseFlag = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/changeUseFlag",
|
|
|
|
|
);
|
|
|
|
|
export const corpInfoRemove = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/remove/{id}",
|
|
|
|
|
);
|
|
|
|
|
export const corpInfoRemoveMultiple = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/ids",
|
|
|
|
|
);
|
|
|
|
|
export const corpUserMiddlePage = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/corpUserMiddlePage",
|
|
|
|
|
);
|
2025-11-22 11:03:14 +08:00
|
|
|
|
|
|
|
|
// 获取当前登录人信息
|
|
|
|
|
export const userGetInfo = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Get > /basic-info/user/getInfo",
|
|
|
|
|
);
|
|
|
|
|
export const corplnfoCheckCorpcode = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/checkCorpCode",
|
|
|
|
|
);
|
|
|
|
|
export const corplnfoCheckCorpName = declareRequest(
|
|
|
|
|
"enterpriseLoading",
|
|
|
|
|
"Post > @/basic-info/corpInfo/checkCorpName",
|
|
|
|
|
);
|