|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<!-- :header-cell-style="{background:'#EEEEEE',color:'#333'}" -->
|
|
|
- <el-table ref="table" :row-class-name="tableClassName" highlight-current-row :data="data" size="mini" :height="height ? height : data.length <= 5?'280px':'calc(100vh - 268px)'" @row-click="rowClick" style="width:100%;" :header-cell-style="{height:'40px',color:'#606266',fontWeight:'400',fontSize:'14px'}"
|
|
|
+ <el-table ref="table" :row-class-name="tableClassName" highlight-current-row :data="data" size="mini" :height="height ? height : data.length <= 5?'280px':'calc(100vh - 268px)'" @row-click="rowClick" :style="{width:'100%',minHeight:minHeight?minHeight:''}" :header-cell-style="{height:'40px',color:'#606266',fontWeight:'400',fontSize:'14px'}"
|
|
|
:cell-style="{height:'40px',color:'#666666',fontWeight:'400'}" border @selection-change="selectionChange">
|
|
|
<el-table-column
|
|
|
type="selection"
|
|
@@ -35,7 +35,7 @@ export default {
|
|
|
custom:是否启用自定义结构;
|
|
|
opwidth:操作列宽度
|
|
|
*/
|
|
|
- props:['layout','data','custom','height','fixedName','width','checkbox','redirect','customHeader'],
|
|
|
+ props:['layout','data','custom','height','fixedName','width','checkbox','redirect','customHeader','minHeight'],
|
|
|
data () {
|
|
|
return {
|
|
|
list:[],
|