44 lines
812 B
JavaScript
44 lines
812 B
JavaScript
|
import request from '@/utils/request'
|
||
|
// 条件获得订单列表
|
||
|
export function orderList(query) {
|
||
|
return request({
|
||
|
url: '/base/order/listbyfilter',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 条件获得工单列表
|
||
|
export function workOrderList(query) {
|
||
|
return request({
|
||
|
url: '/base/core-work-order/listbyfilter',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 获得订单分页
|
||
|
export function getOrderPage(query) {
|
||
|
return request({
|
||
|
url: '/base/order/page',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 获取订单code
|
||
|
export function getOrderCode() {
|
||
|
return request({
|
||
|
url: '/base/order/getOrderCode',
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 获得订单
|
||
|
export function getOrderById(query) {
|
||
|
return request({
|
||
|
url: '/base/order/get',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|