diff --git a/src/api/repair/orderinfo/index.js b/src/api/repair/orderinfo/index.js new file mode 100644 index 0000000..9221e5e --- /dev/null +++ b/src/api/repair/orderinfo/index.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 创建维修模块 订单 +export function createOrderInfo(data) { + return request({ + url: '/repair/order-info/create', + method: 'post', + data: data + }) +} + +// 更新维修模块 订单 +export function updateOrderInfo(data) { + return request({ + url: '/repair/order-info/update', + method: 'put', + data: data + }) +} + +// 删除维修模块 订单 +export function deleteOrderInfo(id) { + return request({ + url: '/repair/order-info/delete?id=' + id, + method: 'delete' + }) +} + +// 获得维修模块 订单 +export function getOrderInfo(id) { + return request({ + url: '/repair/order-info/get?id=' + id, + method: 'get' + }) +} + +// 获得维修模块 订单分页 +export function getOrderInfoPage(params) { + return request({ + url: '/repair/order-info/page', + method: 'get', + params + }) +} +// 导出维修模块 订单 Excel +export function exportOrderInfoExcel(params) { + return request({ + url: '/repair/order-info/export-excel', + method: 'get', + params, + responseType: 'blob' + }) +} \ No newline at end of file diff --git a/src/views/repair/orderinfo/OrderInfoForm.vue b/src/views/repair/orderinfo/OrderInfoForm.vue new file mode 100644 index 0000000..8709564 --- /dev/null +++ b/src/views/repair/orderinfo/OrderInfoForm.vue @@ -0,0 +1,253 @@ + + + diff --git a/src/views/repair/orderinfo/index.vue b/src/views/repair/orderinfo/index.vue new file mode 100644 index 0000000..7b840c0 --- /dev/null +++ b/src/views/repair/orderinfo/index.vue @@ -0,0 +1,229 @@ + + +