hidden.js 1016 Bytes
Newer Older
王晓倩's avatar
王晓倩 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
import request from '@/utils/request'

// 查询隐患整治台账列表
export function listHidden(query) {
  return request({
    url: '/standingBook/hidden/list',
    method: 'get',
    params: query
  })
}

// 查询隐患整治台账详细
export function getHidden(hiddenId) {
  return request({
    url: '/standingBook/hidden/' + hiddenId,
    method: 'get'
  })
}

// 新增隐患整治台账
export function addHidden(data) {
  return request({
    url: '/standingBook/hidden',
    method: 'post',
    data: data
  })
}

// 修改隐患整治台账
export function updateHidden(data) {
  return request({
    url: '/standingBook/hidden',
    method: 'put',
    data: data
  })
}

// 删除隐患整治台账
export function delHidden(hiddenId) {
  return request({
    url: '/standingBook/hidden/' + hiddenId,
    method: 'delete'
  })
}

// 导出隐患整治台账
export function exportHidden(query) {
  return request({
    url: '/standingBook/hidden/export',
    method: 'get',
    params: query
  })
}