import request from '@/utils/request'; // /business/workOrder/list export function workOrderPage(query) { return request({ url: '/business/workOrder/page', method: 'get', params: query, }); } // /business/workOrder/add export function addWorkOrder(data) { return request({ url: '/business/workOrder/add', method: 'post', data: data, }); } // /business/workOrder/{id} export function getWorkOrder(id) { return request({ url: '/business/workOrder/' + id, method: 'get', }); }