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