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.
36 lines
715 B
36 lines
715 B
import request from '@/utils/request'
|
|
|
|
|
|
// 添加工单
|
|
export function spotCheckOrderCreate(data) {
|
|
return request({
|
|
url: '/eam/device-spot-inspection-record-main/create',
|
|
'method': 'POST',
|
|
data
|
|
})
|
|
}
|
|
// 编辑工单
|
|
export function spotCheckOrderUpdate(data) {
|
|
return request({
|
|
url: '/eam/device-spot-inspection-record-main/update',
|
|
'method': 'PUT',
|
|
data
|
|
})
|
|
}
|
|
// 报修列表
|
|
export function spotCheckOrderPage(params) {
|
|
return request({
|
|
url: '/eam/device-spot-inspection-record-main/getAppPage',
|
|
'method': 'GET',
|
|
params
|
|
})
|
|
}
|
|
// 操作工单
|
|
export function orderClick(params) {
|
|
return request({
|
|
url: '/eam/device-spot-inspection-record-main/onClick',
|
|
'method': 'GET',
|
|
params
|
|
})
|
|
}
|
|
|
|
|