From 231cdb9f2dcf110162f30afa02ecdd37cb1f5363 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Wed, 7 Feb 2024 11:35:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=85=BB=E5=B7=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/{onkeepOrder.js => upkeepOrder.js} | 26 +- components/workOrderList/index.vue | 103 ------ pages/deviceReport/myDeviceReport.vue | 7 - pages/overhaulOrder/addServiceRecord.vue | 6 +- pages/overhaulOrder/detail.vue | 11 +- pages/overhaulOrder/myRepairOrder.vue | 3 - pages/repairOrder/addServiceRecord.vue | 4 +- pages/repairOrder/detail.vue | 12 +- pages/repairOrder/index.vue | 4 - pages/repairOrder/myRepairOrder.vue | 3 - pages/upkeepOrder/addServiceRecord.vue | 37 ++- pages/upkeepOrder/detail.vue | 113 ++++--- pages/upkeepOrder/index.vue | 8 +- pages/upkeepOrder/myRepairOrder.vue | 3 - pages/upkeepOrder/transfer.vue | 400 ----------------------- pages/workOrderList/addForm.vue | 284 ---------------- pages/workOrderList/detail.vue | 349 -------------------- pages/workOrderList/index.vue | 161 --------- pages/workOrderList/screen.vue | 223 ------------- pages/workOrderList/transfer.vue | 181 ---------- 20 files changed, 136 insertions(+), 1802 deletions(-) rename api/{onkeepOrder.js => upkeepOrder.js} (65%) delete mode 100644 components/workOrderList/index.vue delete mode 100644 pages/upkeepOrder/transfer.vue delete mode 100644 pages/workOrderList/addForm.vue delete mode 100644 pages/workOrderList/detail.vue delete mode 100644 pages/workOrderList/index.vue delete mode 100644 pages/workOrderList/screen.vue delete mode 100644 pages/workOrderList/transfer.vue diff --git a/api/onkeepOrder.js b/api/upkeepOrder.js similarity index 65% rename from api/onkeepOrder.js rename to api/upkeepOrder.js index be2e808..1449ee7 100644 --- a/api/onkeepOrder.js +++ b/api/upkeepOrder.js @@ -2,7 +2,7 @@ import request from '@/utils/request' // 添加工单 -export function onkeepOrderCreate(data) { +export function upkeepOrderCreate(data) { return request({ url: '/eam/device-maintain-order-main/create', 'method': 'POST', @@ -10,7 +10,7 @@ export function onkeepOrderCreate(data) { }) } // 编辑工单 -export function onkeepOrderUpdate(data) { +export function upkeepOrderUpdate(data) { return request({ url: '/eam/device-maintain-order-main/update', 'method': 'PUT', @@ -18,23 +18,31 @@ export function onkeepOrderUpdate(data) { }) } // 报修列表 -export function onkeepOrderPage(params) { +export function upkeepOrderPage(params) { return request({ url: '/eam/device-maintain-order-main/getAppPage', 'method': 'GET', params }) } -// 操作工单 +// 接单 export function orderClick(params) { return request({ - url: '/eam/device-maintain-order-main/onClick', + url: '/eam/device-maintain-order-main/orderClick', + 'method': 'GET', + params + }) +} +// 完成保养工单 +export function orderClickFinish(params) { + return request({ + url: '/eam/device-maintain-order-main/orderClickFinish', 'method': 'GET', params }) } // 添加维修工单子项维修内容 -export function onkeepOrderDetailCreate(data) { +export function upkeepOrderDetailCreate(data) { return request({ url: '/eam/device-maintain-order-detail/create', 'method': 'POST', @@ -42,7 +50,7 @@ export function onkeepOrderDetailCreate(data) { }) } // 编辑维修工单子项维修内容 -export function onkeepOrderDetailUpdate(data) { +export function upkeepOrderDetailUpdate(data) { return request({ url: '/eam/device-maintain-order-detail/update', 'method': 'PUT', @@ -50,7 +58,7 @@ export function onkeepOrderDetailUpdate(data) { }) } // 获得维修工单子列表 -export function onkeepOrderDetailList(params) { +export function upkeepOrderDetailList(params) { return request({ url: '/eam/device-maintain-order-detail/selectListByNumber', 'method': 'GET', @@ -58,7 +66,7 @@ export function onkeepOrderDetailList(params) { }) } // 删除维修工单子 -export function onkeepOrderDetailDelete(id) { +export function upkeepOrderDetailDelete(id) { return request({ url: '/eam/device-maintain-order-detail/delete?id='+id, 'method': 'DELETE' diff --git a/components/workOrderList/index.vue b/components/workOrderList/index.vue deleted file mode 100644 index ba3e8c7..0000000 --- a/components/workOrderList/index.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/deviceReport/myDeviceReport.vue b/pages/deviceReport/myDeviceReport.vue index c3c8a21..3a0ce91 100644 --- a/pages/deviceReport/myDeviceReport.vue +++ b/pages/deviceReport/myDeviceReport.vue @@ -48,12 +48,8 @@ \ No newline at end of file diff --git a/pages/workOrderList/addForm.vue b/pages/workOrderList/addForm.vue deleted file mode 100644 index e6b4ae1..0000000 --- a/pages/workOrderList/addForm.vue +++ /dev/null @@ -1,284 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/workOrderList/detail.vue b/pages/workOrderList/detail.vue deleted file mode 100644 index b11a5f8..0000000 --- a/pages/workOrderList/detail.vue +++ /dev/null @@ -1,349 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/workOrderList/index.vue b/pages/workOrderList/index.vue deleted file mode 100644 index 12cca40..0000000 --- a/pages/workOrderList/index.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/workOrderList/screen.vue b/pages/workOrderList/screen.vue deleted file mode 100644 index 95d80d0..0000000 --- a/pages/workOrderList/screen.vue +++ /dev/null @@ -1,223 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/workOrderList/transfer.vue b/pages/workOrderList/transfer.vue deleted file mode 100644 index f3ff8df..0000000 --- a/pages/workOrderList/transfer.vue +++ /dev/null @@ -1,181 +0,0 @@ - - - - - \ No newline at end of file