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.
43 lines
807 B
43 lines
807 B
10 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 根据设备/模具号查询信息
|
||
|
export function getDetailsByNumber(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
|
||
|
})
|
||
|
}
|