|
@@ -64,7 +64,7 @@
|
|
|
background
|
|
|
@current-change="handleCurrentChange"
|
|
|
:page-sizes="[10, 20, 30, 40]"
|
|
|
- :current-page.sync="param.pageNo"
|
|
|
+ :current-page.sync="param.pageNum"
|
|
|
:page-size="param.pageSize"
|
|
|
layout="total,prev, pager, next"
|
|
|
:total="totalNum">
|
|
@@ -90,10 +90,12 @@ export default {
|
|
|
return {
|
|
|
//查询条件
|
|
|
param:{
|
|
|
- pageNo:1,
|
|
|
+ pageNum:1,
|
|
|
pageSize:5
|
|
|
},
|
|
|
editForm:{
|
|
|
+ pageNum:1,
|
|
|
+ pageSize:5,
|
|
|
deptLevel:'',//这个是登陆后,刘波给你的院校的类型
|
|
|
subId:'',//实验室
|
|
|
violationType:'',//违规类型
|
|
@@ -123,13 +125,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
indexMethod(index) {
|
|
|
- return (this.param.pageNo - 1) * this.param.pageSize + index + 1;
|
|
|
+ return (this.param.pageNum - 1) * this.param.pageSize + index + 1;
|
|
|
},
|
|
|
//请求列表
|
|
|
getAjaxList:function (){
|
|
|
let _this=this;
|
|
|
//列表
|
|
|
let obj={
|
|
|
+ 'pageNum':this.editForm.pageNum,
|
|
|
+ 'pageSize':this.editForm.pageSize,
|
|
|
'subjectId':this.editForm.subId,
|
|
|
'violationType':this.editForm.violationType,
|
|
|
'beginTimeStr':this.editForm.beginTimeStr,
|
|
@@ -242,7 +246,7 @@ export default {
|
|
|
this.onSearch();
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
- this.param.pageNo = val;
|
|
|
+ this.param.pageNum = val;
|
|
|
// this.getAjaxList();
|
|
|
},
|
|
|
getdate() {
|