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

// 查询防汛部门-人员信息分页
export function pagefloodControlDepartmentPersonnel(query) {
  return request({
    url: '/business/floodControlDepartmentPersonnel/page',
    method: 'get',
    params: query
  })
}

// 查询防汛部门-人员信息列表
export function listfloodControlDepartmentPersonnel(query) {
  return request({
    url: '/business/floodControlDepartmentPersonnel/list',
    method: 'get',
    params: query
  })
}

// 查询防汛部门-人员信息详细
export function getfloodControlDepartmentPersonnel(id) {
  return request({
    url: '/business/floodControlDepartmentPersonnel/' + id,
    method: 'get'
  })
}

// 新增防汛部门-人员信息
export function addfloodControlDepartmentPersonnel(data) {
  return request({
    url: '/business/floodControlDepartmentPersonnel/add',
    method: 'post',
    data: data
  })
}

// 修改防汛部门-人员信息
export function updatefloodControlDepartmentPersonnel(data) {
  return request({
    url: '/business/floodControlDepartmentPersonnel/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛部门-人员信息
export function delfloodControlDepartmentPersonnel(id) {
  return request({
    url: '/business/floodControlDepartmentPersonnel/' + id,
    method: 'delete'
  })
}