import { axios } from '@/utils/request'
import { businessUrl } from '@/views/EIS/project/sanyEIS/serviceSettings'
// 列表地址
export const remoteUrl = {
  url: businessUrl + '/api/produceProcessCfg/page',
  headers: { 'Content-Type': 'x-www-form-urlencoded' },
  method: 'get'
}
// 新增
export const add = data => {
  return axios.post(businessUrl + '/api/produceProcessCfg/add', data)
}
// 修改
export const update = data => {
  return axios.post(businessUrl + '/api/produceProcessCfg/edit', data)
}
// 删除
export const del = data => {
  return axios.post(businessUrl + '/api/produceProcessCfg/delIds', data)
}