From 83ac4dee144c7ad9fe544ab9b5eaf37dbc6e8854 Mon Sep 17 00:00:00 2001 From: danshihao Date: Tue, 23 Jan 2024 14:46:31 +0800 Subject: [PATCH] fix 81137 --- .../EnterpriseStandardInspectionPlanFlow.vue | 20 ++++++++++++++----- .../EnterpriseStandardInspectionProcess.vue | 20 ++++++++++++++----- ...erpriseStandardInspectionRectification.vue | 20 ++++++++++++++----- .../InspectionExtensionRequestProcess.vue | 20 ++++++++++++++----- .../PermissionApplicationProcess.vue | 20 ++++++++++++++----- .../PostMeetingManageProcess.vue | 20 ++++++++++++++----- .../StandardPromotionProcess.vue | 8 ++++++-- 7 files changed, 96 insertions(+), 32 deletions(-) diff --git a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue index 2ee7975d..4ed11319 100644 --- a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue +++ b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue @@ -474,7 +474,9 @@ export default { this.$message.warn(res.message) } }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -498,7 +500,9 @@ export default { }).catch((err) => { console.log(err) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -525,7 +529,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -563,7 +569,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -601,7 +609,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, // 是否会签改变 diff --git a/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue b/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue index c4076033..54106681 100644 --- a/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue +++ b/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue @@ -442,7 +442,9 @@ export default { this.$message.warn(res.message) } }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -466,7 +468,9 @@ export default { }).catch((err) => { console.log(err) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -502,7 +506,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -535,7 +541,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -573,7 +581,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** diff --git a/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue b/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue index bfe7e793..e4e8d983 100644 --- a/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue +++ b/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue @@ -413,7 +413,9 @@ export default { this.$message.warn(res.message) } }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -437,7 +439,9 @@ export default { }).catch((err) => { console.log(err) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -460,7 +464,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -493,7 +499,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -531,7 +539,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** diff --git a/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue b/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue index e1d45f52..45e3a37d 100644 --- a/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue +++ b/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue @@ -400,7 +400,9 @@ export default { this.$message.warn(res.message) } }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -424,7 +426,9 @@ export default { }).catch((err) => { console.log(err) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -463,7 +467,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -496,7 +502,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -534,7 +542,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** diff --git a/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue b/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue index 3ba56bbe..70c6e161 100644 --- a/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue +++ b/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue @@ -540,7 +540,9 @@ export default { this.$message.warn(res.message) } }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -564,7 +566,9 @@ export default { }).catch((err) => { console.log(err) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -592,7 +596,9 @@ export default { console.log(err) this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -625,7 +631,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -663,7 +671,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** diff --git a/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue b/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue index 12fff3c8..56ceca42 100644 --- a/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue +++ b/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue @@ -438,7 +438,9 @@ export default { this.$message.warn(res.message) } }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -462,7 +464,9 @@ export default { }).catch((err) => { console.log(err) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -489,7 +493,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -523,7 +529,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -547,7 +555,9 @@ export default { }).catch((err) => { this.switchChange(err.message) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** diff --git a/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue b/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue index 390c78fa..fbffc702 100644 --- a/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue +++ b/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue @@ -322,7 +322,9 @@ export default { }).catch((err) => { console.log(err) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /** @@ -344,7 +346,9 @@ export default { }).catch((err) => { console.log(err) }).finally(() => { - this.loading = false + setTimeout(() => { + this.loading = false + }, 1000) }) }, /**