You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import request from '@/utils/request'
|
|
|
|
// 获取tabs备件列表
|
|
|
|
export function getSparePartsPage(params) {
|
|
|
|
return request({
|
|
|
|
url: '/eam/item/getAppPage',
|
|
|
|
'method': 'GET',
|
|
|
|
params
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 获取备件列表
|
|
|
|
export function getSparePartsList(params) {
|
|
|
|
return request({
|
|
|
|
url: '/eam/item/getListByNumber',
|
|
|
|
'method': 'GET',
|
|
|
|
params
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 新增申领备件时获取备件列表
|
|
|
|
export function getApplySparePartsList() {
|
|
|
|
return request({
|
|
|
|
url: '/eam/item/getApplyList',
|
|
|
|
'method': 'GET'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 新增备件维修获取备件列表
|
|
|
|
export function getServiceSparePartsList() {
|
|
|
|
return request({
|
|
|
|
url: '/eam/item/getItemMaintainList',
|
|
|
|
'method': 'GET'
|
|
|
|
})
|
|
|
|
}
|