23 lines
640 B
JavaScript
23 lines
640 B
JavaScript
|
|
import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
|
||
|
|
|
||
|
|
export const departmentList = declareRequest(
|
||
|
|
"departmentLoading",
|
||
|
|
"Post > @/basic-info/department/list",
|
||
|
|
);
|
||
|
|
export const departmentAdd = declareRequest(
|
||
|
|
"departmentLoading",
|
||
|
|
"Post > @/basic-info/department/save",
|
||
|
|
);
|
||
|
|
export const departmentEdit = declareRequest(
|
||
|
|
"departmentLoading",
|
||
|
|
"Post > @/basic-info/department/edit",
|
||
|
|
);
|
||
|
|
export const departmentDetails = declareRequest(
|
||
|
|
"departmentLoading",
|
||
|
|
"Post > @/basic-info/department/info/{id}",
|
||
|
|
);
|
||
|
|
export const departmentRemove = declareRequest(
|
||
|
|
"departmentLoading",
|
||
|
|
"Post > @/basic-info/department/remove/{id}",
|
||
|
|
);
|