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

// 查询防汛预案分页
export function pageplanManager(query) {
  return request({
    url: '/business/planManager/page',
    method: 'get',
    params: query
  })
}

// 查询防汛预案列表
export function listplanManager(query) {
  return request({
    url: '/business/planManager/list',
    method: 'get',
    params: query
  })
}

// 查询防汛预案详细
export function getplanManager(id) {
  return request({
    url: '/business/planManager/' + id,
    method: 'get'
  })
}

// 新增防汛预案
export function addplanManager(data) {
  return request({
    url: '/business/planManager/add',
    method: 'post',
    data: data
  })
}

// 修改防汛预案
export function updateplanManager(data) {
  return request({
    url: '/business/planManager/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛预案
export function delplanManager(id) {
  return request({
    url: '/business/planManager/' + id,
    method: 'delete'
  })
}