zcloud-gbs-eightwork-react/src/api/confinedSpaceWorkLedger/index.js

23 lines
766 B
JavaScript
Raw Normal View History

2026-03-31 15:15:59 +08:00
import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
export const confinedSpaceWorkLedgerList = declareRequest(
"confinedSpaceWorkLedgerLoading",
`Post > @/eightwork/confinedSpace/list`,
);
export const confinedSpaceWorkLedgerAdd = declareRequest(
"confinedSpaceWorkLedgerLoading",
`Post > @/eightwork/confinedSpace/save`,
);
export const confinedSpaceWorkLedgerUpdate = declareRequest(
"confinedSpaceWorkLedgerLoading",
`Put > @/eightwork/confinedSpace/edit`,
);
export const confinedSpaceWorkLedgerInfo = declareRequest(
"confinedSpaceWorkLedgerLoading",
`Get > /eightwork/confinedSpace/{id}`,
);
export const confinedSpaceWorkLedgerDelete = declareRequest(
"confinedSpaceWorkLedgerLoading",
`Delete > @/eightwork/confinedSpace/{id}`,
);