|
@@ -68,7 +68,14 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="list" style="padding-top:50px" v-else v-loading="loading"></el-col>
|
|
|
<el-col :span="24" class="page">
|
|
|
- <el-pagination @current-change="search" :current-page="currentPage" :page-size="$limit" layout="total, prev, pager, next, jumper" :total="totalRow">
|
|
|
+ <el-pagination
|
|
|
+ @current-change="search"
|
|
|
+ :current-page="currentPage"
|
|
|
+ :page-size="$limit"
|
|
|
+ layout="slot, total, prev, pager, next, jumper"
|
|
|
+ :total="totalRow"
|
|
|
+ >
|
|
|
+ <span style="font-size:13px;margin-right: 10px;font-weight: 400;color: #606266;">共 {{ Math.ceil(totalRow / $limit) }} 页</span>
|
|
|
</el-pagination>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -92,10 +99,7 @@ export default {
|
|
|
totalRow: 0,
|
|
|
list: [],
|
|
|
loading: false,
|
|
|
- filter: [
|
|
|
- { label: '企业名称', name: 'corpname' },
|
|
|
- { label: '标题', name: 'title' },
|
|
|
- ],
|
|
|
+ filter: [{ label: '企业名称', name: 'corpname' }, { label: '标题', name: 'title' }],
|
|
|
}),
|
|
|
created() {
|
|
|
this.search();
|