liunan #10
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="agtablebox">
|
<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">
|
<el-table-column v-for="item,index in columns" :key="index" v-bind="item">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="item.soltName">
|
<div v-if="item.soltName">
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
>
|
>
|
||||||
</ag-MultifunctionSearch>
|
</ag-MultifunctionSearch>
|
||||||
<agQuery :inputs="inputs" @onSearch="onSearch"/>
|
<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}">
|
<template #name="{row}">
|
||||||
<div>{{row.name}}11</div>
|
<div>{{row.name}}11</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue