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

// 查询防汛值班-值班计划分页
export function pagedutyManagement(query) {
  return request({
    url: '/business/dutyManagement/page',
    method: 'get',
    params: query
  })
}

// 查询防汛值班-值班计划列表
export function listdutyManagement(query) {
  return request({
    url: '/business/dutyManagement/list',
    method: 'get',
    params: query
  })
}

// 查询防汛值班-值班计划详细
export function getdutyManagement(id) {
  return request({
    url: '/business/dutyManagement/' + id,
    method: 'get'
  })
}

// 新增防汛值班-值班计划
export function adddutyManagement(data) {
  return request({
    url: '/business/dutyManagement/add',
    method: 'post',
    data: data
  })
}

// 修改防汛值班-值班计划
export function updatedutyManagement(data) {
  return request({
    url: '/business/dutyManagement/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛值班-值班计划
export function deldutyManagement(id) {
  return request({
    url: '/business/dutyManagement/' + id,
    method: 'delete'
  })
}