diff --git a/src/pages/station/list/index.vue b/src/pages/station/list/index.vue
index b12373b..4dc8cdd 100644
--- a/src/pages/station/list/index.vue
+++ b/src/pages/station/list/index.vue
@@ -10,10 +10,10 @@
-
+
课程类型
@@ -71,6 +71,7 @@ export default {
typeActive: +this.$route.query.typeActive || 0,
active: this.$route.query.active ? +this.$route.query.active : '',
searchTimer: null,
+ showTypes: false,
types: [
{
id: 0,
@@ -112,8 +113,14 @@ export default {
},
mounted () {
this.getTab()
+ this.getSchoolId()
},
methods: {
+ // 查询schoolId,处理备课管理的展示
+ async getSchoolId () {
+ const { data } = await this.$get(this.api.logoDetail)
+ this.showTypes = data.schoolId === 901
+ },
// 获取tab
async getTab () {
const res = await this.$get(this.api.getSchoolCourseAuthority)