bonus-ui/src/api/stquery/stquery.js

148 lines
2.5 KiB
JavaScript

import request from '@/utils/request'
// 保有设备总量查询
export function getRetainedEquipmentListApi(query) {
return request({
url: '/material/complex_query/getRetainedEquipmentList',
method: 'get',
params: query
})
}
// 保有设备总量查询-无分页
export function getRetainedEquipmentListNoPageApi(query) {
return request({
url: '/material/complex_query/getRetainedEquipmentListNoPage',
method: 'get',
params: query
})
}
// 查询工程机具使用列表
export function getProjUsingRecordListApi(query) {
return request({
url: '/material/complex_query/getProjUsingRecordList',
method: 'get',
params: query
})
}
// 查询工程机具使用列表-无分页
export function getProjUsingRecordListNoPage(query) {
return request({
url: '/material/complex_query/getProjUsingRecordListNoPage',
method: 'get',
params: query
})
}
// 设备使用追溯查询列表
export function getMachineHistoryRecordListApi(query) {
return request({
url: '/material/complex_query/getMachineHistoryRecordList',
method: 'get',
params: query
})
}
// 入库记录列表
export function getInputRecordListApi(query) {
return request({
url: '/material/complex_query/getInputRecordList',
method: 'get',
params: query
})
}
// 出库记录列表
export function getOutRecordListApi(query) {
return request({
url: '/material/complex_query/getOutRecordList',
method: 'get',
params: query
})
}
// 在库详情查询
export function getStorageInfoListApi(query) {
return request({
url: '/material/complex_query/getStorageInfoList',
method: 'get',
params: query
})
}
// 在用详情查询
export function getUserRecordListApi(query) {
return request({
url: '/material/complex_query/getUserRecordList',
method: 'get',
params: query
})
}
// 在修详情查询
export function getRepairRecordListApi(query) {
return request({
url: '/material/complex_query/getRepairRecordList',
method: 'get',
params: query
})
}
// 新购待入库详情查询
export function getPurchaseRecordListApi(query) {
return request({
url: '/material/complex_query/getPurchaseRecordList',
method: 'get',
params: query
})
}
// 修饰待入库详情查询
export function getRepairInputListApi(query) {
return request({
url: '/material/complex_query/getRepairInputList',
method: 'get',
params: query
})
}