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

// 查询防汛预案人员行动方案配置分页
export function pageplanManagerPersonnel(query) {
  return request({
    url: '/business/planManagerPersonnel/page',
    method: 'get',
    params: query
  })
}

// 查询防汛预案人员行动方案配置列表
export function listplanManagerPersonnel(query) {
  return request({
    url: '/business/planManagerPersonnel/list',
    method: 'get',
    params: query
  })
}

// 查询防汛预案人员行动方案配置详细
export function getplanManagerPersonnel(id) {
  return request({
    url: '/business/planManagerPersonnel/' + id,
    method: 'get'
  })
}

// 新增防汛预案人员行动方案配置
export function addplanManagerPersonnel(data) {
  return request({
    url: '/business/planManagerPersonnel/add',
    method: 'post',
    data: data
  })
}

// 修改防汛预案人员行动方案配置
export function updateplanManagerPersonnel(data) {
  return request({
    url: '/business/planManagerPersonnel/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛预案人员行动方案配置
export function delplanManagerPersonnel(id) {
  return request({
    url: '/business/planManagerPersonnel/' + id,
    method: 'delete'
  })
}