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

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

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

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

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

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

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