|
|
|
@ -6,6 +6,11 @@ |
|
|
|
<div v-if="showSort" class="custom-table-cell header-cell sort-cell"> |
|
|
|
序号 |
|
|
|
</div> |
|
|
|
<div class = "custom-table-cell header-cell c-cell"> |
|
|
|
<div class="checkbox-item"> |
|
|
|
<el-checkbox></el-checkbox> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-for="(col, index) in columns" :key="index" class="custom-table-cell header-cell" |
|
|
|
:style="getCellWidth(col)"> |
|
|
|
<div class="header-cell-content"> |
|
|
|
@ -40,6 +45,11 @@ |
|
|
|
<div v-if="showSort" class="custom-table-cell body-cell sort-cell"> |
|
|
|
{{ rowIndex + 1 }} |
|
|
|
</div> |
|
|
|
<div class = "custom-table-cell body-cell c-cell"> |
|
|
|
<div class="checkbox-item"> |
|
|
|
<el-checkbox></el-checkbox> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-for="(col, colIndex) in columns" :key="colIndex" class="custom-table-cell body-cell" |
|
|
|
:style="getCellWidth(col)"> |
|
|
|
<div class="inner-table-cell"> |
|
|
|
@ -1165,4 +1175,13 @@ export default { |
|
|
|
border-radius: 4px; |
|
|
|
border: 1px solid #ff5d5d; |
|
|
|
} |
|
|
|
.checkbox-item{ |
|
|
|
/* width: 50px; */ |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
} |
|
|
|
.c-cell{ |
|
|
|
width: 50px; |
|
|
|
} |
|
|
|
</style> |