logistics.js 957 Bytes
import request from '@/utils/request'

// 查询后勤管理列表
export function listLogistics(query) {
  return request({
    url: '/office/logistics/list',
    method: 'get',
    params: query
  })
}

// 查询后勤管理详细
export function getLogistics(id) {
  return request({
    url: '/office/logistics/' + id,
    method: 'get'
  })
}

// 新增后勤管理
export function addLogistics(data) {
  return request({
    url: '/office/logistics',
    method: 'post',
    data: data
  })
}

// 修改后勤管理
export function updateLogistics(data) {
  return request({
    url: '/office/logistics',
    method: 'put',
    data: data
  })
}

// 删除后勤管理
export function delLogistics(id) {
  return request({
    url: '/office/logistics/' + id,
    method: 'delete'
  })
}

// 导出后勤管理
export function exportLogistics(query) {
  return request({
    url: '/office/logistics/export',
    method: 'get',
    params: query
  })
}