integrated_traffic_vue/src/request/keyprojects.js

56 lines
3.4 KiB
JavaScript

import { post, upload } from "@/request/axios.js";
export const getUnitsListAll = () => post("/units/listAll"); // 施工相关方全部
export const getUnitsList = (params) => post("/units/list", params); // 相关方列表
export const setUnitsAdd = (params) => upload("/units/add", params); // 相关方添加
export const setUnitsGoEdit = (params) => post("/units/goEdit", params); // 相关方修改获取
export const setUnitsEdit = (params) => upload("/units/edit", params); // 相关方修改
export const setUnitsDelete = (params) => post("/units/delete", params); // 相关方删除
export const setUnitsDeleteAll = (params) => post("/units/deleteAll", params); // 相关方删除(多选)
export const setIsTrueDelete = (params) =>
post("/personnelmanagement/isTrueDelete", params); // 查看是否可删除
export const setIsTrueDeleteAll = (params) =>
post("/personnelmanagement/isTrueDeleteAll", params); // 查看是否可删除(全部)
export const getPersonnelmanagementList = (params) =>
post("/personnelmanagement/list", params); // 相关方人员列表
export const setPersonnelmanagementResetPwd = (params) =>
post("/personnelmanagement/resetPwd", params); // 相关方人员重置密码
export const setPersonnelmanagementAdd = (params) =>
post("/personnelmanagement/add", params); // 相关方人员添加
export const setPersonnelmanagementEdit = (params) =>
post("/personnelmanagement/edit", params); // 相关方人员编辑
export const setPersonnelmanagementGoEdit = (params) =>
post("/personnelmanagement/goEdit", params); // 相关方人员编辑获取
export const setPersonnelmanagementDelete = (params) =>
post("/personnelmanagement/delete", params); // 相关方人员删除
export const setPersonnelmanagementDeleteAll = (params) =>
post("/personnelmanagement/deleteAll", params); // 相关方人员批量删除
export const setPersonnelmanagementListAll = (params) =>
post("/personnelmanagement/listAll", params); // 相关方人员列表
export const getOutsourcedList = (params) => post("/outsourced/list", params); // 重点工程列表
export const setOutsourcedAdd = (params) => upload("/outsourced/add", params); // 重点工程添加
export const setOutsourcedEdit = (params) => upload("/outsourced/edit", params); // 重点工程修改
export const setOutsourcedGoEdit = (params) =>
post("/outsourced/goEdit", params); // 重点工程修改获取
export const setOutsourcedDelete = (params) =>
post("/outsourced/delete", params); // 重点工程修改获取
export const getOutsourcedUpdateState = (params) =>
post("/outsourced/updateState", params); // 结束工程
export const getKeyprojectcheckList = (params) =>
post("/keyprojectcheck/list", params); // 安全环保检查列表
export const getKeyprojectcheckGoEdit = (params) =>
post("/keyprojectcheck/goEdit", params); // 安全环保检查详情
export const getKeyprojectcheckListHidden = (params) =>
post("/keyprojectcheck/listHidden", params); // 安全环保检查隐患列表
export const getKeyprojectcheckFindHidden = (params) =>
post("/keyprojectcheck/findHidden", params); // 安全环保检查隐患详情
export const getKeyprojectpunishList = (params) =>
post("/keyprojectpunish/list", params); // 处罚列表
export const getKeyprojectpunishGoEdit = (params) =>
post("/keyprojectpunish/goEdit", params); // 处罚列表详情
export const getCorpinfoListAll = (params) => post("/corpinfo/listAll", params); // 监理单位名称