From e213e25673421c0ac41713171f9cd5ce90bc221f Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 24 十一月 2023 14:35:36 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/views/wel/Statistic.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/wel/Statistic.vue b/Source/UBCS-WEB/src/views/wel/Statistic.vue
index 0eda3f5..4b74518 100644
--- a/Source/UBCS-WEB/src/views/wel/Statistic.vue
+++ b/Source/UBCS-WEB/src/views/wel/Statistic.vue
@@ -9,7 +9,6 @@
                top='-40px'>
       <el-table
         ref="TableBox"
-        v-loading="TableLoading"
         :data="Crud.data"
         border
         style="width: 100%"
@@ -54,7 +53,7 @@
         </el-table-column>
       </el-table>
       <div slot="footer" class="dialog-footer">
-        <el-button plain type="primary" @click="SaveHandler">淇濆瓨</el-button>
+        <el-button plain type="primary" @click="SaveHandler" v-loading="BtnLoading">淇濆瓨</el-button>
       </div>
     </el-dialog>
   </div>
@@ -67,7 +66,7 @@
   name: "Statistic",
   data() {
     return {
-      TableLoading: false,
+      BtnLoading: false,
       loading: true,
       Crud: {
         form: '',
@@ -127,7 +126,7 @@
         this.$message.warning('璇烽�夋嫨涓�鏉℃暟鎹紒');
         return;
       }
-      this.TableLoading = true;
+      this.BtnLoading = true;
       try {
         const {data: {code}} = await save(this.userId, this.SelectRow.map(item => item.code));
         if (code === 200) {
@@ -136,12 +135,12 @@
           this.option.data = [];
           this.MasterGetList();
           this.dialogTableVisible = false;
-          this.TableLoading = false;
+          this.BtnLoading = false;
           this.loading = true;
           this.FontInfo();
         }
       } catch {
-        this.TableLoading = false;
+        this.BtnLoading = false;
       }
     },
     MoreHandler() {

--
Gitblit v1.9.3