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

// 查询防汛值班人员信息分页
export function pageplanUser(query) {
  return request({
    url: '/business/planUser/page',
    method: 'get',
    params: query
  })
}

// 查询防汛值班人员信息列表
export function listplanUser(query) {
  return request({
    url: '/business/planUser/list',
    method: 'get',
    params: query
  })
}

// 查询防汛值班人员信息详细
export function getplanUser(id) {
  return request({
    url: '/business/planUser/' + id,
    method: 'get'
  })
}

// 新增防汛值班人员信息
export function addplanUser(data) {
  return request({
    url: '/business/planUser/add',
    method: 'post',
    data: data
  })
}

// 修改防汛值班人员信息
export function updateplanUser(data) {
  return request({
    url: '/business/planUser/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛值班人员信息
export function delplanUser(id) {
  return request({
    url: '/business/planUser/' + id,
    method: 'delete'
  })
}