From 916a9544612dd3e8bbf80057b3fa65b5cc8ab4b5 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Fri, 27 Oct 2023 18:05:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E4=BF=AE+=E7=BB=B4=E4=BF=AE+=E5=A7=94?= =?UTF-8?q?=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/device/repairOrder.js | 11 +- src/views/device/faultReport/index.vue | 380 +++++++++++++++- src/views/device/repairOrder/index.vue | 411 +++++++++++++----- .../repairOrder/selectSingleEquipment.vue | 246 +++++++++++ .../device/repairOrder/selectSinglePerson.vue | 183 ++++++++ 5 files changed, 1112 insertions(+), 119 deletions(-) create mode 100644 src/views/device/repairOrder/selectSingleEquipment.vue create mode 100644 src/views/device/repairOrder/selectSinglePerson.vue diff --git a/src/api/device/repairOrder.js b/src/api/device/repairOrder.js index 98d5f415..c096c36e 100644 --- a/src/api/device/repairOrder.js +++ b/src/api/device/repairOrder.js @@ -17,7 +17,7 @@ export function getRepairOrder(workId) { }); } -// 新增维修工单 +// 快速工单 export function addRepairOrder(data) { return request({ url: '/device/repairOrder', @@ -43,4 +43,13 @@ export function delRepairOrder(workId) { }); } +//申请委外 +export function applyOutsource(data) { + return request({ + url: '/device/repairOrder/apply', + method: 'post', + data: data + }); +} + diff --git a/src/views/device/faultReport/index.vue b/src/views/device/faultReport/index.vue index 3eb9c9a0..d7e3a629 100644 --- a/src/views/device/faultReport/index.vue +++ b/src/views/device/faultReport/index.vue @@ -159,7 +159,7 @@ label="报修单号" align="center" prop="orderCode" - width="150" + width="200" /> + @@ -455,7 +456,17 @@ + + + + + + + + + + + + + + + + + + @@ -483,17 +508,41 @@ + + + + + + + + + + + + + + + + + + @@ -509,6 +558,8 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 报修信息审核 + + + + + 计划性维修 + 不维修 + 委外维修 + 立即维修 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { if(response.data.orderStatus == "审核通过" || response.data.orderStatus == "驳回"){ - Message.warning("该报修记录已审核,请勿重复审核!"); + Message.warning("该报修记录已审核!"); + this.form = response.data; + this.viewCheck = true; + this.title = "查看审核故障报修"; }else{ this.form = response.data; this.openCheck = true; diff --git a/src/views/device/repairOrder/index.vue b/src/views/device/repairOrder/index.vue index 1ae94471..5dfe8a57 100644 --- a/src/views/device/repairOrder/index.vue +++ b/src/views/device/repairOrder/index.vue @@ -1,19 +1,49 @@ diff --git a/src/views/device/repairOrder/selectSinglePerson.vue b/src/views/device/repairOrder/selectSinglePerson.vue new file mode 100644 index 00000000..ceef0741 --- /dev/null +++ b/src/views/device/repairOrder/selectSinglePerson.vue @@ -0,0 +1,183 @@ + + +