Commit 62e1818efff39adb170faccc1aca6392c140db3b
1 parent
84bc1b0b
学校设置学段刷新年级列表,添加学生判断条件,班级归档以及相关入口屏蔽长水,学生换班,班级升级入口屏蔽长水
Showing
2 changed files
with
4 additions
and
3 deletions
src/views/standard/setUp/school.vue
... | ... | @@ -63,7 +63,7 @@ |
63 | 63 | <div class="grade-box"> |
64 | 64 | <p class="h-title"> |
65 | 65 | 年级管理 |
66 | - <span class="popconfirm-box" @click="diaUpgradeGrade = true"> | |
66 | + <span v-if="!code" class="popconfirm-box" @click="diaUpgradeGrade = true"> | |
67 | 67 | 年级升级<i class="fa fa-level-up"></i> |
68 | 68 | </span> |
69 | 69 | </p> |
... | ... | @@ -390,6 +390,7 @@ export default { |
390 | 390 | this.$message.success("修改成功~"); |
391 | 391 | this.diaSchool = false; |
392 | 392 | this._QueryDataSchool(); |
393 | + this._QueryDataGrade(); | |
393 | 394 | } else { |
394 | 395 | this.$message.error(info); |
395 | 396 | } | ... | ... |
src/views/standard/setUp/student.vue
... | ... | @@ -134,7 +134,7 @@ |
134 | 134 | > |
135 | 135 | <i class="el-icon-delete" slot="reference"></i> |
136 | 136 | </el-popconfirm> |
137 | - <i class="el-icon-user-solid" @click="openChangeClazz(item)"></i> | |
137 | + <i class="el-icon-user-solid" v-if="!code" @click="openChangeClazz(item)"></i> | |
138 | 138 | <p class="name">{{ item.studentName }}</p> |
139 | 139 | <p class="p1">答题器:{{ item.clickerSn || "--" }}</p> |
140 | 140 | <p class="p1">长学号:{{ item.studentCode }}</p> |
... | ... | @@ -399,7 +399,7 @@ export default { |
399 | 399 | }, |
400 | 400 | methods: { |
401 | 401 | openAddDia() { |
402 | - if(!formStu.className){ | |
402 | + if(!this.query.classId){ | |
403 | 403 | this.$message.warning('暂无班级信息,请导入班级!') |
404 | 404 | return |
405 | 405 | } | ... | ... |