|
@@ -62,12 +62,13 @@
|
|
|
</template>
|
|
|
<el-menu-item
|
|
|
v-for="child in item.children"
|
|
|
- :index="child.path"
|
|
|
+ :index="child.path=='etaForum'?null:child.path"
|
|
|
:path="child.path"
|
|
|
:key="child.path"
|
|
|
v-show="!child.hidden"
|
|
|
>
|
|
|
- <a :href="`/${child.path}`" :style="`display: block;color:${child.path===activePath ? '#FDB863 ' : '#fff'}`" @click="(e) => e.preventDefault() ">
|
|
|
+ <span v-if="child.path==='etaForum'" :style="`display: block;color:${child.path===activePath ? '#FDB863 ' : '#fff'}`" @click.prevent="linkToOtherMS('ETA_Forum')">{{child.name}}</span>
|
|
|
+ <a v-else :href="`/${child.path}`" :style="`display: block;color:${child.path===activePath ? '#FDB863 ' : '#fff'}`" @click="(e) => e.preventDefault() ">
|
|
|
{{child.name}}
|
|
|
</a>
|
|
|
</el-menu-item>
|
|
@@ -733,6 +734,15 @@ export default {
|
|
|
href=`${href}?code=${res.Data}`
|
|
|
}
|
|
|
}
|
|
|
+ if(key==='ETA_Forum'){
|
|
|
+ const res=await departInterence.getToETAForumCode()
|
|
|
+ if(res.Ret===200){
|
|
|
+ href=`${href}?code=${res.Data}`
|
|
|
+ }else{
|
|
|
+ this.$message.warning(res.Msg)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }
|
|
|
window.open(href,'_blank');
|
|
|
},
|
|
|
// 切换通知消息类型
|