Newer
Older
Nanping_sponge_SJJC / src / api / business / configData.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 数据检测
import request from '@/utils/request'

// 查询防汛-范围数据维护分页
export function pageconfigData(query) {
  return request({
    url: '/business/configData/page',
    method: 'get',
    params: query
  })
}

// 查询防汛-范围数据维护列表
export function listconfigData(query) {
  return request({
    url: '/business/configData/list',
    method: 'get',
    params: query
  })
}

// 查询防汛-范围数据维护详细
export function getconfigData(id) {
  return request({
    url: '/business/configData/' + id,
    method: 'get'
  })
}

// 新增防汛-范围数据维护
export function addconfigData(data) {
  return request({
    url: '/business/configData/add',
    method: 'post',
    data: data
  })
}

// 修改防汛-范围数据维护
export function updateconfigData(data) {
  return request({
    url: '/business/configData/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛-范围数据维护
export function delconfigData(id) {
  return request({
    url: '/business/configData/' + id,
    method: 'delete'
  })
}