2024-03-08 18:06:21 +08:00
|
|
|
import { post, upload } from "@/request/axios.js";
|
|
|
|
export const getSafetyCommitmentList = (params) =>
|
|
|
|
post("/commitment/listForSecurityCommitment", params); // 承诺书列表
|
|
|
|
|
2024-03-13 18:05:42 +08:00
|
|
|
export const getSafetyCommitmentUserList = (params) =>
|
|
|
|
post("/commitment/listForSecurityCommitmentUser", params); // 用户承诺书列表
|
|
|
|
|
2024-03-08 18:06:21 +08:00
|
|
|
export const addCommitmentView = (params) => upload("/commitment/add", params); // 添加 承诺书
|
|
|
|
|
|
|
|
export const editCommitmentView = (params) =>
|
|
|
|
upload("/commitment/edit", params); // 修改 承诺书
|
2024-03-11 18:09:41 +08:00
|
|
|
|
|
|
|
export const infoCommitmentView = (params) =>
|
|
|
|
upload("/commitment/goEdit", params); // 详情 承诺书
|
2024-03-13 18:05:42 +08:00
|
|
|
|
|
|
|
export const deleteCommitmentView = (params) =>
|
|
|
|
post("/commitment/delete", params); // 删除 承诺书
|
2024-04-07 18:51:27 +08:00
|
|
|
|
|
|
|
export const getSafetyCommitmentEdit = (params) =>
|
|
|
|
post("/commitment/safetyCommitment", params); // 承诺书列表
|