diff --git a/src/views/device/deviceOrder/index.vue b/src/views/device/deviceOrder/index.vue index ebcd051..4f91b94 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 9f35e46..d2a7391 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 008e318..3f35fa1 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}') }} - + - + @@ -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 81d8910..9a3ceb7 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 98b9620..e57d8af 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 de8469d..8f8c029 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 cbdf74c..1f18dbe 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 cd2e452..fc0638a 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 b70b2d5..b373ce3 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}') }} - + - + @@ -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 d99b5e7..4582ef9 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 3f3f53a..fd48ae5 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 = "修改计划"; })