diff --git a/src/api/org/api.org.ts b/src/api/org/api.org.ts
index 0ab91e2..3c14fee 100644
--- a/src/api/org/api.org.ts
+++ b/src/api/org/api.org.ts
@@ -169,10 +169,11 @@ export default {
* workflow
*/
workflow: `${workflow}/`,
- commanderPosexe: (type:string)=>`${workflow}/commander-posexe/${type}`,
+ commanderPosexe: (type: string) => `${workflow}/commander-posexe/${type}`,
commanderOperate: `${workflow}/commander/operate`,
keycloakLogSSO: `${org}/keycloak/log/sso`,
+ changePassword: `${org}/keycloak/user/change-password`,
- orgAssistance:(id:string)=>`${profileOrg}/assistance/${id}`
+ orgAssistance: (id: string) => `${profileOrg}/assistance/${id}`,
};
diff --git a/src/components/DialogResetPass.vue b/src/components/DialogResetPass.vue
new file mode 100644
index 0000000..0ed787e
--- /dev/null
+++ b/src/components/DialogResetPass.vue
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ บันทึกข้อมูล
+
+
+
+
+
+
+
diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue
index c7ddb08..57f2fae 100644
--- a/src/views/MainLayout.vue
+++ b/src/views/MainLayout.vue
@@ -18,6 +18,8 @@ import {
import { useDataStore } from "@/stores/data";
import { useKpiDataStore } from "@/modules/08_KPI/store";
+import DialogResetPass from "@/components/DialogResetPass.vue";
+
// landing page config url
const configParam = {
landingPageUrl: import.meta.env.VITE_URL_LANDING,
@@ -47,6 +49,7 @@ const notiTrigger = ref(false);
const currentRouteName = router.currentRoute.value.name;
const tab = ref(currentRouteName);
const isSsoToken = ref(false);
+const modalResetPass = ref(false); // ตัวแปรควบคุมการเปิดปิด Dialog เปลี่ยนรหัสผ่าน
/**
* เรียกฟังก์ชันทั้งหมดตอนเรียกใช้ไฟล์นี้
@@ -248,6 +251,10 @@ function onViewDetailNoti(url: string) {
window.open(url, "_blank");
}
+function onResetPass() {
+ modalResetPass.value = true;
+}
+
/** ดูการเปลี่ยน route name เพื่อเปลี่ยน tab */
watch(
() => route.name,
@@ -543,14 +550,14 @@ watch(
>
-
+
@@ -598,7 +605,7 @@ watch(
>
-
+
@@ -735,6 +742,8 @@ watch(
+
+