projectCheck.js 968 Bytes
import request from '@/utils/request'

// 查询大排查列表
export function listProjectCheck(query) {
  return request({
    url: '/other/projectCheck/list',
    method: 'get',
    params: query
  })
}

// 查询大排查详细
export function getProjectCheck(id) {
  return request({
    url: '/other/projectCheck/' + id,
    method: 'get'
  })
}

// 新增大排查
export function addProjectCheck(data) {
  return request({
    url: '/other/projectCheck',
    method: 'post',
    data: data
  })
}

// 修改大排查
export function updateProjectCheck(data) {
  return request({
    url: '/other/projectCheck',
    method: 'put',
    data: data
  })
}

// 删除大排查
export function delProjectCheck(id) {
  return request({
    url: '/other/projectCheck/' + id,
    method: 'delete'
  })
}

// 导出大排查
export function exportProjectCheck(query) {
  return request({
    url: '/other/projectCheck/export',
    method: 'get',
    params: query
  })
}