gasHolderStationManage.js 1.81 KB
Newer Older
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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
import request from '@/utils/request'

// 查询储配站信息列表
export function listInfo(query) {
  return request({
    url: '/gasBottleTrack/storageStationManage/list',
    method: 'get',
    params: query
  })
}

export function gasStorageStationList(query) {
  return request({
    url: '/gasBottleTrack/storageStationManage/gasStorageStationList',
    method: 'get',
    params: query
  })
}

// 查询储配站信息详细
export function getInfo(stationId) {
  return request({
    url: '/gasBottleTrack/storageStationManage/' + stationId,
    method: 'get'
  })
}

// 新增储配站信息
export function addInfo(data) {
  return request({
    url: '/gasBottleTrack/storageStationManage',
    method: 'post',
    data: data
  })
}

// 修改储配站信息
export function updateInfo(data) {
  return request({
    url: '/gasBottleTrack/storageStationManage',
    method: 'put',
    data: data
  })
}

// 删除储配站信息
export function delInfo(stationId) {
  return request({
    url: '/gasBottleTrack/storageStationManage/' + stationId,
    method: 'delete'
  })
}

// 导出储配站信息
export function exportInfo(query) {
  return request({
    url: '/gasBottleTrack/storageStationManage/export',
    method: 'get',
    params: query
  })
}

// 下载用户导入模板
export function importTemplate() {
  return request({
    url: '/gasBottleTrack/storageStationManage/importTemplate',
    method: 'get'
  })
}

//基础信息统计
export function baseInfoStatistics(query) {
  return request({
    url: '/gasBottleTrack/storageStationManage/baseInfoStatistics',
    method: 'get',
    params: query
  })
}

//基础信息统计导出
export function baseInfoStatisticsExport(query) {
  return request({
    url: '/gasBottleTrack/storageStationManage/baseInfoStatisticsExport',
    method: 'get',
    params: query
  })
}