import request from '@/utils/request'

// 查询刚性链报价列表
export function listRigidChain(query) {
  return request({
    url: '/system/rigidChain/list',
    method: 'get',
    params: query
  })
}

// 查询刚性链报价详细
export function getRigidChain(id) {
  return request({
    url: '/system/rigidChain/' + id,
    method: 'get'
  })
}

// 新增刚性链报价
export function addRigidChain(data) {
  return request({                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
    url: '/system/rigidChain',
    method: 'post',
    data: data
  })
}

// 修改刚性链报价
export function updateRigidChain(data) {
  return request({
    url: '/system/rigidChain',
    method: 'put',
    data: data
  })
}

// 删除刚性链报价
export function delRigidChain(id) {
  return request({
    url: '/system/rigidChain/' + id,
    method: 'delete'
  })
}











  