Commit 03141f7d authored by chenfenglei's avatar chenfenglei

所有的订单列表都显示期数名称(日课,月课,用户详情,老师详情)

parent 3c84a14a
......@@ -216,7 +216,7 @@
</template>
</el-table-column>
</el-table>
<page :nowPage="searchFrom.nowPage" :total="searchFrom.total" :limit="searchFrom.limit" @pageChange="onListPageChange" @sizeChange="onListSizeChange"/>
</div>
<el-dialog :modal="false" :visible.sync="addShow">
<el-form label-width="90px">
......@@ -479,6 +479,9 @@
total:0,
timeLang:[],
searchFrom: {
nowPage: 1,
limit: 10,
total:0,
user_id:'',
is_add_teacher: '',
is_view_course: '',
......@@ -533,7 +536,7 @@
},
methods:{
handleItemChange(value){
getClassListApi(value[0],{limit:99999}).then(res=>{
getClassListApi(value[0],{limit:200}).then(res=>{
res.list.forEach(i=>{
i.title = i.class_name
});
......@@ -641,7 +644,8 @@
},
searchList(){
let json = {
limit:200
page:this.searchFrom.nowPage,
limit:this.searchFrom.limit
};
let json2 = {};
if(this.timeLang && this.timeLang.length > 1){
......@@ -680,6 +684,7 @@
})
});
getClassUserApi(this.userObj.classId,json).then(res=>{
this.searchFrom.total=res.total;
this.userTable = res.list
});
this.changeClassObj={
......@@ -832,6 +837,15 @@
this.limit = val
this.nowPage = 1;
this.getUser()
},
onListPageChange(val){
this.searchFrom.nowPage = val
this.searchList()
},
onListSizeChange(val){
this.searchFrom.limit = val
this.searchFrom.nowPage = 1;
this.searchList()
},
handleSelectionChange(val) {
this.multipleSelection = val;
......
......@@ -100,6 +100,10 @@
<template slot-scope="scope">
<img class="avatar" :src="scope.row.user_avatar"/> {{scope.row.user_nickname}}<br>(ID:{{scope.row.user_id}})<br>手机:{{scope.row.user_mobile}}
</template>
</el-table-column>
<el-table-column
prop="periods_title"
label="期数标题">
</el-table-column>
<el-table-column
prop="goods_name"
......
......@@ -65,6 +65,10 @@
<template slot-scope="scope">
<img class="avatar" :src="scope.row.user_avatar" /> {{scope.row.user_nickname}}<br>(ID:{{scope.row.user_id}})<br>手机:{{scope.row.user_mobile}}
</template>
</el-table-column>
<el-table-column
prop="periods_title"
label="期数标题">
</el-table-column>
<el-table-column prop="goods_name" label="商品名称">
</el-table-column>
......
......@@ -187,6 +187,10 @@
<template slot-scope="scope">
<img class="avatar" :src="scope.row.user_avatar"/> {{scope.row.user_nickname}}<br>(ID:{{scope.row.user_id}})<br>手机:{{scope.row.user_mobile}}
</template>
</el-table-column>
<el-table-column
prop="periods_title"
label="期数标题">
</el-table-column>
<el-table-column
prop="goods_name"
......
......@@ -175,6 +175,10 @@
<template slot-scope="scope">
<img class="avatar" :src="scope.row.user_avatar"/> {{scope.row.user_nickname}}<br>(ID:{{scope.row.user_id}})
</template>
</el-table-column>
<el-table-column
prop="periods_title"
label="期数标题">
</el-table-column>
<el-table-column
prop="goods_name"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment