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,7 +63,7 @@ | ||
63 | <div class="grade-box"> | 63 | <div class="grade-box"> |
64 | <p class="h-title"> | 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 | 年级升级<i class="fa fa-level-up"></i> | 67 | 年级升级<i class="fa fa-level-up"></i> |
68 | </span> | 68 | </span> |
69 | </p> | 69 | </p> |
@@ -390,6 +390,7 @@ export default { | @@ -390,6 +390,7 @@ export default { | ||
390 | this.$message.success("修改成功~"); | 390 | this.$message.success("修改成功~"); |
391 | this.diaSchool = false; | 391 | this.diaSchool = false; |
392 | this._QueryDataSchool(); | 392 | this._QueryDataSchool(); |
393 | + this._QueryDataGrade(); | ||
393 | } else { | 394 | } else { |
394 | this.$message.error(info); | 395 | this.$message.error(info); |
395 | } | 396 | } |
src/views/standard/setUp/student.vue
@@ -134,7 +134,7 @@ | @@ -134,7 +134,7 @@ | ||
134 | > | 134 | > |
135 | <i class="el-icon-delete" slot="reference"></i> | 135 | <i class="el-icon-delete" slot="reference"></i> |
136 | </el-popconfirm> | 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 | <p class="name">{{ item.studentName }}</p> | 138 | <p class="name">{{ item.studentName }}</p> |
139 | <p class="p1">答题器:{{ item.clickerSn || "--" }}</p> | 139 | <p class="p1">答题器:{{ item.clickerSn || "--" }}</p> |
140 | <p class="p1">长学号:{{ item.studentCode }}</p> | 140 | <p class="p1">长学号:{{ item.studentCode }}</p> |
@@ -399,7 +399,7 @@ export default { | @@ -399,7 +399,7 @@ export default { | ||
399 | }, | 399 | }, |
400 | methods: { | 400 | methods: { |
401 | openAddDia() { | 401 | openAddDia() { |
402 | - if(!formStu.className){ | 402 | + if(!this.query.classId){ |
403 | this.$message.warning('暂无班级信息,请导入班级!') | 403 | this.$message.warning('暂无班级信息,请导入班级!') |
404 | return | 404 | return |
405 | } | 405 | } |