|
@ -13,7 +13,7 @@ |
|
|
alt="" |
|
|
alt="" |
|
|
/> |
|
|
/> |
|
|
<p class="title"> |
|
|
<p class="title"> |
|
|
<span class="txt">admin</span |
|
|
<span class="txt">{{user.nickName}}</span |
|
|
><i class="menuIcon el-icon-arrow-down el-icon--right"></i> |
|
|
><i class="menuIcon el-icon-arrow-down el-icon--right"></i> |
|
|
</p> |
|
|
</p> |
|
|
</span> |
|
|
</span> |
|
@ -45,6 +45,7 @@ import Search from "@/components/HeaderSearch"; |
|
|
import RuoYiGit from "@/components/RuoYi/Git"; |
|
|
import RuoYiGit from "@/components/RuoYi/Git"; |
|
|
// import BigScreen from '@/components/bigScreen' |
|
|
// import BigScreen from '@/components/bigScreen' |
|
|
import RuoYiDoc from "@/components/RuoYi/Doc"; |
|
|
import RuoYiDoc from "@/components/RuoYi/Doc"; |
|
|
|
|
|
import { getUserProfile } from "@/api/system/user"; |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
@ -74,6 +75,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
visible: false, |
|
|
visible: false, |
|
|
recordForm: {}, |
|
|
recordForm: {}, |
|
|
|
|
|
user: {}, |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
@ -120,6 +122,11 @@ export default { |
|
|
this.openRecent(); |
|
|
this.openRecent(); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
getUser() { |
|
|
|
|
|
getUserProfile().then(response => { |
|
|
|
|
|
this.user = response.data; |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
toggleSideBar() { |
|
|
toggleSideBar() { |
|
|
this.$store.dispatch("app/toggleSideBar"); |
|
|
this.$store.dispatch("app/toggleSideBar"); |
|
|
}, |
|
|
}, |
|
|