Commit 4bd5bdd6 authored by chenfenglei's avatar chenfenglei

显示班级

parent 16b277e2
......@@ -137,15 +137,15 @@
<el-table-column
label="班级类型">
<template slot-scope="scope">
{{scope.row.type|classTypeFilter}}
{{scope.row.type | classTypeFilter}}
</template>
</el-table-column>
<!-- <el-table-column
<el-table-column
label="班级名称">
<template slot-scope="scope">
{{scope.row.teacher_name}}一班
{{scope.row.class_name}}
</template>
</el-table-column> -->
</el-table-column>
<el-table-column
prop="max_join_num"
label="最大人数">
......@@ -261,7 +261,6 @@
getDefaultPeriodsApi().then(res=>{
if(res){
this.goods_id = res.goods_id;
console.log(res)
this.selectedGoods = [parseInt(res.goods_id),parseInt(res.id)];
getPeriodsApi({goods_id:this.selectedGoods[0]}).then(res=>{
res.list.forEach(i=>{i.name = i.title});
......
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