From d4de04a0a6e803cba0021a630b04d63ca2e2d748 Mon Sep 17 00:00:00 2001
From: zq <136432190602163.com>
Date: Fri, 31 Oct 2025 18:00:57 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BB=E7=94=9F=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=E9=A1=B5=E9=9D=A2-=E5=8C=BB=E7=94=9F=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=E3=80=81=E5=A4=B4=E9=83=A8=E6=A0=B7?=
=?UTF-8?q?=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 5 ++-
src/components/Header.vue | 83 +++++++++++++++++++++++++++++++++++++-------
src/router/index.js | 12 +++++++
src/utils/request.js | 12 ++++++-
src/views/HomeView.vue | 14 +++++---
src/views/hospitalManage.vue | 13 +++++++
src/views/login.vue | 3 +-
src/views/paymentMethod.vue | 3 --
8 files changed, 121 insertions(+), 24 deletions(-)
create mode 100644 src/views/hospitalManage.vue
diff --git a/src/App.vue b/src/App.vue
index 17defbc..3cb1f6f 100755
--- a/src/App.vue
+++ b/src/App.vue
@@ -11,7 +11,7 @@
-
+
@@ -34,6 +34,7 @@ export default {
data() {
return {
isCollapse: true,
+ user:null
};
},
components: {
@@ -46,6 +47,8 @@ export default {
...mapState(['hosMenuData','slidermenu','customize','showSidebar', 'showFooter', 'showHeader']) // 从Vuex映射showSidebar状态到组件的计算属性中
},
mounted() {
+ this.user = localStorage.getItem('nick')
+
window.addEventListener('beforeunload', this.clearStorage);
},
beforeUnmount() {
diff --git a/src/components/Header.vue b/src/components/Header.vue
index 370da11..5d54338 100644
--- a/src/components/Header.vue
+++ b/src/components/Header.vue
@@ -3,33 +3,84 @@
-
+
\ No newline at end of file
diff --git a/src/views/login.vue b/src/views/login.vue
index bda36a9..2a6ba68 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -12,7 +12,6 @@
登录即代表同意 《用户协议》和 《隐私条款》
若无账号,请先联系客服注册
-