From 60661ec01fab391ae1452c3480ccca9c72022e89 Mon Sep 17 00:00:00 2001
From: xy <271556543@qq.com>
Date: Thu, 14 Mar 2024 17:23:48 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/PanThumb/index.vue | 142 ++++++++++++++++++
src/layout/index.vue | 5 +
src/router/index.js | 17 ++-
src/views/system/component/Account.vue | 72 +++++++++
src/views/system/component/Timeline.vue | 54 +++++++
src/views/system/component/UserCard.vue | 118 +++++++++++++++
src/views/system/password.vue | 85 +++++++++++
.../system/workerComponents/department.vue | 6 +-
src/views/system/workerComponents/toDo.vue | 36 ++---
src/views/system/workerComponents/type.vue | 6 +-
10 files changed, 510 insertions(+), 31 deletions(-)
create mode 100644 src/components/PanThumb/index.vue
create mode 100644 src/views/system/component/Account.vue
create mode 100644 src/views/system/component/Timeline.vue
create mode 100644 src/views/system/component/UserCard.vue
create mode 100644 src/views/system/password.vue
diff --git a/src/components/PanThumb/index.vue b/src/components/PanThumb/index.vue
new file mode 100644
index 0000000..1bcf417
--- /dev/null
+++ b/src/components/PanThumb/index.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
diff --git a/src/layout/index.vue b/src/layout/index.vue
index 898b94f..4a34b81 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -30,6 +30,11 @@
系统首页
+
+
+ 个人信息
+
+
退出
diff --git a/src/router/index.js b/src/router/index.js
index 0096aec..40cd849 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -55,7 +55,22 @@ export const constantRoutes = [{
icon: 'dashboard'
}
}]
- }
+ },
+ {
+ path: "/info",
+ component: Layout,
+ children: [
+ {
+ path: "password",
+ component: () => import("@/views/system/password"),
+ name: "密码修改",
+ meta: {
+ title: "密码修改",
+ },
+ },
+ ],
+ hidden: true,
+ },
]
/**
diff --git a/src/views/system/component/Account.vue b/src/views/system/component/Account.vue
new file mode 100644
index 0000000..41dce98
--- /dev/null
+++ b/src/views/system/component/Account.vue
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+ 保存
+
+
+
+
+
diff --git a/src/views/system/component/Timeline.vue b/src/views/system/component/Timeline.vue
new file mode 100644
index 0000000..fb00059
--- /dev/null
+++ b/src/views/system/component/Timeline.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+ {{ item.created_at }}
+ {{ item.name }}
+
+
+
+
+
+
+
diff --git a/src/views/system/component/UserCard.vue b/src/views/system/component/UserCard.vue
new file mode 100644
index 0000000..f69c341
--- /dev/null
+++ b/src/views/system/component/UserCard.vue
@@ -0,0 +1,118 @@
+
+
+
+ 个人信息
+
+
+
+
+
+ Hello
+ {{ user.role }}
+
+
+
+
{{ user.name }}
+
{{ user.role }}
+
+
+
+
+
+
+
+
+ {{user.department||"暂无"}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/password.vue b/src/views/system/password.vue
new file mode 100644
index 0000000..4da59a5
--- /dev/null
+++ b/src/views/system/password.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/workerComponents/department.vue b/src/views/system/workerComponents/department.vue
index 85d6b35..22e29f4 100644
--- a/src/views/system/workerComponents/department.vue
+++ b/src/views/system/workerComponents/department.vue
@@ -7,8 +7,10 @@
-
-
+
diff --git a/src/views/system/workerComponents/toDo.vue b/src/views/system/workerComponents/toDo.vue
index d04bee8..4142ada 100644
--- a/src/views/system/workerComponents/toDo.vue
+++ b/src/views/system/workerComponents/toDo.vue
@@ -7,32 +7,16 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/src/views/system/workerComponents/type.vue b/src/views/system/workerComponents/type.vue
index 127a585..ec0afa9 100644
--- a/src/views/system/workerComponents/type.vue
+++ b/src/views/system/workerComponents/type.vue
@@ -7,8 +7,10 @@
-