diff --git a/src/layouts/sidebar/index.vue b/src/layouts/sidebar/index.vue index aec4b53..7ff2928 100644 --- a/src/layouts/sidebar/index.vue +++ b/src/layouts/sidebar/index.vue @@ -112,7 +112,7 @@ export default { const { data } = await this.$get(this.api.logoDetail) - this.showLesson = data.schoolId === 901 + this.showLesson = data.schoolId === 901 || data.schoolId === 2845 data.schoolId === 901 && btns.includes('/lesson/list') && this.menus.push(tabs[8]) }, handleSelect (index) { diff --git a/src/pages/achievement/list/index.vue b/src/pages/achievement/list/index.vue index ab75bea..60465b2 100644 --- a/src/pages/achievement/list/index.vue +++ b/src/pages/achievement/list/index.vue @@ -50,7 +50,7 @@ export default { // 查询schoolId,处理备课管理的展示 async getSchoolId () { const { data } = await this.$get(this.api.logoDetail) - data.schoolId === 901 && this.tabs.push({ + if (data.schoolId === 901 || data.schoolId === 2845) this.tabs.push({ id: 3, name: '我的课程' }) diff --git a/src/pages/station/list/index.vue b/src/pages/station/list/index.vue index 4dc8cdd..3940cdf 100644 --- a/src/pages/station/list/index.vue +++ b/src/pages/station/list/index.vue @@ -119,7 +119,7 @@ export default { // 查询schoolId,处理备课管理的展示 async getSchoolId () { const { data } = await this.$get(this.api.logoDetail) - this.showTypes = data.schoolId === 901 + this.showTypes = data.schoolId === 901 || data.schoolId === 2845 }, // 获取tab async getTab () { diff --git a/src/pages/workbench/list/index.vue b/src/pages/workbench/list/index.vue index 8e05334..e3e3999 100644 --- a/src/pages/workbench/list/index.vue +++ b/src/pages/workbench/list/index.vue @@ -90,7 +90,7 @@ export default { // 查询schoolId,处理备课管理的展示 async getSchoolId () { const { data } = await this.$get(this.api.logoDetail) - this.showLesson = data.schoolId === 901 + this.showLesson = data.schoolId === 901 || data.schoolId === 2845 }, to (path) { path === 'data' ? window.open('https://www.dataforward.cn/') : this.$router.push(path)