From 5309d502f6b374a75a6c3b623475d30bb3b8f59f Mon Sep 17 00:00:00 2001
From: wws <18630710203@163.com>
Date: Thu, 23 Nov 2023 10:50:01 +0800
Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E6=A3=80=E3=80=81=E5=B7=A1=E6=A3=80?=
=?UTF-8?q?=E3=80=81=E4=BF=9D=E5=85=BB=E9=A1=B5=E9=9D=A2=E6=95=88=E6=9E=9C?=
=?UTF-8?q?=E4=BC=98=E5=8C=96+=E6=A0=A1=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/device/deviceOrder/index.vue | 4 ++++
src/views/device/inspectionPlan/index.vue | 2 ++
src/views/device/inspectionWork/index.vue | 6 ++++--
src/views/device/item/index.vue | 6 ++++--
src/views/device/maintenanceWork/index.vue | 2 ++
src/views/device/repairOrderReport/index.vue | 2 ++
src/views/device/spotCheckPlan/index.vue | 2 ++
src/views/device/spotInspectionOrder/index.vue | 4 ++++
src/views/device/spotInspectionWork/index.vue | 6 ++++--
src/views/device/upkeepOrder/index.vue | 4 ++++
src/views/device/upkeepPlan/index.vue | 2 ++
11 files changed, 34 insertions(+), 6 deletions(-)
diff --git a/src/views/device/deviceOrder/index.vue b/src/views/device/deviceOrder/index.vue
index ebcd0518..4f91b944 100644
--- a/src/views/device/deviceOrder/index.vue
+++ b/src/views/device/deviceOrder/index.vue
@@ -787,6 +787,7 @@ export default {
methods: {
// 展示
showWork(row) {
+ this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@@ -798,6 +799,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
+ this.loading = false;
this.workDetail = true;
});
@@ -889,6 +891,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
+ this.loading = true;
this.reset();
this.recordList = [];
const orderCode = row.orderCode || this.ids
@@ -903,6 +906,7 @@ export default {
this.recordList.push(this.form.detailList[i].standardList[j]);
}
}
+ this.loading = false;
this.open = true;
this.title = "填写记录";
});
diff --git a/src/views/device/inspectionPlan/index.vue b/src/views/device/inspectionPlan/index.vue
index 9f35e46b..d2a73916 100644
--- a/src/views/device/inspectionPlan/index.vue
+++ b/src/views/device/inspectionPlan/index.vue
@@ -1156,6 +1156,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
+ this.loading = true;
this.reset();
// 清除缓存
this.queryEquipment = [];
@@ -1179,6 +1180,7 @@ export default {
}
}
+ this.loading = false;
this.open = true;
this.title = "修改计划";
})
diff --git a/src/views/device/inspectionWork/index.vue b/src/views/device/inspectionWork/index.vue
index 008e3188..3f35fa12 100644
--- a/src/views/device/inspectionWork/index.vue
+++ b/src/views/device/inspectionWork/index.vue
@@ -346,12 +346,12 @@
{{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}
-
+
{{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }}
-
+
{{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }}
@@ -672,6 +672,7 @@ export default {
},
// 展示
showWork(row) {
+ this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@@ -683,6 +684,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
+ this.loading = false;
this.workDetail = true;
});
diff --git a/src/views/device/item/index.vue b/src/views/device/item/index.vue
index 81d8910e..9a3ceb77 100644
--- a/src/views/device/item/index.vue
+++ b/src/views/device/item/index.vue
@@ -197,8 +197,8 @@
-
-
+
+
@@ -588,6 +588,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
+ this.loading = true;
this.reset();
this.activePage = 'check';
this.setTransfer();
@@ -602,6 +603,7 @@ export default {
})
this.formStandard = response.data.formStandard;
+ this.loading = false;
this.open = true;
this.title = "修改检查项";
});
diff --git a/src/views/device/maintenanceWork/index.vue b/src/views/device/maintenanceWork/index.vue
index 98b96209..e57d8afc 100644
--- a/src/views/device/maintenanceWork/index.vue
+++ b/src/views/device/maintenanceWork/index.vue
@@ -749,6 +749,7 @@ export default {
},
// 展示
showWork(row) {
+ this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@@ -770,6 +771,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
+ this.loading = false;
this.workDetail = true;
});
diff --git a/src/views/device/repairOrderReport/index.vue b/src/views/device/repairOrderReport/index.vue
index de8469d5..8f8c029e 100644
--- a/src/views/device/repairOrderReport/index.vue
+++ b/src/views/device/repairOrderReport/index.vue
@@ -718,6 +718,7 @@ export default {
/** 查询按钮操作 */
handleView(row) {
+ this.loading = true;
this.reset();
const workId = row.workId || this.ids;
getRepairOrder(workId).then((response) => {
@@ -781,6 +782,7 @@ export default {
this.detailList = standards;
//展示
+ this.loading = false;
this.openView = true;
this.title = "查看维修工单";
});
diff --git a/src/views/device/spotCheckPlan/index.vue b/src/views/device/spotCheckPlan/index.vue
index cbdf74c1..1f18dbee 100644
--- a/src/views/device/spotCheckPlan/index.vue
+++ b/src/views/device/spotCheckPlan/index.vue
@@ -1182,6 +1182,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
+ this.loading = true;
this.reset();
// 清除缓存
this.queryEquipment = [];
@@ -1205,6 +1206,7 @@ export default {
}
}
+ this.loading = false;
this.open = true;
this.title = "修改计划";
})
diff --git a/src/views/device/spotInspectionOrder/index.vue b/src/views/device/spotInspectionOrder/index.vue
index cd2e452e..fc0638aa 100644
--- a/src/views/device/spotInspectionOrder/index.vue
+++ b/src/views/device/spotInspectionOrder/index.vue
@@ -785,6 +785,7 @@ export default {
},
// 展示
showWork(row) {
+ this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@@ -796,6 +797,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
+ this.loading = false;
this.workDetail = true;
});
@@ -889,6 +891,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
+ this.loading = true;
this.reset();
this.recordList = [];
const orderCode = row.orderCode || this.ids
@@ -903,6 +906,7 @@ export default {
this.recordList.push(this.form.detailList[i].standardList[j]);
}
}
+ this.loading = false;
this.open = true;
this.title = "填写记录";
});
diff --git a/src/views/device/spotInspectionWork/index.vue b/src/views/device/spotInspectionWork/index.vue
index b70b2d54..b373ce30 100644
--- a/src/views/device/spotInspectionWork/index.vue
+++ b/src/views/device/spotInspectionWork/index.vue
@@ -337,12 +337,12 @@
{{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}
-
+
{{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }}
-
+
{{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }}
@@ -655,6 +655,7 @@ export default {
},
// 展示
showWork(row) {
+ this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@@ -666,6 +667,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
+ this.loading = false;
this.workDetail = true;
});
diff --git a/src/views/device/upkeepOrder/index.vue b/src/views/device/upkeepOrder/index.vue
index d99b5e7e..4582ef9d 100644
--- a/src/views/device/upkeepOrder/index.vue
+++ b/src/views/device/upkeepOrder/index.vue
@@ -1414,6 +1414,7 @@ export default {
},
// 展示
showWork(row) {
+ this.loading = true;
this.reset();
this.standardListVo = [];
const orderId = row.orderId || this.ids
@@ -1435,6 +1436,7 @@ export default {
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
}
}
+ this.loading = false;
this.workDetail = true;
});
@@ -1762,6 +1764,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
+ this.loading = true;
this.reset();
this.recordList = [];
const orderCode = row.orderCode || this.ids
@@ -1776,6 +1779,7 @@ export default {
this.recordList.push(this.form.detailList[i].standardList[j]);
}
}
+ this.loading = false;
this.open = true;
this.title = "填写记录";
});
diff --git a/src/views/device/upkeepPlan/index.vue b/src/views/device/upkeepPlan/index.vue
index 3f3f53a9..fd48ae5b 100644
--- a/src/views/device/upkeepPlan/index.vue
+++ b/src/views/device/upkeepPlan/index.vue
@@ -1530,6 +1530,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
+ this.loading = true;
this.reset();
// 清除缓存
this.queryEquipment = [];
@@ -1554,6 +1555,7 @@ export default {
}
+ this.loading = false;
this.open = true;
this.title = "修改计划";
})