รายละเอียดการประเมินผลการปฏิบัติราชการระดับบุคคล

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-30 14:08:58 +07:00
parent 0bfdcd73e7
commit 71c1dedd7b
4 changed files with 54 additions and 68 deletions

View file

@ -243,7 +243,6 @@ onMounted(async () => {
}
await fetchmsgNoread();
// await getDataNotification(1, "NOMAL");
myEventHandler(null, false);
window.addEventListener("resize", (e: any) => {
myEventHandler(e, true);
@ -328,14 +327,10 @@ const tagClick = (tag: string) => {
const hash = `#${tag}`;
const items = document.getElementById(tag);
const offset = Math.max(0, items == null ? 0 : items.offsetTop - 84);
// router.replace({ hash });
if (route.hash !== hash) {
const check = activeBtn();
if (check) {
// router.replace({ hash, position: { x: 0, y: 0 } });
// router.replace({ hash }).then(() => {
// setVerticalScrollPosition(window, offset, 300);
// });
drawerR.value = !drawerR.value;
setVerticalScrollPosition(window, offset, 300);
} else {
@ -498,8 +493,8 @@ const handleButtonClick = () => {
/**
* function fetch รายการเมนงหมด
*/
function fetchSys() {
http
async function fetchSys() {
await http
.get(config.API.orgPermissions)
.then((res) => {
storeMenu.fetchListMenu(res.data.result);
@ -512,8 +507,8 @@ function fetchSys() {
/**
* function fetch รายการเมนงหมด
*/
function fetchPermissionsSys() {
http
async function fetchPermissionsSys() {
await http
.get(config.API.orgPermissionsSys)
.then((res) => {
storeMenu.fetchDataPermission(res.data.result);