|
@ -74,21 +74,28 @@
|
|
|
</el-form>
|
|
|
</div>
|
|
|
|
|
|
<div class="box-flex-1" style="position:relative">
|
|
|
<div class="box-flex-1 table-content" style="position:relative">
|
|
|
<div style="position:absolute;height:100%;width:100%">
|
|
|
<el-table ref="table" v-on="$listeners" v-bind="$attrs" v-loading="loading" border height="100%" style="width: 100%; ">
|
|
|
<el-table ref="table" v-on="$listeners" v-bind="$attrs" v-loading="loading" :border="$attrs.border!==false? true : false" :height="$attrs.height===false? '' : ($attrs.height||'100%')" style="width: 100%; ">
|
|
|
<el-table-column
|
|
|
v-if="configs.selection"
|
|
|
type="selection"
|
|
|
width="55">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
v-else
|
|
|
v-else-if="configs.showSort!==false"
|
|
|
type="index"
|
|
|
label="序号"
|
|
|
align="center"
|
|
|
width="50">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
v-if="configs.expand"
|
|
|
type="expand">
|
|
|
<template slot-scope="props">
|
|
|
<slot name="expandColumn" :data="props" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
<template v-for="(item, i) in configs.columns">
|
|
|
<el-table-column
|