From d95b36a88357d018f76d926e9074c521eb8335a7 Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期三, 23 十月 2024 11:24:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/src/views/system/contract/contract-result/index.vue b/src/views/system/contract/contract-result/index.vue
index 79e2c09..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
@@ -71,7 +70,7 @@
       <!--          v-hasPermi="['system:checkResult:add']"-->
       <!--        >鏂板</el-button>-->
       <!--      </el-col>-->
-      <el-col :span="1.5">
+      <!-- <el-col :span="1.5">
         <el-button
           type="danger"
           plain
@@ -82,8 +81,8 @@
           @click="handleDelete"
           >鍒犻櫎</el-button
         >
-      </el-col>
-      <el-col :span="1.5">
+      </el-col> -->
+      <!-- <el-col :span="1.5">
         <el-button
           type="warning"
           plain
@@ -93,14 +92,14 @@
           @click="handleExport"
           >瀵煎嚭</el-button
         >
-      </el-col>
-      <right-toolbar
+      </el-col> -->
+      <!-- <right-toolbar
         :showSearch.sync="showSearch"
         @queryTable="getList"
-      ></right-toolbar>
+      ></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"
@@ -135,7 +134,7 @@
               style="float: right"
               @click="handlePublish(item)"
               v-show="item.publish != 1"
-              v-hasPermi="['result:contract:publish']"
+              v-hasPermi="['contract:result:publish']"
               >纭鍙戝竷</el-button
             >
             <el-button
@@ -144,13 +143,14 @@
               style="float: right"
               disabled
               v-show="item.publish == 1"
-              v-hasPermi="['result:contract:publish']"
+              v-hasPermi="['contract:result:publish']"
               >宸插彂甯�</el-button
             >
           </div>
         </el-card>
       </el-col>
     </el-row>
+    <el-empty v-else description="鏆傛棤鏁版嵁"></el-empty>
 
     <pagination
       v-show="total > 0"

--
Gitblit v1.8.0