/* * @Author: liyingjing ll47991367@qq.com * @Date: 2023-09-06 09:37:30 * @LastEditors: liyingjing ll47991367@qq.com * @LastEditTime: 2023-09-11 09:17:14 * @FilePath: \新烽绩效考核(南平)\src\api\management\removalRate.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ import request from "@/utils/request"; // 获取配置分页列表 export const getFacilitiesPolluteRemoveConfigPage = (params) => { return request({ url: "/sponge/facilitiesPolluteRemoveConfig/page", method: "get", params }); }; // 配置新增 export const facilitiesPolluteRemoveConfigAddWithItem = (data) => { return request({ url: "/sponge/facilitiesPolluteRemoveConfig/addWithItem", method: "post", data }); }; // 配置删除 export const facilitiesPolluteRemoveConfigDel = (ids) => { return request({ url: `/sponge/facilitiesPolluteRemoveConfig/${ids}`, method: "delete" }); }; // 配置复制 export const facilitiesPolluteRemoveConfigCopy = (data) => { return request({ url: "/sponge/facilitiesPolluteRemoveConfig/copy", method: "post", data }); }; // 配置启用 export const facilitiesPolluteRemoveConfigEnable = (id) => { return request({ url: `/sponge/facilitiesPolluteRemoveConfig/enable/${id}`, method: "get" }); }; // 配置项列表 export const getFacilitiesPolluteRemoveConfigItemList = (params) => { return request({ url: "/sponge/facilitiesPolluteRemoveConfigItem/list", method: "get", params }); }; // 配置项新增 export const facilitiesPolluteRemoveConfigItemAdd = (data) => { return request({ url: "/sponge/facilitiesPolluteRemoveConfigItem/add", method: "post", data }); }; // 配置项编辑 export const facilitiesPolluteRemoveConfigItemEdit = (data) => { return request({ url: "/sponge/facilitiesPolluteRemoveConfigItem/edit", method: "put", data }); }; // 配置项删除 export const facilitiesPolluteRemoveConfigItemDel = (ids) => { return request({ url: `/sponge/facilitiesPolluteRemoveConfigItem/${ids}`, method: "delete" }); };