mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-23 01:36:44 +08:00
pageIndex
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top:10px;padding: 0px 5px;">
|
||||
<el-button icon="el-icon-search" type="primary" @click="loadData(1)">搜索</el-button>
|
||||
<el-button icon="el-icon-search" type="primary" @click="getsearch()">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh-right" type="primary" @click="reset">重置</el-button>
|
||||
<el-button icon="el-icon-circle-plus-outline" type="primary" @click="openDialog">新建教师</el-button>
|
||||
<el-button icon="el-icon-folder-opened" type="primary" @click="exportsExcel">导出</el-button>
|
||||
@@ -297,9 +297,14 @@
|
||||
});
|
||||
this.levelData=array;
|
||||
},
|
||||
getsearch(){
|
||||
this.pageIndex = 1;
|
||||
this.loadData(1);
|
||||
},
|
||||
reset (){
|
||||
this.queryName = '';
|
||||
this.$refs.teacherTable.clearFilter();
|
||||
this.pageIndex = 1;
|
||||
this.loadData(1);
|
||||
},
|
||||
openDialog(){
|
||||
|
||||
Reference in New Issue
Block a user