mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
管理员学员搜索页码改为1
This commit is contained in:
@@ -368,7 +368,7 @@ export default {
|
||||
device:1,
|
||||
orderField: orderType == 1 ? '' : 'studys',
|
||||
orderAsc: false,
|
||||
topOrder:true,
|
||||
// topOrder:true,
|
||||
pageIndex: pageIndex
|
||||
};
|
||||
let isTopList = [];
|
||||
|
||||
@@ -91,6 +91,7 @@ export default {
|
||||
methods: {
|
||||
search(){
|
||||
this.isSearh = true;
|
||||
this.pageData.pageIndex = 1;
|
||||
this.getArticleList()
|
||||
},
|
||||
saveSuccess(data){
|
||||
@@ -127,7 +128,7 @@ export default {
|
||||
},
|
||||
|
||||
reset(){
|
||||
|
||||
this.pageData.pageIndex = 1;
|
||||
this.pageData.keyword = '',
|
||||
this.pageData.status = ''
|
||||
this.getArticleList();
|
||||
|
||||
@@ -141,6 +141,7 @@ export default {
|
||||
components: {},
|
||||
methods: {
|
||||
getList() {
|
||||
this.dataList.pageIndex = 1;
|
||||
this.isSearh = true;
|
||||
this.getData();
|
||||
},
|
||||
@@ -187,6 +188,7 @@ export default {
|
||||
})
|
||||
},
|
||||
reset(){
|
||||
this.dataList.pageIndex = 1;
|
||||
this.dataList.send = '',
|
||||
this.type = 0;
|
||||
this.getData();
|
||||
|
||||
@@ -113,11 +113,13 @@
|
||||
},
|
||||
search(){
|
||||
this.isSearh = true;
|
||||
this.pageIndex =1;
|
||||
this.query()
|
||||
},
|
||||
reset() {
|
||||
this.testName = '';
|
||||
this.status='';
|
||||
this.pageIndex =1;
|
||||
this.query();
|
||||
this.isSearh = false;
|
||||
},
|
||||
|
||||
@@ -94,12 +94,14 @@ export default {
|
||||
|
||||
reset(){
|
||||
this.queryObj.keyWord = '',
|
||||
this.queryObj.isResolve = ''
|
||||
this.queryObj.isResolve = '';
|
||||
this.queryObj.pageIndex =1;
|
||||
this.getData();
|
||||
this.isSearh = false;
|
||||
},
|
||||
getList() {
|
||||
this.isSearh = true;
|
||||
this.queryObj.pageIndex =1;
|
||||
this.getData();
|
||||
},
|
||||
//获取列表数据
|
||||
|
||||
@@ -85,6 +85,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getList() {
|
||||
this.queryObj.pageIndex = 1;
|
||||
this.isSearh = true;
|
||||
this.getData();
|
||||
},
|
||||
@@ -104,6 +105,7 @@ export default {
|
||||
});
|
||||
},
|
||||
reset(){
|
||||
this.queryObj.pageIndex = 1;
|
||||
this.queryObj.keyWord = '';
|
||||
this.queryObj.isResolve = '';
|
||||
this.getData();
|
||||
|
||||
@@ -149,6 +149,9 @@
|
||||
},
|
||||
methods:{
|
||||
queryData(){
|
||||
this.qaList.pageIndex = 1;
|
||||
this.articleList.pageIndex = 1;
|
||||
this.courseList.pageIndex = 1;
|
||||
this.isSearh = true;
|
||||
if (this.tabName == 'qa') {
|
||||
this.findQa();
|
||||
@@ -161,6 +164,9 @@
|
||||
}
|
||||
},
|
||||
resData() {
|
||||
this.qaList.pageIndex = 1;
|
||||
this.articleList.pageIndex = 1;
|
||||
this.courseList.pageIndex = 1;
|
||||
this.keyword = '';
|
||||
this.isRead = '';
|
||||
this.queryData();
|
||||
|
||||
@@ -170,6 +170,9 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
queryData() {
|
||||
this.qaList.pageIndex = 1;
|
||||
this.articleList.pageIndex = 1;
|
||||
this.courseList.pageIndex = 1;
|
||||
this.isSearh= true;
|
||||
if (this.tabName == 'qa') {
|
||||
this.findQa();
|
||||
@@ -185,6 +188,9 @@ export default {
|
||||
resData() {
|
||||
this.keyword = '';
|
||||
this.isRead = '';
|
||||
this.qaList.pageIndex = 1;
|
||||
this.articleList.pageIndex = 1;
|
||||
this.courseList.pageIndex = 1;
|
||||
this.queryData();
|
||||
this.isSearh= false;
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<el-col :span="24">
|
||||
|
||||
<el-input clearable placeholder="搜索名称" v-model="keyword"></el-input>
|
||||
<el-button type="primary" icon="el-icon-search" @click="findList()">搜索</el-button>
|
||||
<el-button type="primary" icon="el-icon-search" @click="getData()">搜索</el-button>
|
||||
<el-button type="primary" icon="el-icon-refresh-right" @click="reset">重置</el-button>
|
||||
</el-col>
|
||||
<el-col :span="8" v-for="(item,index) in testList" :key="index">
|
||||
@@ -82,6 +82,10 @@
|
||||
jumpRouter(item) {
|
||||
window.open(`${this.webBaseUrl}/course/boeframe?id=${item.id}&type=quizsummary`)
|
||||
},
|
||||
getData() {
|
||||
this.page=1;
|
||||
this.findList();
|
||||
},
|
||||
findList(){
|
||||
let params={
|
||||
keyword:this.keyword,
|
||||
@@ -110,8 +114,9 @@
|
||||
this.findList()
|
||||
},
|
||||
reset(){
|
||||
this.keyword = ''
|
||||
this.findList();
|
||||
this.keyword = '';
|
||||
this.page=1;
|
||||
this.findList();
|
||||
},
|
||||
getItem(item){
|
||||
if(item.cover[0].url){
|
||||
|
||||
@@ -278,6 +278,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
queryData() {
|
||||
this.qaList.pageIndex = 1;
|
||||
this.articleList.pageIndex = 1;
|
||||
this.courseList.pageIndex = 1;
|
||||
this.dataList.pageIndex = 1;
|
||||
this.isSearh = true;
|
||||
if (this.tabName == 'qa') {
|
||||
this.findQa();
|
||||
@@ -296,6 +300,10 @@ export default {
|
||||
}
|
||||
},
|
||||
resData() {
|
||||
this.qaList.pageIndex = 1;
|
||||
this.articleList.pageIndex = 1;
|
||||
this.courseList.pageIndex = 1;
|
||||
this.dataList.pageIndex = 1;
|
||||
this.keyword = '';
|
||||
this.isRead = '';
|
||||
this.courseList.type = '';
|
||||
|
||||
Reference in New Issue
Block a user