|
|
@ -2,15 +2,21 @@ |
|
|
|
<div style="height: 100%;"> |
|
|
|
<div class="header"> |
|
|
|
<p class="title"><img src="../../assets/loginImg/logo.png"/>安瑞集团信息化平台</p> |
|
|
|
<div class="head_info"> |
|
|
|
<p>欢迎您</p> |
|
|
|
<p> |
|
|
|
<div class="head_info" style="display: flex;flex-direction: row;justify-content:space-between;align-items: center"> |
|
|
|
<div>欢迎您</div> |
|
|
|
<div> |
|
|
|
<el-select v-model="defaultOrgPathName" class="selectStyle" size="small" placeholder="" @change="changeOrg" filterable> |
|
|
|
<el-option v-for="item in orgDept_list" :key="item.orgPath" :label="item.orgName" :value="item.orgName"/> |
|
|
|
</el-select> |
|
|
|
</p> |
|
|
|
<p>{{ roleName }} {{ name }}</p> |
|
|
|
<p @click="logout()" class="dy"><img src="@/assets/images/dy.png"/></p> |
|
|
|
</div> |
|
|
|
<div style="padding-right: 5px"> |
|
|
|
<el-tooltip placement="top"> |
|
|
|
<div slot="content">{{ roleName }}</div> |
|
|
|
<el-button style="color: #FFFFFF;font-size: 17px" type="text">{{ postName }}</el-button> |
|
|
|
</el-tooltip> |
|
|
|
</div> |
|
|
|
<div>{{ name }}</div> |
|
|
|
<div @click="logout()" style="display: flex;flex-direction: row;justify-content:center;align-items: center;padding-left: 20px;padding-right: 10px"><img src="@/assets/images/dy.png"/></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="container1"> |
|
|
@ -260,6 +266,7 @@ export default { |
|
|
|
defaultOrgPathName: '', |
|
|
|
defaultOrgPath: '', |
|
|
|
roleName: '', |
|
|
|
postName: '', |
|
|
|
year: '' |
|
|
|
} |
|
|
|
}, |
|
|
@ -276,6 +283,7 @@ export default { |
|
|
|
this.defaultOrgPathName = window.sessionStorage.getItem('defaultOrgPathName') |
|
|
|
this.defaultOrgPath = window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
this.roleName = window.sessionStorage.getItem('roleName') |
|
|
|
this.postName = window.sessionStorage.getItem('postName') |
|
|
|
this.name = window.sessionStorage.getItem('name') |
|
|
|
var nowDate = new Date() |
|
|
|
this.year = nowDate.getFullYear() |
|
|
@ -295,7 +303,7 @@ export default { |
|
|
|
}) |
|
|
|
User.getOrgListByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.orgDept_list= res.data |
|
|
|
this.orgDept_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -464,18 +472,18 @@ p { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.head_info img { |
|
|
|
width: 25px; |
|
|
|
margin-top: 20px; |
|
|
|
margin-left: 30px; |
|
|
|
margin-right: 10px; |
|
|
|
float: left; |
|
|
|
} |
|
|
|
|
|
|
|
.head_info .dy { |
|
|
|
margin-left: 10px; |
|
|
|
margin-right: 20px; |
|
|
|
} |
|
|
|
//.head_info img { |
|
|
|
// width: 25px; |
|
|
|
// margin-top: 20px; |
|
|
|
// margin-left: 30px; |
|
|
|
// margin-right: 10px; |
|
|
|
// float: left; |
|
|
|
//} |
|
|
|
// |
|
|
|
//.head_info .dy { |
|
|
|
// margin-left: 10px; |
|
|
|
// margin-right: 20px; |
|
|
|
//} |
|
|
|
|
|
|
|
.container1 { |
|
|
|
background: #E9F1F7; |
|
|
|