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

// 查询防汛通知人员内容详细分页
export function pagefloodControlDetail(query) {
  return request({
    url: '/business/floodControlDetail/page',
    method: 'get',
    params: query
  })
}

// 查询防汛通知人员内容详细列表
export function listfloodControlDetail(query) {
  return request({
    url: '/business/floodControlDetail/list',
    method: 'get',
    params: query
  })
}

// 查询防汛通知人员内容详细详细
export function getfloodControlDetail(id) {
  return request({
    url: '/business/floodControlDetail/' + id,
    method: 'get'
  })
}

// 新增防汛通知人员内容详细
export function addfloodControlDetail(data) {
  return request({
    url: '/business/floodControlDetail/add',
    method: 'post',
    data: data
  })
}

// 修改防汛通知人员内容详细
export function updatefloodControlDetail(data) {
  return request({
    url: '/business/floodControlDetail/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛通知人员内容详细
export function delfloodControlDetail(id) {
  return request({
    url: '/business/floodControlDetail/' + id,
    method: 'delete'
  })
}