feat:overview 添加过滤 & 部分列表页默认加载10条数据的bug修复

1.overview asset topN 添加过滤下拉选
2.overview 字体修改为rem
3.部分列表页在不改变pageSize的情况下默认加载10条数据的bug修复
This commit is contained in:
wangwenrui
2020-03-20 18:22:44 +08:00
parent 2369bf5d6e
commit cfe0ffef05
12 changed files with 138 additions and 54 deletions

View File

@@ -51,12 +51,10 @@
v-if="item.show"
:key="`col-${index}`"
:label="item.label"
:render-header="item.renderHeader"
show-overflow-tooltip
min-width="90"
>
<template slot="header" slot-scope="scope">
{{item.label}}<slot :name="item.label+'-header'"></slot>
</template>
<template slot-scope="scope" :column="item">
<template v-if="item.showPopover">
<el-popover trigger="hover" placement="right" >
@@ -76,7 +74,6 @@
</template>
</template>
</el-table-column>
</el-table>
</div>
</template>
@@ -136,7 +133,8 @@
immediate:true,
deep:true,
handler(n,o){
this.showData=JSON.parse(JSON.stringify(n));
// this.showData=JSON.parse(JSON.stringify(n));
this.showData=Object.assign({},n);
}
}
}