|
@@ -24,8 +24,8 @@
|
|
|
<!-- Jeecg-Boot -->
|
|
|
</span>
|
|
|
|
|
|
- <user-menu :theme="theme" />
|
|
|
- <a href="http://220.191.168.86:18002/dashboard/analysis" target="_top" style="color:white;float: right;">切换单证系统</a>
|
|
|
+ <user-menu :theme="theme" :showSwitch='showSwitch'/>
|
|
|
+ <a href="http://220.191.168.86:18002/dashboard/analysis" target="_top" style="color:white;float: right;" v-if="showSwitch =='森语'">切换单证系统</a>
|
|
|
|
|
|
</div>
|
|
|
<!-- 顶部导航栏模式 -->
|
|
@@ -49,7 +49,7 @@
|
|
|
import UserMenu from '../tools/UserMenu'
|
|
|
import SMenu from '../menu/'
|
|
|
import Logo from '../tools/Logo'
|
|
|
-
|
|
|
+import {getProjctName}from '../../../url.config'
|
|
|
import { mixin } from '@/utils/mixin.js'
|
|
|
|
|
|
export default {
|
|
@@ -89,6 +89,7 @@ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
headerBarFixed: false,
|
|
|
+ showSwitch:'森语',
|
|
|
// update-begin--author:sunjianlei---date:20190508------for: 顶部导航栏过长时显示更多按钮-----
|
|
|
topMenuStyle: {
|
|
|
headerIndexLeft: {},
|
|
@@ -119,6 +120,9 @@ export default {
|
|
|
if (this.mode === 'topmenu') {
|
|
|
this.buildTopMenuStyle()
|
|
|
}
|
|
|
+ if(getProjctName() =='技能博物馆'){
|
|
|
+ this.showSwitch='技能'
|
|
|
+ }
|
|
|
// update-end--author:sunjianlei---date:20190508------for: 顶部导航栏过长时显示更多按钮-----
|
|
|
},
|
|
|
methods: {
|