From b86952783138d533940df78ee5401cf096dfafb2 Mon Sep 17 00:00:00 2001 From: danshihao Date: Tue, 23 Jan 2024 15:13:41 +0800 Subject: [PATCH] fix 81137 --- .../EnterpriseStandardInspectionPlanFlow.vue | 6 ++++++ .../EnterpriseStandardInspectionProcess.vue | 6 ++++++ .../EnterpriseStandardInspectionRectification.vue | 6 ++++++ .../InspectionExtensionRequestProcess.vue | 6 ++++++ .../PermissionApplicationProcess.vue | 6 ++++++ .../postMeetingManageProcess/PostMeetingManageProcess.vue | 6 ++++++ .../standardPromotionProcess/StandardPromotionProcess.vue | 2 ++ 7 files changed, 38 insertions(+) diff --git a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue index 4ed11319..ad72bf6b 100644 --- a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue +++ b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue @@ -473,6 +473,8 @@ export default { } else { this.$message.warn(res.message) } + }).catch(() => { + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -499,6 +501,7 @@ export default { } }).catch((err) => { console.log(err) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -528,6 +531,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -568,6 +572,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -608,6 +613,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false diff --git a/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue b/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue index 54106681..f62402e4 100644 --- a/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue +++ b/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue @@ -441,6 +441,8 @@ export default { } else { this.$message.warn(res.message) } + }).catch(() => { + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -467,6 +469,7 @@ export default { } }).catch((err) => { console.log(err) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -505,6 +508,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -540,6 +544,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -580,6 +585,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false diff --git a/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue b/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue index e4e8d983..f3784dc0 100644 --- a/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue +++ b/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue @@ -412,6 +412,8 @@ export default { } else { this.$message.warn(res.message) } + }).catch(() => { + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -438,6 +440,7 @@ export default { } }).catch((err) => { console.log(err) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -463,6 +466,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -498,6 +502,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -538,6 +543,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false diff --git a/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue b/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue index 45e3a37d..dd3e31d4 100644 --- a/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue +++ b/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue @@ -399,6 +399,8 @@ export default { } else { this.$message.warn(res.message) } + }).catch(() => { + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -425,6 +427,7 @@ export default { } }).catch((err) => { console.log(err) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -466,6 +469,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -501,6 +505,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -541,6 +546,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false diff --git a/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue b/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue index 70c6e161..40fa67b5 100644 --- a/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue +++ b/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue @@ -539,6 +539,8 @@ export default { } else { this.$message.warn(res.message) } + }).catch(() => { + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -565,6 +567,7 @@ export default { } }).catch((err) => { console.log(err) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -595,6 +598,7 @@ export default { }).catch((err) => { console.log(err) this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -630,6 +634,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -670,6 +675,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false diff --git a/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue b/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue index 56ceca42..0632e298 100644 --- a/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue +++ b/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue @@ -437,6 +437,8 @@ export default { } else { this.$message.warn(res.message) } + }).catch(() => { + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -463,6 +465,7 @@ export default { } }).catch((err) => { console.log(err) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -492,6 +495,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -528,6 +532,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -554,6 +559,7 @@ export default { } }).catch((err) => { this.switchChange(err.message) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false diff --git a/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue b/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue index fbffc702..9dcc05f7 100644 --- a/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue +++ b/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue @@ -321,6 +321,7 @@ export default { } }).catch((err) => { console.log(err) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false @@ -345,6 +346,7 @@ export default { } }).catch((err) => { console.log(err) + this.loading = false }).finally(() => { setTimeout(() => { this.loading = false