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 }) }