From f1cd72e2ec536d457e8fc575db2092f653fdf17c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=B5=E5=AE=AA=E7=91=9E?= <9198107+min-xianrui@user.noreply.gitee.com> Date: Thu, 9 Jan 2025 23:24:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user/adminUserApi.ts | 7 ++++ src/components/Heads.vue | 72 ++++++++++++++++++++++++++++++--- src/pages/{ => admin}/view1.vue | 0 src/pages/{ => admin}/view2.vue | 0 src/pages/{ => admin}/view3.vue | 0 src/pages/{ => admin}/view4.vue | 0 src/pages/login.vue | 1 - src/utils/utils.ts | 11 +++-- 8 files changed, 79 insertions(+), 12 deletions(-) rename src/pages/{ => admin}/view1.vue (100%) rename src/pages/{ => admin}/view2.vue (100%) rename src/pages/{ => admin}/view3.vue (100%) rename src/pages/{ => admin}/view4.vue (100%) diff --git a/src/api/user/adminUserApi.ts b/src/api/user/adminUserApi.ts index b2dd62b..3c0060d 100644 --- a/src/api/user/adminUserApi.ts +++ b/src/api/user/adminUserApi.ts @@ -41,3 +41,10 @@ export function logoutAdmin() { export function userInfoAdmin() { return adminRequest.get("/sys/user/info") } +/** + * 修改密码 + * @param userId + */ +export function updatePasswordAdmin(data:any) { + return adminRequest.put("/sys/user/password",data) +} diff --git a/src/components/Heads.vue b/src/components/Heads.vue index 68dcccb..81e96e1 100644 --- a/src/components/Heads.vue +++ b/src/components/Heads.vue @@ -2,7 +2,6 @@
-
@@ -14,19 +13,67 @@
+ + + + + + + + + + + + + 确定修改 + + +