给智信云开放备课管理

master
yu 7 days ago
parent 2c4be2efb0
commit db4b730638
  1. 2
      src/layouts/sidebar/index.vue
  2. 2
      src/pages/achievement/list/index.vue
  3. 2
      src/pages/station/list/index.vue
  4. 2
      src/pages/workbench/list/index.vue

@ -112,7 +112,7 @@ export default {
const { data } = await this.$get(this.api.logoDetail) 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]) data.schoolId === 901 && btns.includes('/lesson/list') && this.menus.push(tabs[8])
}, },
handleSelect (index) { handleSelect (index) {

@ -50,7 +50,7 @@ export default {
// schoolId // schoolId
async getSchoolId () { async getSchoolId () {
const { data } = await this.$get(this.api.logoDetail) 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, id: 3,
name: '我的课程' name: '我的课程'
}) })

@ -119,7 +119,7 @@ export default {
// schoolId // schoolId
async getSchoolId () { async getSchoolId () {
const { data } = await this.$get(this.api.logoDetail) const { data } = await this.$get(this.api.logoDetail)
this.showTypes = data.schoolId === 901 this.showTypes = data.schoolId === 901 || data.schoolId === 2845
}, },
// tab // tab
async getTab () { async getTab () {

@ -90,7 +90,7 @@ export default {
// schoolId // schoolId
async getSchoolId () { async getSchoolId () {
const { data } = await this.$get(this.api.logoDetail) const { data } = await this.$get(this.api.logoDetail)
this.showLesson = data.schoolId === 901 this.showLesson = data.schoolId === 901 || data.schoolId === 2845
}, },
to (path) { to (path) {
path === 'data' ? window.open('https://www.dataforward.cn/') : this.$router.push(path) path === 'data' ? window.open('https://www.dataforward.cn/') : this.$router.push(path)

Loading…
Cancel
Save