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

// 查询防汛物资调度-操作记录分页
export function pagedispatchHistory(query) {
  return request({
    url: '/business/dispatchHistory/page',
    method: 'get',
    params: query
  })
}

// 查询防汛物资调度-操作记录列表
export function listdispatchHistory(query) {
  return request({
    url: '/business/dispatchHistory/list',
    method: 'get',
    params: query
  })
}

// 查询防汛物资调度-操作记录详细
export function getdispatchHistory(id) {
  return request({
    url: '/business/dispatchHistory/' + id,
    method: 'get'
  })
}

// 新增防汛物资调度-操作记录
export function adddispatchHistory(data) {
  return request({
    url: '/business/dispatchHistory/add',
    method: 'post',
    data: data
  })
}

// 修改防汛物资调度-操作记录
export function updatedispatchHistory(data) {
  return request({
    url: '/business/dispatchHistory/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛物资调度-操作记录
export function deldispatchHistory(id) {
  return request({
    url: '/business/dispatchHistory/' + id,
    method: 'delete'
  })
}