From c60e588944ffbe400cb1f82a00f49df49eec81cf Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 20 九月 2023 20:28:48 +0800
Subject: [PATCH] 引用码段-JSON.parse问题处理

---
 Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue b/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue
index 5268994..6d28988 100644
--- a/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue
+++ b/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue
@@ -237,6 +237,7 @@
       type: Array,
       default: () => ({}),
     },
+    resetTable: Function
   },
   computed: {
     dialogVisible: {
@@ -549,11 +550,13 @@
           },
         ];
       }
-        this.submitLoading = true
+      this.submitLoading = true
       submitHistoryimport(params).then((res) => {
         this.submitLoading = false
         if (res.data.code === 200) {
           this.$message.success(res.data.msg);
+          this.$parent.dialogVisible = false
+          this.resetTable()
         }
       });
     },

--
Gitblit v1.9.3