From 5173f8e31d106abd003e123c8679cf53c7940b33 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 30 一月 2023 11:54:12 +0800
Subject: [PATCH] 网格绘制

---
 src/views/systemSetting/platform/cockpitManage/index.vue |   91 ++++++++++++++++++++++++---------------------
 1 files changed, 49 insertions(+), 42 deletions(-)

diff --git a/src/views/systemSetting/platform/cockpitManage/index.vue b/src/views/systemSetting/platform/cockpitManage/index.vue
index ce70c66..1be6436 100644
--- a/src/views/systemSetting/platform/cockpitManage/index.vue
+++ b/src/views/systemSetting/platform/cockpitManage/index.vue
@@ -36,11 +36,14 @@
                       <el-button type="primary">瀵煎叆</el-button>
                     </el-upload>
                     <el-button style="margin-left: 10px" type="primary" @click="exportTable">瀵煎嚭</el-button>
-                    <el-button type="primary" @click="showAddDialog">娣诲姞</el-button>
+                    <el-button class="button-addition" type="primary" @click="showAddDialog">娣诲姞</el-button>
                 </div>
                 <!-- 鏁版嵁灞曠ず -->
-                <el-table ref="multipleTable"
-                    :header-cell-style="{ background: '#06122c', 'font-size': '12px', color: '#4b9bb7', 'font-weight': '650', 'line-height': '45px' }"
+                <el-table
+                    border
+                    stripe
+                    ref="multipleTable"
+                    :header-cell-style="{ 'background':'#F5F5F5', 'font-size': '14px',  'font-weight': '650', 'line-height': '45px' }"
                     :data="tableData" style="width: 100%" :row-class-name="tableRowClassName"
                     @selection-change="tableChange">
                     <el-table-column prop="name" label="閮ㄩ棬鍚嶇О" min-width="8">
@@ -68,6 +71,9 @@
                     <el-table-column prop="reviewOrLawsuitNumber" label="澶嶈鎴栬瘔璁兼暟" min-width="15" v-if="mystatus === 1">
                     </el-table-column>
                     <el-table-column prop="status" label="鐘舵��" min-width="15" v-if="mystatus === 1">
+                        <template slot-scope="scope">
+                            <span>{{scope.row. status=== 1? '鍚姩' : '绂佺敤'}}</span>
+                        </template>
                     </el-table-column>
                     <el-table-column prop="operation" label="鎿嶄綔" min-width="15">
                         <template slot-scope="scope">
@@ -80,7 +86,7 @@
                     </el-table-column>
                 </el-table>
                 <!-- 璇︽儏椤靛睍绀� -->
-                <el-dialog :visible.sync="dialogView" width="80%" title="鍩虹淇℃伅(浜哄伐)"
+                <el-dialog :visible.sync="dialogView" width="60%" title="鍩虹淇℃伅(浜哄伐)"
                     :before-close="handleClose">
                     <MyDetail :info=info v-if="mystatus === 1"></MyDetail>
                     <MyIllDetail :info=info v-else></MyIllDetail>
@@ -107,7 +113,7 @@
                 </el-dialog>
 
                 <div class="tools">
-                    <div class="funs">
+                    <!-- <div class="funs">
                         <div class="funsItem funs-sp">
                             <el-checkbox v-model="all" @change="selectAll()">鍏ㄩ��</el-checkbox>
                         </div>
@@ -121,7 +127,7 @@
                                 </el-option>
                             </el-select>
                         </div>
-                    </div>
+                    </div> -->
                     <div class="pagination">
                         <el-pagination background :current-page="currentPage" layout="prev, pager, next"
                             :total="totalNum" :page-size="pageSize" @current-change="changeCurrentPage">
@@ -438,11 +444,11 @@
 <style lang="scss" scoped>
 .userList {
     text-align: left;
-    margin: 10px 20px;
-    color: #4b9bb7;
-
+  padding: 10px 20px;
+    // color: #4b9bb7;
+  border: 1px solid #ccc;
     header {
-        background-color: #09152f;
+        // background-color: #09152f;
 
         .headerContent {
             width: 100%;
@@ -454,17 +460,17 @@
 
                 .search-item {
                     display: flex;
-                    margin-right: 10vw;
+                    margin-right: 1vw;
                 }
 
                 .el-input {
                     flex: 2;
-                    color: #1d3f57;
+                    // color: #1d3f57;
 
-                    &::v-deep .el-input__inner {
-                        background-color: #09152f;
-                        border: 1px solid #17324c;
-                    }
+                    // &::v-deep .el-input__inner {
+                    //     background-color: #09152f;
+                    //     border: 1px solid #17324c;
+                    // }
                 }
 
             }
@@ -478,19 +484,19 @@
 
                 .el-button {
                     padding: 12px 25px;
-                    border-radius: 20px;
+                    //border-radius: 20px;
                 }
             }
         }
     }
 
-    &::v-deep .el-input__inner {
-        background-color: #09152f;
-        border: 1px solid #17324c;
-    }
+    // &::v-deep .el-input__inner {
+    //     background-color: #09152f;
+    //     border: 1px solid #17324c;
+    // }
 
     main {
-        background-color: #09152f;
+        // background-color: #09152f;
         margin-top: 20px;
         padding-bottom: 50px;
 
@@ -502,6 +508,7 @@
             display: flex;
             line-height: 40px;
             align-items: center;
+          margin-bottom: 10px;
         }
 
         .tools {
@@ -511,7 +518,7 @@
             padding: 0 20px;
 
             .funs-sp {
-                border: 1px solid #17324c;
+                // border: 1px solid #17324c;
             }
 
             .funs {
@@ -534,13 +541,13 @@
                         width: 120px;
                     }
 
-                    &:hover {
-                        border: 1px solid #4b9bb7;
-                    }
+                    // &:hover {
+                    //     border: 1px solid #4b9bb7;
+                    // }
 
-                    &:hover .el-checkbox {
-                        color: #4b9bb7;
-                    }
+                    // &:hover .el-checkbox {
+                    //     color: #4b9bb7;
+                    // }
                 }
 
             }
@@ -553,24 +560,24 @@
 
                 .el-pagination {
 
-                    &::v-deep li,
-                    &::v-deep .btn-prev,
-                    &::v-deep .btn-next {
-                        background-color: #071f39;
-                        color: #4b9bb7;
-                    }
+                    // &::v-deep li,
+                    // &::v-deep .btn-prev,
+                    // &::v-deep .btn-next {
+                    //     background-color: #071f39;
+                    //     color: #4b9bb7;
+                    // }
 
-                    &::v-deep .active {
-                        background-color: #409eff;
-                        color: #fff;
-                    }
+                    // &::v-deep .active {
+                    //     background-color: #409eff;
+                    //     color: #fff;
+                    // }
                 }
             }
         }
 
         .el-table {
-            color: #4b9bb7;
-            font-size: 10px;
+            // color: #4b9bb7;
+            // font-size: 10px;
 
             .operation {
                 display: flex;
@@ -590,4 +597,4 @@
         padding: 0 5px;
     }
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0