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.
 
 
 
 

59 lines
1.1 KiB

import request from '@/utils/request'
// 根据设备号查询信息
export function getDeviceDetailsByNumber(params) {
return request({
url: '/eam/device-accounts/getDetailsByNumber',
'method': 'GET',
params
})
}
// 添加报修
export function deviceRepairCreate(data) {
return request({
url: '/eam/device-repair/create',
'method': 'POST',
data
})
}
// 报修列表
export function deviceRepairPage(params) {
return request({
url: '/eam/device-repair/getAppPage',
'method': 'GET',
params
})
}
// 撤销
export function rejected(id) {
return request({
url: '/eam/device-repair/rejected?id='+id,
'method': 'DELETE',
})
}
// 设备列表
export function deviceList(params) {
return request({
url: '/eam/device-accounts/selectData',
'method': 'GET',
params
})
}
// 设备分页列表
export function devicePage(params) {
return request({
url: '/eam/device-accounts/getAppPage',
'method': 'GET',
params
})
}
// 根据设备号码获取二级列表
export function getSubList(params) {
return request({
url: '/eam/device-mold-items/getListByNumber',
'method': 'GET',
params
})
}