From 7a2b48374b13f130964a26ea4b26f7105eaa2a77 Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Fri, 5 Dec 2025 14:23:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=9D=83=E9=99=90=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/roleapi/power.ts | 12 + .../components/myconst/editmypassword.vue | 99 +++++- src/utils/CheckPassword.ts | 307 ++++++++++++++++++ src/views/system/monitor/online/index.vue | 10 +- .../online/roleConfig/setRolePeople.vue | 42 ++- 5 files changed, 460 insertions(+), 10 deletions(-) create mode 100644 src/utils/CheckPassword.ts diff --git a/src/api/system/roleapi/power.ts b/src/api/system/roleapi/power.ts index 39bbd92..129445a 100644 --- a/src/api/system/roleapi/power.ts +++ b/src/api/system/roleapi/power.ts @@ -47,3 +47,15 @@ export function addNewPeople(data?: getSystemPower){ data:data }); } +/** +@ 作者: 秦东 +@ 时间: 2025-11-28 10:24:09 +@ 功能: 编辑自己登陆密码 +*/ +export function editMyPwd(data?: getSystemPower){ + return request({ + url: '/systemapi/hr/editMyPwd', + method: 'post', + data:data + }); +} diff --git a/src/layout/components/myconst/editmypassword.vue b/src/layout/components/myconst/editmypassword.vue index feb7171..81272d5 100644 --- a/src/layout/components/myconst/editmypassword.vue +++ b/src/layout/components/myconst/editmypassword.vue @@ -4,14 +4,64 @@ @ 备注: 修改密码 -->