|
@@ -71,6 +71,7 @@
|
|
backgroundColor: '#f4f5f7',
|
|
backgroundColor: '#f4f5f7',
|
|
color: '#606266',
|
|
color: '#606266',
|
|
}"
|
|
}"
|
|
|
|
+ align="center"
|
|
:data="tableData"
|
|
:data="tableData"
|
|
empty-text="暂无数据"
|
|
empty-text="暂无数据"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
@@ -101,6 +102,7 @@
|
|
backgroundColor: '#f4f5f7',
|
|
backgroundColor: '#f4f5f7',
|
|
color: '#606266',
|
|
color: '#606266',
|
|
}"
|
|
}"
|
|
|
|
+ align="center"
|
|
empty-text="暂无数据"
|
|
empty-text="暂无数据"
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
@@ -128,6 +130,7 @@
|
|
<el-pagination
|
|
<el-pagination
|
|
@current-change="cChange"
|
|
@current-change="cChange"
|
|
background
|
|
background
|
|
|
|
+ :page-size="pageSize"
|
|
layout="prev, pager, next"
|
|
layout="prev, pager, next"
|
|
:total="total"
|
|
:total="total"
|
|
/>
|
|
/>
|
|
@@ -223,8 +226,9 @@ export default {
|
|
i++
|
|
i++
|
|
) {
|
|
) {
|
|
const v = tableDataListOri[i];
|
|
const v = tableDataListOri[i];
|
|
- out.push(v);
|
|
|
|
|
|
+ v && out.push(v);
|
|
}
|
|
}
|
|
|
|
+ console.log(out)
|
|
return out;
|
|
return out;
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -267,6 +271,7 @@ export default {
|
|
return v;
|
|
return v;
|
|
});
|
|
});
|
|
this.total = tableDataListOri.length;
|
|
this.total = tableDataListOri.length;
|
|
|
|
+ console.log(this.total,tableDataListOri.length/this.pagesize)
|
|
this.page = this.page + 1;
|
|
this.page = this.page + 1;
|
|
this.load = false;
|
|
this.load = false;
|
|
l.close();
|
|
l.close();
|