|
@@ -2,14 +2,14 @@
|
|
|
<div class="layout_top">
|
|
|
<div class="left">
|
|
|
<img :src="logo_32" />
|
|
|
- <div class="title">XX重点装备管理平台</div>
|
|
|
+ <div class="title">警用枪支定位管理系统</div>
|
|
|
</div>
|
|
|
<div class="right">
|
|
|
<!-- <div class="title_menu">某某管理者</div>
|
|
|
<img :src="down" /> -->
|
|
|
<el-dropdown>
|
|
|
<span class="el-dropdown-link">
|
|
|
- 某某管理者<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
+ {{ userName }}<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
</span>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
<el-dropdown-item @click.native="logout">退出</el-dropdown-item>
|
|
@@ -26,7 +26,8 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
logo_32: require('./img/logo_32.svg'),
|
|
|
- down: require('./img/down.svg')
|
|
|
+ down: require('./img/down.svg'),
|
|
|
+ userName: JSON.parse(localStorage.getItem('saber-userInfo')).content.user_name,
|
|
|
}
|
|
|
},
|
|
|
methods: {
|