mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
Merge branch 'zcwy0417-out' of https://codeup.aliyun.com/648097ddb583fece2f059e59/vue/learning-system-portal into zcwy0417-out
This commit is contained in:
@@ -8,7 +8,7 @@ export default {
|
||||
data(){
|
||||
return{
|
||||
fileBaseUrl:process.env.VUE_APP_FILE_BASE_URL,
|
||||
params: { teacherNo:'',courseName:'', pageIndex: 1, pageSize: 10, },
|
||||
params: { teacherNo:'',courseName:'', pageNo: 1, pageSize: 10, },
|
||||
total:'',
|
||||
// reviewResult 0-通过,1-未通过,2-进行中 3-已报名
|
||||
couresList:[
|
||||
@@ -67,7 +67,7 @@ export default {
|
||||
//重置
|
||||
closePageFind(){
|
||||
this.params.courseName = '';
|
||||
this.params.pageIndex = 1;
|
||||
this.params.pageNo = 1;
|
||||
this.getList();
|
||||
},
|
||||
handleSizeChange(val) {
|
||||
@@ -75,7 +75,7 @@ export default {
|
||||
this.getList();
|
||||
},
|
||||
handleCurrentChange(val) {
|
||||
this.params.pageIndex = val;
|
||||
this.params.pageNo = val;
|
||||
this.getList();
|
||||
},
|
||||
//根据认证状态跳转页面
|
||||
@@ -157,7 +157,7 @@ export default {
|
||||
<div class="uc-course" v-for="(item, idx) in couresList" :key="idx" >
|
||||
<div class="uc-course-img" style="width: 212px;height:119px">
|
||||
<!-- <course-image :course="item"></course-image>-->
|
||||
<img :src="item.cover">
|
||||
<img :src="item.cover.split('elearning')[1]">
|
||||
</div>
|
||||
<div class="uc-course-info">
|
||||
<div class="uc-course-name">
|
||||
@@ -184,7 +184,7 @@ export default {
|
||||
background
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="params.pageIndex"
|
||||
:current-page="params.pageNo"
|
||||
:page-sizes="[10, 20, 30, 40]"
|
||||
:page-size="params.pageSize"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
|
||||
Reference in New Issue
Block a user