รายละเอียดการประเมินผลการปฏิบัติราชการระดับบุคคล
This commit is contained in:
parent
0bfdcd73e7
commit
71c1dedd7b
4 changed files with 54 additions and 68 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue