sx_yjb_vue/src/request/special_operations.js

36 lines
2.1 KiB
JavaScript
Raw Normal View History

2025-09-09 09:31:50 +08:00
import { post, upload } from "@/request/axios.js";
export const getPersonnelManagementList = (params) =>
post("/specialoperations/list", params); // 特种作业人员管理列表
export const getPersonnelManagementView = (params) =>
post("/specialoperations/goEdit", params); // 特种作业人员管理查看
export const setPersonnelManagementDelete = (params) =>
post("/specialoperations/delete", params); // 特种作业人员管理删除
export const setPersonnelManagementExamine = (params) =>
post("/specialoperations/examine", params); // 特种作业人员管理删除
export const setPersonnelManagementDeleteBatch = (params) =>
post("/specialoperations/deleteAll", params); // 特种作业人员管理批量删除
export const setPersonnelManagementAdd = (params) =>
post("/specialoperations/add", params); // 特种作业人员管理批量添加
export const setPersonnelManagementEdit = (params) =>
post("/specialoperations/edit", params); // 特种作业人员管理批量修改
export const getVerifyDeduplicationCertificateNum = (params) =>
post("/specialoperations/hasCertificate", params); // 特种作业证书编号验证
export const getSpecialOperationsWarnAmount = (params) =>
post("/specialoperations/warnAmount", params); // 特种作业人员管理列表
export const getLicensedManagementList = (params) =>
post("/licensedPersonnel/list", params); // 持证人员管理列表
export const setLicensedManagementAdd = (params) =>
upload("/licensedPersonnel/add", params); // 新增持证人员
export const setLicensedManagementEdit = (params) =>
upload("/licensedPersonnel/edit", params); // 修改持证人员
export const setLicensedManagementRemove = (params) =>
post("/licensedPersonnel/remove", params); // 删除持证人员
export const setLicensedManagementView = (params) =>
post("/licensedPersonnel/goEdit", params); // 单个持证人员
export const setSpecialOperationsImport = (params) =>
upload("/specialoperations/readExcel", params);
export const getForeNsicStatisticsList = () =>
post("/specialoperations/stats"); // 特种作业人员管理列表