feat:所有列表添加调整列宽功能

This commit is contained in:
wangwenrui
2020-11-04 15:38:34 +08:00
parent 82367d6df2
commit 7ab9ed81f7
17 changed files with 21 additions and 35 deletions

View File

@@ -39,11 +39,9 @@
>
</el-table-column>
<el-table-column
:resizable="false"
:resizable="true"
v-for="(item, index) in tools.customTableTitle"
v-if="item.show"
:width="item.width"
:minWidth="item.minWidth"
:key="`col-${index}`"
:label="item.label"
:show-overflow-tooltip="item.prop != 'labels' && item.prop != 'alertRule'"
@@ -156,7 +154,7 @@
</template>
</el-table-column>
<el-table-column width="28" :resizable="false">
<el-table-column width="28" :resizable="true">
<template slot="header" slot-scope="scope">
<span @mousedown.stop="!tools.showCustomTableTitle && (tools.showCustomTableTitle = true)" class="nz-table-gear">
<i class="nz-icon nz-icon-gear"></i>