This commit is contained in:
parent
9675c4f2d5
commit
ab371f676a
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="agtablebox">
|
||||
<el-table v-bind="$attrs" v-on="$listeners" :data="data" size="small">
|
||||
<el-table v-bind="$attrs" v-on="$listeners" :data="data" size="small" :header-cell-style="$attrs.headerCellStyle||{backgroundColor:'#f7f7f7'}">
|
||||
<el-table-column v-for="item,index in columns" :key="index" v-bind="item">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="item.soltName">
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
>
|
||||
</ag-MultifunctionSearch>
|
||||
<agQuery :inputs="inputs" @onSearch="onSearch"/>
|
||||
<agTable :columns="columns" :data="tabledata" :currentPage="2" :pageSize="100" :total="500">
|
||||
<agTable :columns="columns" :data="tabledata" :currentPage="2" :pageSize="100" :total="500" >
|
||||
<template #name="{row}">
|
||||
<div>{{row.name}}11</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue