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

// 查询防汛物资调度-信息分页
export function pagedispatchInfo(query) {
  return request({
    url: '/business/dispatchInfo/page',
    method: 'get',
    params: query
  })
}

// 查询防汛物资调度-信息列表
export function listdispatchInfo(query) {
  return request({
    url: '/business/dispatchInfo/list',
    method: 'get',
    params: query
  })
}

// 查询防汛物资调度-信息详细
export function getdispatchInfo(id) {
  return request({
    url: '/business/dispatchInfo/' + id,
    method: 'get'
  })
}

// 新增防汛物资调度-信息
export function adddispatchInfo(data) {
  return request({
    url: '/business/dispatchInfo/add',
    method: 'post',
    data: data
  })
}

// 修改防汛物资调度-信息
export function updatedispatchInfo(data) {
  return request({
    url: '/business/dispatchInfo/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛物资调度-信息
export function deldispatchInfo(id) {
  return request({
    url: '/business/dispatchInfo/' + id,
    method: 'delete'
  })
}