From 0590498939b2a473ebc4da47868a0c0157a707c5 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 21 二月 2024 10:23:54 +0800 Subject: [PATCH] 手动同步失败事件 --- Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue index 7b9018a..06b441e 100644 --- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue +++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue @@ -623,12 +623,16 @@ async submitSync() { if (this.SyncValue) { this.syncLoading = true; - const response = await syncSearch({enDate: this.SyncValue}) + const response = await syncSearch({endDate: this.SyncValue}) if (response.status === 200) { this.$message.success('鍚屾鎴愬姛锛�') this.syncLoading = false; this.syncDialogBox = false; this.SyncValue = ""; + }else { + this.syncLoading = false; + this.syncDialogBox = false; + this.SyncValue = ""; } } else { this.$message.warning('璇烽�夋嫨鏈�鍚庢洿鏂版椂闂达紒') -- Gitblit v1.9.3