|
@ -52,7 +52,14 @@
|
|
|
<span class="eliminate" @click="eliminateClick">清除筛选条件</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="code" lazy :load="load" :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
|
|
|
<el-table
|
|
|
:data="tableData"
|
|
|
style="width: 100%"
|
|
|
v-loading="loading"
|
|
|
:row-key="(record) => `${record.code}-${record.name}`"
|
|
|
lazy
|
|
|
:load="load"
|
|
|
:tree-props="{children: 'children', hasChildren: 'hasChildren'}">
|
|
|
<el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop" :prop="item.prop">
|
|
|
<template slot="header" slot-scope="scope">
|
|
|
{{scope.column.label}}
|