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

// 查询图层管理分页
export function pagelayerManagement (query) {
  return request({
    url: '/business/layerManagement/page',
    method: 'get',
    params: query
  })
}

// 查询图层管理列表
export function listlayerManagement (query) {
  return request({
    url: '/business/layerManagement/list',
    method: 'get',
    params: query
  })
}

// 查询图层管理详细
export function getlayerManagement (id) {
  return request({
    url: '/business/layerManagement/' + id,
    method: 'get'
  })
}

// 新增图层管理
export function addlayerManagement (data) {
  return request({
    url: '/business/layerManagement/add',
    method: 'post',
    data: data
  })
}

// 修改图层管理
export function updatelayerManagement (data) {
  return request({
    url: '/business/layerManagement/edit',
    method: 'put',
    data: data
  })
}

// 删除图层管理
export function dellayerManagement (id) {
  return request({
    url: '/business/layerManagement/' + id,
    method: 'delete'
  })
}