mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
修改列表参数
This commit is contained in:
@@ -8,7 +8,7 @@ export default {
|
|||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
fileBaseUrl:process.env.VUE_APP_FILE_BASE_URL,
|
fileBaseUrl:process.env.VUE_APP_FILE_BASE_URL,
|
||||||
params: { teacherNo:'',courseName:'', pageIndex: 1, pageSize: 10, },
|
params: { teacherNo:'',courseName:'', pageNo: 1, pageSize: 10, },
|
||||||
total:'',
|
total:'',
|
||||||
// reviewResult 0-通过,1-未通过,2-进行中 3-已报名
|
// reviewResult 0-通过,1-未通过,2-进行中 3-已报名
|
||||||
couresList:[
|
couresList:[
|
||||||
@@ -68,7 +68,7 @@ export default {
|
|||||||
//重置
|
//重置
|
||||||
closePageFind(){
|
closePageFind(){
|
||||||
this.params.courseName = '';
|
this.params.courseName = '';
|
||||||
this.params.pageIndex = 1;
|
this.params.pageNo = 1;
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
handleSizeChange(val) {
|
handleSizeChange(val) {
|
||||||
@@ -76,7 +76,7 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
handleCurrentChange(val) {
|
handleCurrentChange(val) {
|
||||||
this.params.pageIndex = val;
|
this.params.pageNo = val;
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -128,7 +128,7 @@ export default {
|
|||||||
background
|
background
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
:current-page="params.pageIndex"
|
:current-page="params.pageNo"
|
||||||
:page-sizes="[10, 20, 30, 40]"
|
:page-sizes="[10, 20, 30, 40]"
|
||||||
:page-size="params.pageSize"
|
:page-size="params.pageSize"
|
||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
|
|||||||
Reference in New Issue
Block a user