forked from integrated_whb/integrated_whb_vue
134 lines
8.8 KiB
JavaScript
134 lines
8.8 KiB
JavaScript
import { post, upload } from "@/request/axios.js";
|
|
|
|
export const getInventoryManagementList = (params) =>
|
|
post("/listmanager/list", params); // 清单管理列表
|
|
export const getInventoryManagementView = (params) =>
|
|
post("/listmanager/goEdit", params); // 清单管理查看
|
|
export const setInventoryManagementDisable = (params) =>
|
|
post("/listmanager/delete", params); // 清单管理禁用
|
|
export const setInventoryManagementEnable = (params) =>
|
|
post("/listmanager/enable", params); // 清单管理启用
|
|
export const setInventoryManagementBatchDeleteTemporary = (params) =>
|
|
post("/listmanager/deleteAlltemp", params); // 清单管理批量删除临时清单
|
|
export const setInventoryManagementBatchDelete = (params) =>
|
|
post("/listmanager/deleteAll", params); // 清单管理批量删除
|
|
export const getInventoryManagementRouteView = (params) =>
|
|
post("/listmanager/getRoute", params); // 清单管理查看巡检路线
|
|
export const setInventoryManagementRoute = (params) =>
|
|
post("/listmanager/setRout", params); // 清单管理巡检路线提交
|
|
export const setInventoryManagementInsuranceCoverageList = (params) =>
|
|
post("/labelFactory/termList", params); // 清单管理设置包保责任类型选择列表
|
|
export const setInventoryManagementInsuranceCoverageSave = (params) =>
|
|
post("/listmanager/saveBaoBaoType", params); // 清单管理设置包保责任类型提交
|
|
export const getInventoryManagementInspectionItems = (params) =>
|
|
post("/riskcheckitem/itemlistAll", params); // 清单管理检查项列表
|
|
export const getInventoryManagementOtherRiskList = (params) =>
|
|
post("/riskcheckitem/list", params); // 清单管理选择其他存在风险列表
|
|
export const setInventoryManagementAdd = (params) =>
|
|
post("/listmanager/add", params); // 清单管理新增
|
|
export const setInventoryManagementEdit = (params) =>
|
|
post("/listmanager/edit", params); // 清单管理修改
|
|
export const getDeleteInventoryManagementList = (params) =>
|
|
post("/stoplistmanager/list", params); // 删除清单管理列表
|
|
export const setDeleteInventoryManagementRecovery = (params) =>
|
|
post("/stoplistmanager/restore", params); // 删除清单管理恢复
|
|
export const getInventoryTroubleshootingList = (params) =>
|
|
post("/listmanager/checkList", params); // 清单排查列表
|
|
export const getRiskStandardList = (params) =>
|
|
post("/listmanager/riskStandardCheckList", params); // 清单排查列表
|
|
export const getInventoryTroubleshootingOtherHiddenList = (params) =>
|
|
post("/hidden/getOtherHidden", params); // 清单排查其它隐患列表
|
|
export const getHiddenDangerDatabaseList = (params) =>
|
|
post("/hiddenLibrary/list", params); // 隐患数据库列表
|
|
export const setHiddenDangerAdd = (params) => post("/hidden/add", params); // 清单排查其它隐患添加
|
|
export const getHiddenDangerView = (params) => post("/hidden/goEdit", params); // 清单排查其它隐患查看
|
|
export const setHiddenDangerDelete = (params) => post("/hidden/delete", params); // 清单排查其它隐患删除
|
|
export const setHiddenDangerEdit = (params) => post("/hidden/edit", params); // 清单排查其它隐患修改
|
|
export const setHiddenDangerListAdd = (params) =>
|
|
post("/hidden/listAdd", params); // 清单排查其它隐患添加
|
|
export const setInventoryTroubleshootingSubmit = (params) =>
|
|
post("/checkrecord/add", params); // 清单排查提交
|
|
// export const getChecklistInspectionStatusList = (params) =>
|
|
// post("/listmanager/recordList", params); // 清单检查情况列表
|
|
export const getRiskStandardStatusList = (params) =>
|
|
post("/listmanager/riskStandardRecordList", params); // 清单检查情况列表
|
|
export const getChecklistInspectionStatusRecordList = (params) =>
|
|
post("/checkrecord/list", params); // 清单检查情况检查记录列表
|
|
export const setChecklistInspectionStatusRecordDelete = (params) =>
|
|
post("/checkrecord/delete", params); // 清单检查情况检查记录删除
|
|
export const setChecklistInspectionStatusRecordSupplementaryRecordingSubmit = (
|
|
params
|
|
) => post("/checkrecord/recording", params); // 清单检查情况检查记录补录提交
|
|
export const getChecklistInspectionStatusRecordView = (params) =>
|
|
post("/checkrecord/goEdit", params); // 清单检查情况检查记录查看
|
|
export const getChecklistInspectionStatusRecordViewOtherHiddenDangerList = (
|
|
params
|
|
) => post("/hidden/getCheckHidden", params); // 清单检查情况检查记录查看其它隐患列表
|
|
export const getChecklistInspectionStatusRecordMap = (params) =>
|
|
post("/checkrecord/goMap", params); // 清单检查情况检查记录查看地图
|
|
export const getInspectionRecordList = (params) =>
|
|
post("/checkrecord/allList", params); // 检查记录管理列表
|
|
export const getTroubleshootingPlanList = (params) =>
|
|
post("/listmanager/mergeCheckPlan", params); // 排查计划列表
|
|
|
|
export const getCustomList = (params) =>
|
|
post("/hiddenstandardCustom/list", params); // 隐患排查清单管理列表
|
|
export const setCustomDisable = (params) =>
|
|
post("/hiddenstandardCustom/delete", params); // 隐患排查清单管理禁用
|
|
export const setCustomEnable = (params) =>
|
|
post("/hiddenstandardCustom/enable", params); // 清单管理启用
|
|
export const setCustomBatchDeleteTemporary = (params) =>
|
|
post("/hiddenstandardCustom/deleteAlltemp", params); // 隐患排查清单管理批量删除临时清单
|
|
export const setCustomBatchBatchDelete = (params) =>
|
|
post("/hiddenstandardCustom/deleteAll", params); // 清单管理批量删除
|
|
export const getCheckstandardCommonList = (params) =>
|
|
post("/hiddenstandardCommon/list", params); // 隐患排清单管理选择其他检查标准
|
|
export const setCheckStandardManagementAdd = (params) =>
|
|
post("/hiddenstandardCustom/add", params); // 隐患排查清单管理新增
|
|
export const setCheckStandardManagementEdit = (params) =>
|
|
post("/hiddenstandardCustom/edit", params); // 隐患排查清单管理修改
|
|
export const getCheckStandardManagementView = (params) =>
|
|
post("/hiddenstandardCustom/goEdit", params); // 隐患排查清单管理查看
|
|
export const getCheckStandardOtherHiddenList = (params) =>
|
|
post("/customHidden/getOtherHidden", params); // 隐患排查清单排查其它隐患列表
|
|
export const setCheckStandardSupplementaryRecordingSubmit = (params) =>
|
|
post("/customCheckrecord/recording", params); // 隐患排查清单检查情况检查记录补录提交
|
|
export const setCheckStandardSubmit = (params) =>
|
|
post("/customCheckrecord/add", params); // 清单排查提交
|
|
export const getCustomCheckRecordMap = (params) =>
|
|
post("/customCheckrecord/goMap", params); // 清单检查情况检查记录查看地图
|
|
export const setCommonItemEdit = (params) =>
|
|
post("/hiddenstandardCommon/edit", params); // 隐患排查检查标准修改
|
|
export const setCustomImport = (params) =>
|
|
upload("/hiddenstandardCustom/readExcel", params); // 导入隐患排查清单
|
|
export const getDeleteCustomList = (params) => post("/customStop/list", params); // 删除清单管理列表
|
|
export const setDeleteCustomRecovery = (params) =>
|
|
post("/customStop/restore", params); // 删除清单管理恢复
|
|
export const setCustomBatchDelete = (params) =>
|
|
post("/customStop/deleteAll", params); // 清单管理批量删除
|
|
export const getCustomStopView = (params) => post("/customStop/goEdit", params); // 清单管理查看
|
|
export const getCustomCheckRecordList = (params) =>
|
|
post("/customCheckrecord/list", params); // 隐患清单排查列表
|
|
export const getCustomCheckRecordView = (params) =>
|
|
post("/customCheckrecord/goEdit", params); // 隐患清单排查查询单个
|
|
|
|
export const setCustomHiddenDangerAdd = (params) =>
|
|
post("/customHidden/add", params); // 隐患清单其它隐患添加
|
|
export const getCustomHiddenDangerView = (params) =>
|
|
post("/customHidden/goEdit", params); // 隐患清单排查其它隐患查看
|
|
export const setCustomHiddenDangerDelete = (params) =>
|
|
post("/customHidden/delete", params); // 隐患清单排查其它隐患删除
|
|
export const setCustomHiddenDangerEdit = (params) =>
|
|
post("/customHidden/edit", params); // 隐患清单排查其它隐患修改
|
|
export const setCustomHiddenDangerListAdd = (params) =>
|
|
post("/customHidden/listAdd", params); // 清单排查其它隐患添加
|
|
export const setDeleteCustommCheckrecord = (params) =>
|
|
post("/customCheckrecord/delete", params); // 删除隐患清单排查记录
|
|
export const setCustomInsuranceCoverageList = (params) =>
|
|
post("/customLabelFactory/termList", params); // 隐患排查清单管理设置包保责任类型选择列表
|
|
export const setCustomInsuranceCoverageSave = (params) =>
|
|
post("/hiddenstandardCustom/saveBaoBaoType", params); // 清单管理设置包保责任类型提交
|
|
export const getCustomCheckListOtherHiddenList = (params) =>
|
|
post("/customHidden/getCheckHidden", params); // 隐患清单检查情况检查记录查看其它隐患列表
|
|
export const getCorpinfo = (params) => post("/corpinfo/goEdit", params); // 获取企业信息
|