Newer
Older
urbanLifeline_YanAn / src / api / order.js
@zhangzhihui zhangzhihui on 8 Nov 522 bytes 1
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',
  });
}