|
|
@@ -7,7 +7,7 @@
|
|
|
type="selection"
|
|
|
width="35" fixed v-if="checkbox">
|
|
|
</el-table-column>
|
|
|
- <el-table-column v-for="col in layout" :key="col.tablecolid" :prop="col.columnname" :label="col.title" :width="width && col.width === 0 ? 150 : col.width" :fixed="fixedName ? fixedName.indexOf(col.columnname)!= -1?redirect ? redirect : 'right' :false : false">
|
|
|
+ <el-table-column v-for="col in layout" :key="col.tablecolid" :prop="col.columnname" :label="col.title" :width="col.width" :fixed="fixedName ? fixedName.indexOf(col.columnname)!= -1?redirect ? redirect : 'right' :false : false">
|
|
|
<template v-slot:header="{ column,$index }" v-if="customHeader">
|
|
|
<slot name="header" :data="column"></slot>
|
|
|
</template>
|