From 4e37c0a541206717715f5c0b6b8e9f6dd5fb7ee4 Mon Sep 17 00:00:00 2001
From: xyc <3422692813@qq.com>
Date: Mon, 16 Jun 2025 17:17:24 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/index/UserInfo.vue | 13 +++--
pages/index/countEmployees.vue | 39 ++++++++-----
pages/index/meetCarOrder.vue | 4 +-
pages/staff/staff-my.vue | 8 ++-
pages/staff/staff.vue | 104 +++++++++++++++++++--------------
pages/xiaoxi/notice.vue | 3 +-
6 files changed, 104 insertions(+), 67 deletions(-)
diff --git a/pages/index/UserInfo.vue b/pages/index/UserInfo.vue
index b36b52d..ee1ae00 100644
--- a/pages/index/UserInfo.vue
+++ b/pages/index/UserInfo.vue
@@ -132,12 +132,15 @@
}
}).then(res => {
this.customInfo = res.data
- if (this.customInfo.avatar) {
- this.customInfo.avatar = config.baseImageUrl + this.customInfo.avatar
+ if (this.customInfo) {
+ setStorageWithExpiry("userInfo", this.customInfo)
+ this.generateUniCode(this.customInfo.uniqueCode)
+ if (this.customInfo.avatar) {
+ this.customInfo.avatar = config.baseImageUrl + this.customInfo.avatar
+ }
+ this.customInfo.roleNames = roleNames
}
- this.customInfo.roleNames = roleNames
- setStorageWithExpiry("userInfo", this.customInfo)
- this.generateUniCode(this.customInfo.uniqueCode)
+
})
} else {
this.customInfo = data
diff --git a/pages/index/countEmployees.vue b/pages/index/countEmployees.vue
index d53505c..9a4ad18 100644
--- a/pages/index/countEmployees.vue
+++ b/pages/index/countEmployees.vue
@@ -4,14 +4,10 @@
-
-
-
+
+
+