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.
26 lines
890 B
26 lines
890 B
import http from './http'
|
|
|
|
// 根据设备号查询信息
|
|
export function getDeviceDetailsByNumber(params) {
|
|
return http.get('/eam/device-accounts/getDetailsByNumber',{params})
|
|
}
|
|
// 根据厂区查询设备
|
|
export function getDeviceByFactoryAreaNumber(factoryAreaNumber) {
|
|
return http.get('/eam/device-accounts/selectData?factoryAreaNumber='+factoryAreaNumber)
|
|
}
|
|
// 设备列表
|
|
export function deviceList(params) {
|
|
return http.get('/eam/device-accounts/selectData',{params})
|
|
}
|
|
// 设备分页列表
|
|
export function devicePage(params) {
|
|
return http.get('/eam/device-accounts/getAppPage',{params})
|
|
}
|
|
// 根据设备号码获取二级列表
|
|
export function getSubList(params) {
|
|
return http.get('/eam/device-mold-items/getListByNumber',{params})
|
|
}
|
|
// 新增申领备件时获取备件列表
|
|
export function getApplyDeviceList() {
|
|
return http.get('/eam/device-accounts/selectAll')
|
|
}
|