From 8be895639f0250ced67a4437e7ebf6854d054749 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 24 八月 2022 17:36:20 +0800
Subject: [PATCH] 1.修改小标签打印

---
 src/views/sbgl/sbqd.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/sbgl/sbqd.vue b/src/views/sbgl/sbqd.vue
index 89cd85d..cd938bd 100644
--- a/src/views/sbgl/sbqd.vue
+++ b/src/views/sbgl/sbqd.vue
@@ -186,7 +186,8 @@
             width="100"
           >
             <template slot-scope="{row}">
-              <div>{{ row.operation_ration }}%</div>
+              <div v-if=" parseFloat(row.operation_ration)===0">/</div>
+              <div v-else>{{ row.operation_ration }}%</div>
             </template>
           </el-table-column>
           <el-table-column
@@ -221,7 +222,6 @@
       </div>
       <!--鍒嗛〉-->
       <pagination
-        v-show="total>0"
         :total="total"
         :page.sync="form.page"
         :limit.sync="form.rows"
@@ -429,7 +429,6 @@
       </el-table>
       <!--鍒嗛〉-->
       <pagination
-        v-show="DeviceTypeTotal>0"
         :total="DeviceTypeTotal"
         :page.sync="formDeviceType.page"
         :limit.sync="formDeviceType.rows"
@@ -542,7 +541,6 @@
       </el-table>
       <!--鍒嗛〉-->
       <pagination
-        v-show="DeviceGroupTotal>0"
         :total="DeviceGroupTotal"
         :page.sync="formDeviceGroup.page"
         :limit.sync="formDeviceGroup.rows"
@@ -1096,6 +1094,10 @@
 <!--鍏叡椤甸潰鏍峰紡-->
 <style lang="scss" scoped>
 $main_color: #42b983;
+::v-deep .el-button--text{
+  font-size: 14px ;
+  cursor: pointer ;
+}
 .el-icon-share ,.el-icon-delete,.el-icon-edit-outline{
   color: $main_color;
   cursor: pointer;

--
Gitblit v1.9.3