From f551b10b0c04a902ea089b4a434bb9537b94496e Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期四, 29 十二月 2022 17:14:59 +0800
Subject: [PATCH] Merge branch 'dev1.0' of http://42.193.1.25:9521/r/sccg_ui into dev1.0

---
 src/views/operate/baseSetting/illegalBuild/index.vue |   28 +++++++++-------------------
 1 files changed, 9 insertions(+), 19 deletions(-)

diff --git a/src/views/operate/baseSetting/illegalBuild/index.vue b/src/views/operate/baseSetting/illegalBuild/index.vue
index 8f88253..993e979 100644
--- a/src/views/operate/baseSetting/illegalBuild/index.vue
+++ b/src/views/operate/baseSetting/illegalBuild/index.vue
@@ -25,7 +25,7 @@
             <div class="mainContent">
                 <!-- 鏁版嵁灞曠ず -->
                 <el-table ref="multipleTable"
-                    :header-cell-style="{background:'#06122c','font-size':'12px',color:'#4b9bb7','font-weight':'650','line-height':'45px'}"
+                    :header-cell-style="{background:'#fff','font-weight':'650','line-height':'45px'}"
                     :data="tableData" style="width: 100%" :row-class-name="tableRowClassName"
                     @selection-change="tableChange">
                     <el-table-column type="selection" min-width="5">
@@ -128,7 +128,6 @@
     methods: {
         // 鎵归噺鍒犻櫎
         mulDelete(idArr){
-            console.log(idArr);
             this.$axios({
                 method:'delete',
                 url:'sccg/illegal_building/batch_delete?ids='+idArr,
@@ -160,11 +159,7 @@
         // 鐩戝惉琛ㄦ牸閫変腑鐘舵��
         tableChange(list) {
             this.tempList = list;
-            if (list.length === this.tableData.length) {
-                this.all = true;
-            } else {
-                this.all = false
-            }
+            this.all = list.length === this.tableData.length;
         },
         // 鍏ㄩ��
         selectAll() {
@@ -178,10 +173,8 @@
         },
         // 鍒犻櫎鍗曟潯鏁版嵁
         handleDelete({ number }) {
-            console.log(number);
             this.$confirm('纭鍒犻櫎锛�')
                 .then(_ => {
-                    console.log(1);
                     this.$axios({
                         method: 'delete',
                         url: `sccg/illegal_building/delete?id=${number}`,
@@ -195,7 +188,7 @@
                             this.getUserList();
                         })
                 })
-                .catch(_ => { console.log(2) });
+                .catch(_ => {  });
         },
         // 鑾峰彇鐢ㄦ埛鍒楄〃
         getUserList() {
@@ -212,12 +205,11 @@
         },
         // 璁剧疆琛ㄦ牸鏂戦┈绾�
         tableRowClassName({ row, rowIndex }) {
-            if ((rowIndex + 1) % 2 == 0) {
+            if ((rowIndex + 1) % 2 === 0) {
                 return 'warning-row';
             } else {
                 return 'success-row';
             }
-            return '';
         },
         // 鏌ョ湅鐢ㄦ埛淇℃伅(涓嶅彲淇敼)
         handleFind(rowData) {
@@ -279,8 +271,7 @@
     }
 
     header {
-        background-color: #09152f;
-        border: 1pox solid #fff;
+        background-color: #fff;
 
         .headerContent {
             padding: 0 40px;
@@ -327,10 +318,9 @@
     }
 
     main {
-        background-color: #09152f;
+        background-color: #fff;
         margin-top: 20px;
         padding-bottom: 50px;
-        border: 1pox solid #fff;
 
         .mainTitle {
             line-height: 60px;
@@ -385,7 +375,7 @@
                     &::v-deep li,
                     &::v-deep .btn-prev,
                     &::v-deep .btn-next {
-                        background-color: #071f39;
+                        // background-color: #071f39;
                         color: #4b9bb7;
                     }
 
@@ -398,8 +388,8 @@
         }
 
         .el-table {
-            color: #4b9bb7;
-            font-size: 10px;
+            // color: #4b9bb7;
+            // font-size: 10px;
 
             &::v-deep .cell {
                 text-overflow: ellipsis;

--
Gitblit v1.8.0