From 758798155c3cfe40b178ec042c94584a7dad7168 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 17 十月 2023 19:28:36 +0800
Subject: [PATCH] 前端代码打包
---
Source/UBCS-WEB/src/page/index/top/index.vue | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Source/UBCS-WEB/src/page/index/top/index.vue b/Source/UBCS-WEB/src/page/index/top/index.vue
index 443db48..f445e17 100644
--- a/Source/UBCS-WEB/src/page/index/top/index.vue
+++ b/Source/UBCS-WEB/src/page/index/top/index.vue
@@ -18,7 +18,11 @@
<top-search></top-search>
</span>
</div>
+ <div></div>
<div class="top-bar__right">
+ <el-tooltip style="margin-right: 35px">
+ <p style="font-size: 20px;line-height: 20px">鏈郴缁熶负闈炴秹瀵嗗簲鐢ㄧ郴缁燂紝绂佹澶勭悊銆佸瓨鍌ㄣ�佷紶杈撴秹瀵嗕俊鎭�</p>
+ </el-tooltip>
<el-tooltip v-if="showColor"
effect="dark"
:content="$t('navbar.color')"
@@ -101,6 +105,9 @@
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
+ <el-tooltip effect="dark" style="margin-left: 15px">
+ <p style="font-size: 16px">褰撳墠鐧诲綍鐢ㄦ埛锛歿{storedUsername}}</p>
+ </el-tooltip>
<el-dialog title="鐢ㄦ埛淇℃伅閫夋嫨"
append-to-body
:visible.sync="userBox"
@@ -137,6 +144,7 @@
name: "top",
data() {
return {
+ storedUsername: '',
userBox: false,
userForm: {
deptId: '',
@@ -191,6 +199,7 @@
},
mounted() {
listenfullscreen(this.setScreen);
+ this.storedUsername = localStorage.getItem('username');
},
computed: {
...mapState({
--
Gitblit v1.10.0