80 lines
1.6 KiB
JavaScript
80 lines
1.6 KiB
JavaScript
/*
|
|
* @Author: zwq
|
|
* @Date: 2026-01-06 15:18:38
|
|
* @LastEditors: zwq
|
|
* @LastEditTime: 2026-01-15 15:02:04
|
|
* @Description:
|
|
*/
|
|
import request from '@/utils/request'
|
|
|
|
// 获取区域列表
|
|
export function getAreaList(params) {
|
|
return request({
|
|
url: '/wms/region/page',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
// 获取区域空满数量
|
|
export function postAllAreaInfo(data) {
|
|
return request({
|
|
url: '/wms/region/lsit/count',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 获取指定库区库位信息
|
|
export function postAreaInfo(params) {
|
|
return request({
|
|
url: '/wms/line-edge-library/list/region',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
// 获取区域总览
|
|
export function postAllAreaOverview(data) {
|
|
return request({
|
|
url: '/wms/line-edge-library/line/count',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 删除能源实时数据库plc相关
|
|
export function deleteEnergyPlc(id) {
|
|
return request({
|
|
url: '/base/energy-plc/delete?id=' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 获取关联表编码
|
|
export function getCode() {
|
|
return request({
|
|
url: '/base/energy-plc/getCode',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 获得能源实时数据库plc相关分页
|
|
export function getEnergyPlcPage(data) {
|
|
return request({
|
|
url: '/base/energy-plc/page',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 导出能源实时数据库plc相关 Excel
|
|
export function exportEnergyPlcExcel(query) {
|
|
return request({
|
|
url: '/base/energy-plc/export-excel',
|
|
method: 'get',
|
|
params: query,
|
|
responseType: 'blob'
|
|
})
|
|
}
|