|
@@ -25,7 +25,7 @@
|
|
|
</div>
|
|
|
<div class="student-table">
|
|
|
<el-table :data="student_list">
|
|
|
- <el-table-column width="360">
|
|
|
+ <el-table-column width="280">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-avatar icon="el-icon-user" size="small" :src="row.image_url" />
|
|
|
<span class="student-name">{{ row.student_name }}</span>
|
|
@@ -35,7 +35,12 @@
|
|
|
<template slot-scope="scope"> {{ scope.row.age }}岁 </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="org_name" width="280" />
|
|
|
- <el-table-column prop="country_name" />
|
|
|
+ <el-table-column prop="country_name" width="180" />
|
|
|
+ <el-table-column>
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <span>{{ row.is_pay === 'true' ? '已付款' : '未付款' }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column fixed="right" width="120">
|
|
|
<template slot-scope="{ row }">
|
|
|
<template v-if="activeID === 'new'">
|
|
@@ -120,6 +125,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
changeTab(id) {
|
|
|
+ this.student_list = [];
|
|
|
this.activeID = id;
|
|
|
this.queryCourseStudentList();
|
|
|
},
|