From 9ff66017debadfc89bc0c1b796684a4d1dbe2bc3 Mon Sep 17 00:00:00 2001
From: fangyuan <527392886@qq.com>
Date: 星期五, 16 十二月 2022 10:00:02 +0800
Subject: [PATCH] 已上报到市批量操作按钮隐藏

---
 src/components/Table/index.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/components/Table/index.vue b/src/components/Table/index.vue
index 48072b9..ff1f0de 100644
--- a/src/components/Table/index.vue
+++ b/src/components/Table/index.vue
@@ -4,8 +4,6 @@
             <el-table ref="multipleTable" :data="tableData" style="width: 100%"
                 :header-cell-style="{background:'#06122c','font-size':'12px',color:'#4b9bb7','font-weight':'650','line-height':'45px'}"
                 :row-class-name="tableRowClassName">
-                <el-table-column type="selection" :min-width="5">
-                </el-table-column>
                 <el-table-column v-for="item in option.group" :key="item.prop" :label="item.label"
                     :prop="item.prop" :min-width="item['min-width'] ? item['item.min-width']:'10'">
                     <template slot-scope="scope">
@@ -78,6 +76,10 @@
         }
     },
     props: {
+      getTableList: {
+        type: Function,
+        default: () => {}
+      },
         // 琛ㄦ牸鏁版嵁
         tableData: {
             type: Array,
@@ -120,12 +122,11 @@
     methods: {
         // 璁剧疆琛ㄦ牸鏂戦┈绾�
         tableRowClassName({ row, rowIndex }) {
-            if ((rowIndex + 1) % 2 == 0) {
+            if ((rowIndex + 1) % 2 === 0) {
                 return 'warning-row';
             } else {
                 return 'success-row';
             }
-            return '';
         },
         // 褰撳墠椤垫敼鍙樿Е鍙戜簨浠�
         changeCurrentPage(page) {

--
Gitblit v1.8.0