From 8aa46bf6dcbf27cb618736abc9b2c36583ff80f8 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 04 九月 2024 02:57:40 +0800
Subject: [PATCH] table无数据优化

---
 src/views/system/contract/contract-result/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/system/contract/contract-result/index.vue b/src/views/system/contract/contract-result/index.vue
index 0820f3d..e97a6e6 100644
--- a/src/views/system/contract/contract-result/index.vue
+++ b/src/views/system/contract/contract-result/index.vue
@@ -6,7 +6,6 @@
       size="small"
       :inline="true"
       v-show="showSearch"
-      label-width="100px"
     >
       <el-form-item label="鑰冩牳瀵硅薄" prop="unitId">
         <el-select
@@ -100,7 +99,7 @@
       ></right-toolbar> -->
     </el-row>
 
-    <el-row v-loading="loading">
+    <el-row v-if="checkResultList && checkResultList.length > 0" v-loading="loading">
       <el-col
         :xl="8"
         :lg="8"
@@ -151,6 +150,7 @@
         </el-card>
       </el-col>
     </el-row>
+    <el-empty v-else description="鏆傛棤鏁版嵁"></el-empty>
 
     <pagination
       v-show="total > 0"

--
Gitblit v1.8.0