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.
37 lines
665 B
37 lines
665 B
10 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
|
||
|
// 添加工单
|
||
|
export function repairOrderCreate(data) {
|
||
|
return request({
|
||
|
url: '/eam/device-maintenance-main/create',
|
||
|
'method': 'POST',
|
||
|
data
|
||
|
})
|
||
|
}
|
||
|
// 编辑工单
|
||
|
export function repairOrderUpdate(data) {
|
||
|
return request({
|
||
|
url: '/eam/device-maintenance-main/update',
|
||
|
'method': 'PUT',
|
||
|
data
|
||
|
})
|
||
|
}
|
||
|
// 报修列表
|
||
|
export function repairOrderPage(params) {
|
||
|
return request({
|
||
|
url: '/eam/device-maintenance-main/getAppPage',
|
||
|
'method': 'GET',
|
||
|
params
|
||
|
})
|
||
|
}
|
||
|
// 操作工单
|
||
|
export function orderClick(params) {
|
||
|
return request({
|
||
|
url: '/eam/device-maintenance-main/orderClick',
|
||
|
'method': 'GET',
|
||
|
params
|
||
|
})
|
||
|
}
|
||
|
|