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