|
@@ -5,8 +5,9 @@
|
|
|
<el-menu class="el-menu-vertical-demo" :default-active="getDefaultActive" router :collapse="collapse"
|
|
|
@open="handleOpen" @close="handleClose" active-text-color="#71A6FD">
|
|
|
<div class="menu-logo" style="height: 60px; line-height: 60px">
|
|
|
- <img width="95%" style="text-align: center; vertical-align: middle" src="../assets/newlogo.png"
|
|
|
- alt="" />
|
|
|
+<!-- <img width="95%" style="text-align: center; vertical-align: middle" src="../assets/newlogo.png"-->
|
|
|
+<!-- alt="" />-->
|
|
|
+ <img :src="parentorgid==='00440063000000000000' ? require('../assets/newlogo2.png') : require('../assets/newlogo.png')" width="95%" style="text-align: center; vertical-align: middle" alt=""/>
|
|
|
</div>
|
|
|
<!-- 引入组件 -->
|
|
|
<div class="menuScoll">
|
|
@@ -44,18 +45,20 @@
|
|
|
data() {
|
|
|
return {
|
|
|
defaultActiveMenuItem: {},
|
|
|
+ parentorgid: '',
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
if (this.data.length > 0) {
|
|
|
this.recursion(this.data);
|
|
|
}
|
|
|
+ this.getDept()
|
|
|
},
|
|
|
updated() {
|
|
|
if (this.data.length > 0) {
|
|
|
-
|
|
|
+
|
|
|
this.recursion(this.data);
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -99,6 +102,19 @@
|
|
|
this.$store.commit("setDefaultActive", item.rountPath);
|
|
|
this.$store.commit("setTabList", Array.from(set));
|
|
|
},
|
|
|
+ getDept() {
|
|
|
+ this.$http({
|
|
|
+ url: "/sysmgr/csysdept/queryGroupListByLoginNo",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ },
|
|
|
+ data: {},
|
|
|
+ }).then((res) => {
|
|
|
+ console.log(res.data[0].parentorgid)
|
|
|
+ this.parentorgid = res.data[0].parentorgid;
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|