From cd79b3bfdbc33ffa79fefcf5d6fde287a1c05c2f Mon Sep 17 00:00:00 2001
From: panzy <225@qq.com>
Date: 星期六, 21 五月 2022 11:58:19 +0800
Subject: [PATCH] 表格添加loding转圈 隐患汇总添加导出

---
 src/views/careabout/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/careabout/index.vue b/src/views/careabout/index.vue
index 36f9185..3f5d990 100644
--- a/src/views/careabout/index.vue
+++ b/src/views/careabout/index.vue
@@ -154,7 +154,7 @@
             </el-col>
             </div>
         </el-row>
-       <el-table :data="tableData" style="width: 100%"  @selection-change="handleSelectionChange">
+       <el-table :data="tableData" style="width: 100%"  @selection-change="handleSelectionChange" v-loading="listLoading">
             <el-table-column type="selection" width="55" align="center"></el-table-column>
             <el-table-column prop="number" label="编号" align="center" width="120"></el-table-column>
             <el-table-column prop="check_branch" label="检查部门" align="center" width="120"></el-table-column>
@@ -391,7 +391,9 @@
             getPageList(){
                 this.listQuery.page=1
                 this.checkTime()
+                this.listLoading = true
                 getPageList(this.listQuery).then(res=>{
+                    this.listLoading = false
                     if (res.data.ok==1) {
                         this.tableData = res.data.data.items
                         this.recordTotal=res.data.data.total

--
Gitblit v1.9.2