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

// 查询防汛抢险队伍人员分页
export function pagerescueTeamPerson(query) {
  return request({
    url: '/business/rescueTeamPerson/page',
    method: 'get',
    params: query
  })
}

// 查询防汛抢险队伍人员列表
export function listrescueTeamPerson(query) {
  return request({
    url: '/business/rescueTeamPerson/list',
    method: 'get',
    params: query
  })
}

// 查询防汛抢险队伍人员详细
export function getrescueTeamPerson(id) {
  return request({
    url: '/business/rescueTeamPerson/' + id,
    method: 'get'
  })
}

// 新增防汛抢险队伍人员
export function addrescueTeamPerson(data) {
  return request({
    url: '/business/rescueTeamPerson/add',
    method: 'post',
    data: data
  })
}

// 修改防汛抢险队伍人员
export function updaterescueTeamPerson(data) {
  return request({
    url: '/business/rescueTeamPerson/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛抢险队伍人员
export function delrescueTeamPerson(id) {
  return request({
    url: '/business/rescueTeamPerson/' + id,
    method: 'delete'
  })
}