正式环境隐藏后面两个子系统

dev_2022-05-11 V1.0.1
yujialong 4 years ago
parent c988052cc9
commit 72d9274712
  1. 10
      src/components/common/Sidebar.vue
  2. 12
      src/components/page/AddProject.vue
  3. 15
      src/config/index.js

@ -83,11 +83,11 @@ export default {
index: 'student',
title: '学生管理'
},
{
icon: 'el-icon-office-building',
index: 'backstage',
title: '业务后台'
},
// {
// icon: 'el-icon-office-building',
// index: 'backstage',
// title: ''
// },
{
icon: 'el-icon-setting',
index: 'system',

@ -310,7 +310,7 @@
data (){
return {
host: location.host.includes('liuwanr.cn') ? 'http://www.liuwanr.cn/' : 'http://www.occupationlab.com/',
id: '',
id: this.$route.query.id,
systemList: this.$config.systemList,
token: this.$store.state.token,
systemId: this.$store.state.systemId,
@ -467,10 +467,18 @@
this.searchTimer = setTimeout(() => {
this.dialog1()
},500)
},
projectPermission(val){
if(!this.id){
if(val){
this.flag02 = false
}else{
this.flag02 = true
}
}
}
},
mounted(){
this.id = this.$route.query.id
this.recoveryData()
},
beforeDestroy(){

@ -59,13 +59,14 @@ export default {
},{
id: 8,
label: '大数据分析实验教学系统'
},{
id: 9,
label: 'Python数据清洗教学实验系统'
},{
id: 10,
label: 'Python数据采集(爬虫)教学实验系统'
}
},
// {
// id: 9,
// label: 'Python数据清洗教学实验系统'
// },{
// id: 10,
// label: 'Python数据采集(爬虫)教学实验系统'
// }
],
/**
* @description 是否使用动态路由

Loading…
Cancel
Save