|
@@ -1,9 +1,9 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="top-nav">
|
3
|
|
- <!-- <div class="nav-logo">
|
|
3
|
+ <div class="nav-logo">
|
4
|
4
|
<img :src="require(`../../../assets/logo/logo.png`)" alt="">
|
5
|
5
|
</div>
|
6
|
|
- <el-menu class="navbar" mode="horizontal">
|
|
6
|
+ <!-- <el-menu class="navbar" mode="horizontal">
|
7
|
7
|
<div>
|
8
|
8
|
<span> {{this.$store.getters.xt_user.org.org_name}}
|
9
|
9
|
</span>
|
|
@@ -62,62 +62,64 @@
|
62
|
62
|
<modify-org-info-dialog ref="modify_org_info_dialog"></modify-org-info-dialog>
|
63
|
63
|
|
64
|
64
|
</div>
|
65
|
|
- </el-menu>-->
|
66
|
|
- <div class="dropdownBox">
|
67
|
|
- <el-dropdown trigger="click" @command="handleOrgCommand">
|
68
|
|
- <span class="el-dropdown-link">
|
69
|
|
- {{ org_name }}
|
70
|
|
- <i class="el-icon-arrow-down el-icon--right"></i>
|
71
|
|
- </span>
|
72
|
|
- <el-dropdown-menu slot="dropdown">
|
73
|
|
- <el-dropdown-item
|
74
|
|
- v-for="(item, index) in orgs"
|
75
|
|
- :key="index"
|
76
|
|
- :command="item.id"
|
77
|
|
- >{{ item.org_name }}</el-dropdown-item
|
78
|
|
- >
|
79
|
|
- </el-dropdown-menu>
|
80
|
|
- </el-dropdown>
|
81
|
|
- </div>
|
82
|
|
- <div class="navRight">
|
83
|
|
- <!-- <el-input placeholder="搜索患者透析号/姓名/首拼" prefix-icon="el-icon-search" v-model="input2"></el-input>
|
84
|
|
- <div style="color: #b2b2b3;">通知中心</div> -->
|
85
|
|
- <div class="right-menu">
|
86
|
|
- <el-dropdown
|
87
|
|
- class="avatar-container right-menu-item"
|
88
|
|
- trigger="click"
|
89
|
|
- @command="handleCommand"
|
90
|
|
- >
|
91
|
|
- <div class="avatar-wrapper">
|
92
|
|
- <img class="user-avatar" :src="avater" />
|
93
|
|
- <span class="user-title">{{
|
94
|
|
- this.$store.getters.xt_user.user.user_name
|
95
|
|
- }}</span>
|
96
|
|
- <i class="el-icon-caret-bottom"></i>
|
97
|
|
- </div>
|
|
65
|
+ </el-menu> -->
|
|
66
|
+ <div style="display:flex;align-items: center;justify-content: space-between; width:96%">
|
|
67
|
+ <div class="dropdownBox">
|
|
68
|
+ <el-dropdown trigger="click" @command="handleOrgCommand">
|
|
69
|
+ <span class="el-dropdown-link">
|
|
70
|
+ {{ org_name }}
|
|
71
|
+ <i class="el-icon-arrow-down el-icon--right"></i>
|
|
72
|
+ </span>
|
98
|
73
|
<el-dropdown-menu slot="dropdown">
|
99
|
|
- <el-dropdown-item command="modifyUserInfoAction"
|
100
|
|
- >个人信息</el-dropdown-item
|
|
74
|
+ <el-dropdown-item
|
|
75
|
+ v-for="(item, index) in orgs"
|
|
76
|
+ :key="index"
|
|
77
|
+ :command="item.id"
|
|
78
|
+ >{{ item.org_name }}</el-dropdown-item
|
101
|
79
|
>
|
102
|
|
- <el-dropdown-item command="modifyOrgInfoAction"
|
103
|
|
- >机构信息</el-dropdown-item
|
104
|
|
- >
|
105
|
|
- <el-dropdown-item divided command="logout">{{
|
106
|
|
- $t("navbar.logOut")
|
107
|
|
- }}</el-dropdown-item>
|
108
|
80
|
</el-dropdown-menu>
|
109
|
81
|
</el-dropdown>
|
110
|
|
-
|
111
|
|
- <modify-user-info-dialog
|
112
|
|
- ref="modify_user_info_dialog"
|
113
|
|
- ></modify-user-info-dialog>
|
114
|
|
- <modify-org-info-dialog
|
115
|
|
- ref="modify_org_info_dialog"
|
116
|
|
- ></modify-org-info-dialog>
|
117
|
82
|
</div>
|
118
|
|
- <div>
|
119
|
|
- <i class="el-icon-question"></i>
|
120
|
|
- <a href="https://sso.kuyicloud.com/help" target="_blank">帮助中心</a>
|
|
83
|
+ <div class="navRight">
|
|
84
|
+ <!-- <el-input placeholder="搜索患者透析号/姓名/首拼" prefix-icon="el-icon-search" v-model="input2"></el-input>
|
|
85
|
+ <div style="color: #b2b2b3;">通知中心</div> -->
|
|
86
|
+ <div class="right-menu">
|
|
87
|
+ <el-dropdown
|
|
88
|
+ class="avatar-container right-menu-item"
|
|
89
|
+ trigger="click"
|
|
90
|
+ @command="handleCommand"
|
|
91
|
+ >
|
|
92
|
+ <div class="avatar-wrapper">
|
|
93
|
+ <img class="user-avatar" :src="avater" />
|
|
94
|
+ <span class="user-title">{{
|
|
95
|
+ this.$store.getters.xt_user.user.user_name
|
|
96
|
+ }}</span>
|
|
97
|
+ <i class="el-icon-caret-bottom"></i>
|
|
98
|
+ </div>
|
|
99
|
+ <el-dropdown-menu slot="dropdown">
|
|
100
|
+ <el-dropdown-item command="modifyUserInfoAction"
|
|
101
|
+ >个人信息</el-dropdown-item
|
|
102
|
+ >
|
|
103
|
+ <el-dropdown-item command="modifyOrgInfoAction"
|
|
104
|
+ >机构信息</el-dropdown-item
|
|
105
|
+ >
|
|
106
|
+ <el-dropdown-item divided command="logout">{{
|
|
107
|
+ $t("navbar.logOut")
|
|
108
|
+ }}</el-dropdown-item>
|
|
109
|
+ </el-dropdown-menu>
|
|
110
|
+ </el-dropdown>
|
|
111
|
+
|
|
112
|
+ <modify-user-info-dialog
|
|
113
|
+ ref="modify_user_info_dialog"
|
|
114
|
+ ></modify-user-info-dialog>
|
|
115
|
+ <modify-org-info-dialog
|
|
116
|
+ ref="modify_org_info_dialog"
|
|
117
|
+ ></modify-org-info-dialog>
|
|
118
|
+ </div>
|
|
119
|
+ <div>
|
|
120
|
+ <i class="el-icon-question"></i>
|
|
121
|
+ <a href="https://sso.kuyicloud.com/help" target="_blank">帮助中心</a>
|
|
122
|
+ </div>
|
121
|
123
|
</div>
|
122
|
124
|
</div>
|
123
|
125
|
</div>
|
|
@@ -295,16 +297,17 @@ export default {
|
295
|
297
|
|
296
|
298
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
297
|
299
|
.top-nav {
|
|
300
|
+ width: 100%;
|
298
|
301
|
background: #409eff;
|
299
|
302
|
position: fixed;
|
300
|
303
|
top: 0;
|
301
|
|
- left: 150px;
|
|
304
|
+ // left: 150px;
|
302
|
305
|
right: 0;
|
303
|
306
|
z-index: 1000;
|
304
|
307
|
height: 50px;
|
305
|
308
|
display: flex;
|
306
|
309
|
align-items: center;
|
307
|
|
- justify-content: space-between;
|
|
310
|
+ // justify-content: space-between;
|
308
|
311
|
color: #fff;
|
309
|
312
|
.dropdownBox {
|
310
|
313
|
margin-left: 10px;
|