|
@@ -73,6 +73,11 @@
|
|
|
label="用户初始密码"
|
|
|
width="120"
|
|
|
></el-table-column>
|
|
|
+ <el-table-column prop="defaultSchool" label="默认学校" width="80">
|
|
|
+ <span slot-scope="scope">{{
|
|
|
+ scope.row.defaultSchool ? "是" : "否"
|
|
|
+ }}</span>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
class-name="action-column"
|
|
|
label="操作"
|
|
@@ -140,8 +145,8 @@ export default {
|
|
|
},
|
|
|
filterSchool() {
|
|
|
if (!this.filter.schoolId) {
|
|
|
- this.dataList = this.schools;
|
|
|
- return;
|
|
|
+ this.getSchools();
|
|
|
+ // return;
|
|
|
}
|
|
|
|
|
|
this.dataList = this.schools.filter(
|