Sfoglia il codice sorgente

船舶动态表表头锁定

shxiaoc 1 anno fa
parent
commit
3dae0cef4e

+ 2 - 1
src/views/statisticalReport/components/Ship_dynamic_table.vue

@@ -786,9 +786,10 @@ export default {
   .title-fixed{
     position: fixed;
     left:20px;
-    top:20px;
+    top:0px;
     z-index:999;
     background-color: #fff;
+    width: 100%;
   }
 }
 </style>

+ 7 - 5
src/views/statisticalReport/components/tableItem.vue

@@ -150,6 +150,7 @@
         </div>
         <el-divider></el-divider>
         <!-- 等闸线 -->
+        <!--
         <div class="appendSlot">
           <el-table
             highlight-current-row
@@ -159,7 +160,7 @@
             style="font-size: 12px"
           >
             <el-table-column label="控制线等闸船舶动态">
-              <!-- 4 -->
+
               <el-table-column
                 align="center"
                 prop="lineDate4"
@@ -188,7 +189,7 @@
                 label="总计"
               >
               </el-table-column>
-              <!-- 3 -->
+
               <el-table-column
                 align="center"
                 prop="lineDate3"
@@ -217,7 +218,7 @@
                 label="总计"
               >
               </el-table-column>
-              <!-- 2 -->
+
               <el-table-column
                 align="center"
                 prop="lineDate2"
@@ -246,7 +247,7 @@
                 label="总计"
               >
               </el-table-column>
-              <!-- 1 -->
+
               <el-table-column
                 align="center"
                 prop="lineDate1"
@@ -278,6 +279,7 @@
             </el-table-column>
           </el-table>
         </div>
+      -->
       </div>
     </el-table>
   </div>
@@ -764,7 +766,7 @@ export default {
 
  .el-table__header-wrapper:has(.announce_left){
         position: fixed;
-        top:140px;
+        top:120px;
         right: 10px;
         width: 100%;
         z-index:999;