feat/issue

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-01-28 13:27:14 +07:00
parent 226469dd85
commit 46d5fab4e3
5 changed files with 428 additions and 7 deletions

View file

@ -19,6 +19,7 @@ import { useDataStore } from "@/stores/data";
import { useKpiDataStore } from "@/modules/08_KPI/store";
import DialogResetPass from "@/components/DialogResetPass.vue";
import DialogDebug from "@/components/DialogDebug.vue";
// landing page config url
const configParam = {
@ -50,6 +51,7 @@ const currentRouteName = router.currentRoute.value.name;
const tab = ref<any>(currentRouteName);
const isSsoToken = ref(false);
const modalResetPass = ref(false); // Dialog
const modalDebug = ref(false); // Dialog
/**
* เรยกฟงกนทงหมดตอนเรยกใชไฟล
@ -165,7 +167,7 @@ const doLogout = () => {
logoutSSO();
},
"ยืนยันการออกจากระบบ",
"ต้องการออกจากระบบใช่หรือไม่"
"ต้องการออกจากระบบใช่หรือไม่",
);
};
@ -216,7 +218,7 @@ watch(
notiList.value = updatedNotifications;
fetchTotolNotificate();
}
}
},
);
const thaiOptions: Intl.DateTimeFormatOptions = {
@ -260,7 +262,7 @@ watch(
() => route.name,
(newVal) => {
tab.value = newVal;
}
},
);
</script>
@ -416,7 +418,7 @@ watch(
{{
new Date(item.receiveDate).toLocaleTimeString(
"th-TH",
thaiOptions
thaiOptions,
)
}}
.</q-item-label
@ -536,6 +538,16 @@ watch(
</q-item-section>
<q-item-section> Landing Page </q-item-section>
</q-item>
<q-item clickable v-close-popup @click.prevent="modalDebug = true">
<q-item-section avatar style="min-width: 30px">
<q-icon color="warning" size="18px" name="mdi-bug" />
</q-item-section>
<q-item-section
><q-item-label
>แจงปญหาการใชงานระบบ
</q-item-label></q-item-section
>
</q-item>
<q-item clickable v-close-popup @click="onInfo">
<q-item-section avatar style="min-width: 30px">
@ -592,6 +604,20 @@ watch(
</q-item-section>
<q-item-section> Landing Page </q-item-section>
</q-item>
<q-item
clickable
v-close-popup
@click.prevent="modalDebug = true"
>
<q-item-section avatar style="min-width: 30px">
<q-icon color="warning" size="18px" name="mdi-bug" />
</q-item-section>
<q-item-section
><q-item-label
>แจงปญหาการใชงานระบบ
</q-item-label></q-item-section
>
</q-item>
<q-item clickable v-close-popup @click="onInfo">
<q-item-section avatar style="min-width: 30px">
<q-icon
@ -744,6 +770,7 @@ watch(
</q-layout>
<DialogResetPass v-model="modalResetPass" />
<DialogDebug v-model:modal="modalDebug" />
</template>
<style>