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

23 lines
766 B
JavaScript

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}`,
);