|
@@ -31,7 +31,7 @@
|
|
<!-- @change="setVuexOpt()" -->
|
|
<!-- @change="setVuexOpt()" -->
|
|
<el-tooltip content="选择要查看的班级" effect="dark" placement="bottom">
|
|
<el-tooltip content="选择要查看的班级" effect="dark" placement="bottom">
|
|
<el-select v-model="topOptions.classid" placeholder="选择要查看的班级" size="mini">
|
|
<el-select v-model="topOptions.classid" placeholder="选择要查看的班级" size="mini">
|
|
- <el-option v-for="(i, index) in classList" :key="index" :label="i.name" :value="i._id"></el-option>
|
|
|
|
|
|
+ <el-option v-for="(i, index) in classList" :key="index" :label="`${i.name}班`" :value="i._id"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</span>
|
|
</span>
|
|
@@ -132,7 +132,7 @@ export default {
|
|
query.headteacherid = this.user.userid;
|
|
query.headteacherid = this.user.userid;
|
|
res = await this.getClassList(query);
|
|
res = await this.getClassList(query);
|
|
} else if (this.user.type == 3) {
|
|
} else if (this.user.type == 3) {
|
|
- res = await this.teaclass({ planid: planid, teaid: this.user.userid });
|
|
|
|
|
|
+ res = await this.teaclass({ termid: termid, teaid: this.user.userid });
|
|
}
|
|
}
|
|
if (!res) return;
|
|
if (!res) return;
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|