From db4b73063887e1cb1d803f5543711eab9a8836f1 Mon Sep 17 00:00:00 2001 From: yu <479214531@qq.com> Date: Tue, 25 Mar 2025 18:34:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E6=99=BA=E4=BF=A1=E4=BA=91=E5=BC=80?= =?UTF-8?q?=E6=94=BE=E5=A4=87=E8=AF=BE=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/sidebar/index.vue | 2 +- src/pages/achievement/list/index.vue | 2 +- src/pages/station/list/index.vue | 2 +- src/pages/workbench/list/index.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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)