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

// 查询防汛内涝点责任人分页
export function pagefloodPointPerson(query) {
  return request({
    url: '/business/floodPointPerson/page',
    method: 'get',
    params: query
  })
}

// 查询防汛内涝点责任人列表
export function listfloodPointPerson(query) {
  return request({
    url: '/business/floodPointPerson/list',
    method: 'get',
    params: query
  })
}

// 查询防汛内涝点责任人详细
export function getfloodPointPerson(id) {
  return request({
    url: '/business/floodPointPerson/' + id,
    method: 'get'
  })
}

// 新增防汛内涝点责任人
export function addfloodPointPerson(data) {
  return request({
    url: '/business/floodPointPerson/add',
    method: 'post',
    data: data
  })
}

// 修改防汛内涝点责任人
export function updatefloodPointPerson(data) {
  return request({
    url: '/business/floodPointPerson/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛内涝点责任人
export function delfloodPointPerson(id) {
  return request({
    url: '/business/floodPointPerson/' + id,
    method: 'delete'
  })
}