diff --git a/src/views/standard/setUp/conglomerate.vue b/src/views/standard/setUp/conglomerate.vue index 8ebcc28..717215c 100644 --- a/src/views/standard/setUp/conglomerate.vue +++ b/src/views/standard/setUp/conglomerate.vue @@ -192,11 +192,12 @@ - 小学 - 初中 - 高中 - 本科 - 高补 + {{ item.name }} @@ -230,7 +231,9 @@ >确 定 取 消 - 删除学校 + 删除学校 @@ -249,6 +252,7 @@ export default { loading: false, showId: "", //显示学校Id schoolTotal: 0, + sectionsList: [], tableList: [ // 集团列表/区域列表 { @@ -304,6 +308,7 @@ export default { created() { this._QueryData(); this.showSchool(); + this._QuerySectionList(); }, methods: { edit() { @@ -348,6 +353,16 @@ export default { this.showDelSclBtn = num == 0 ? true : false; this.diaSchool2 = true; }, + async _QuerySectionList() { + //学校学段 + const { data, status, info } = await this.$request.sectionList(); + console.log(status); + if (status === 0) { + this.sectionsList = data?.list || []; + } else { + this.$message.error(info); + } + }, async removeSchool() { const { data, status, info } = await this.$request.removeSchool({ schoolId: this.setFormSchool.schoolId,