feat/issue
This commit is contained in:
parent
226469dd85
commit
46d5fab4e3
5 changed files with 428 additions and 7 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue