Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
portal-apps-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
portal-apps-manage
Commits
4e9b6454
Commit
4e9b6454
authored
Sep 29, 2025
by
sawit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clear model
parent
61994665
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
54 deletions
+1
-54
permission.model.ts
src/app/portal-manage/models/permission/permission.model.ts
+0
-9
permission-appmodule.component.ts
...nt/permission-appmodule/permission-appmodule.component.ts
+0
-22
permission-menumodule.component.ts
.../permission-menumodule/permission-menumodule.component.ts
+1
-23
No files found.
src/app/portal-manage/models/permission/permission.model.ts
View file @
4e9b6454
...
@@ -89,17 +89,8 @@ export interface AppModule {
...
@@ -89,17 +89,8 @@ export interface AppModule {
displayName
:
string
;
displayName
:
string
;
description
:
string
;
description
:
string
;
icon
:
string
;
icon
:
string
;
path
:
string
;
isActive
:
boolean
;
isActive
:
boolean
;
category
:
'applications'
|
'services'
|
'system'
;
category
:
'applications'
|
'services'
|
'system'
;
permissions
:
{
view
:
boolean
;
create
:
boolean
;
edit
:
boolean
;
delete
:
boolean
;
export
:
boolean
;
import
:
boolean
;
};
}
}
export
interface
AppCategory
{
export
interface
AppCategory
{
...
...
src/app/portal-manage/permission-management/permission-appmodule/permission-appmodule.component.ts
View file @
4e9b6454
...
@@ -57,10 +57,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -57,10 +57,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'myHR-Plus'
,
displayName
:
'myHR-Plus'
,
description
:
'ระบบจัดการทรัพยากรบุคคลขั้นสูง'
,
description
:
'ระบบจัดการทรัพยากรบุคคลขั้นสูง'
,
icon
:
'./assets/images/logoallHR/myhr-plus.jpg'
,
icon
:
'./assets/images/logoallHR/myhr-plus.jpg'
,
path
:
'/portal-manage/myhr-plus'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'myhr-lite'
,
id
:
'myhr-lite'
,
...
@@ -68,10 +66,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -68,10 +66,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'myHR-Lite'
,
displayName
:
'myHR-Lite'
,
description
:
'ระบบจัดการทรัพยากรบุคคลพื้นฐาน'
,
description
:
'ระบบจัดการทรัพยากรบุคคลพื้นฐาน'
,
icon
:
'./assets/images/logoallHR/myHR-Lite-logo-new.png'
,
icon
:
'./assets/images/logoallHR/myHR-Lite-logo-new.png'
,
path
:
'/portal-manage/myhr-lite'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'zeeme'
,
id
:
'zeeme'
,
...
@@ -79,10 +75,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -79,10 +75,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'Zeeme Plus'
,
displayName
:
'Zeeme Plus'
,
description
:
'ระบบจัดการเวลาและลงเวลา'
,
description
:
'ระบบจัดการเวลาและลงเวลา'
,
icon
:
'./assets/images/logoallHR/zeemePlus.png'
,
icon
:
'./assets/images/logoallHR/zeemePlus.png'
,
path
:
'/portal-manage/zeeme'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'myface'
,
id
:
'myface'
,
...
@@ -90,10 +84,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -90,10 +84,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'myFace'
,
displayName
:
'myFace'
,
description
:
'ระบบจัดการใบหน้าและความปลอดภัย'
,
description
:
'ระบบจัดการใบหน้าและความปลอดภัย'
,
icon
:
'./assets/images/logoallHR/logo_myface.png'
,
icon
:
'./assets/images/logoallHR/logo_myface.png'
,
path
:
'/portal-manage/myface'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'mylearn'
,
id
:
'mylearn'
,
...
@@ -101,10 +93,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -101,10 +93,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'myLearn'
,
displayName
:
'myLearn'
,
description
:
'ระบบจัดการการเรียนรู้และฝึกอบรม'
,
description
:
'ระบบจัดการการเรียนรู้และฝึกอบรม'
,
icon
:
'./assets/images/logoallHR/mylearn-logo.png'
,
icon
:
'./assets/images/logoallHR/mylearn-logo.png'
,
path
:
'/portal-manage/mylearn'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'myjob'
,
id
:
'myjob'
,
...
@@ -112,10 +102,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -112,10 +102,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'myJob'
,
displayName
:
'myJob'
,
description
:
'ระบบจัดการงานและโครงการ'
,
description
:
'ระบบจัดการงานและโครงการ'
,
icon
:
'./assets/images/logoallHR/logo_myjob.png'
,
icon
:
'./assets/images/logoallHR/logo_myjob.png'
,
path
:
'/portal-manage/myjob'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'myskill-x'
,
id
:
'myskill-x'
,
...
@@ -123,10 +111,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -123,10 +111,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'mySkill-X'
,
displayName
:
'mySkill-X'
,
description
:
'ระบบจัดการทักษะและความสามารถ'
,
description
:
'ระบบจัดการทักษะและความสามารถ'
,
icon
:
'./assets/images/logoallHR/mySkill-x.png'
,
icon
:
'./assets/images/logoallHR/mySkill-x.png'
,
path
:
'/portal-manage/myskill-x'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
...
@@ -135,10 +121,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -135,10 +121,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'Meeting Booking'
,
displayName
:
'Meeting Booking'
,
description
:
'ระบบจองห้องประชุม'
,
description
:
'ระบบจองห้องประชุม'
,
icon
:
'./assets/images/logoallHR/booking.png'
,
icon
:
'./assets/images/logoallHR/booking.png'
,
path
:
'/portal-manage/meeting-booking'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
// การตั้งค่าระบบ
// การตั้งค่าระบบ
{
{
...
@@ -147,10 +131,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -147,10 +131,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'Permission Management'
,
displayName
:
'Permission Management'
,
description
:
'ระบบจัดการสิทธิ์และบทบาท'
,
description
:
'ระบบจัดการสิทธิ์และบทบาท'
,
icon
:
'./assets/images/logoallHR/permission.png'
,
icon
:
'./assets/images/logoallHR/permission.png'
,
path
:
'/portal-manage/permission-management'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
...
@@ -160,10 +142,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -160,10 +142,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'Dashboard Management'
,
displayName
:
'Dashboard Management'
,
description
:
'ระบบจัดการแดชบอร์ด และคลังวิดเจ็ต'
,
description
:
'ระบบจัดการแดชบอร์ด และคลังวิดเจ็ต'
,
icon
:
'./assets/images/logoallHR/widget.webp'
,
icon
:
'./assets/images/logoallHR/widget.webp'
,
path
:
'/portal-manage/dashboard-management'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'my-portal'
,
id
:
'my-portal'
,
...
@@ -171,10 +151,8 @@ export class PermissionAppmoduleComponent implements OnInit {
...
@@ -171,10 +151,8 @@ export class PermissionAppmoduleComponent implements OnInit {
displayName
:
'my-Portal'
,
displayName
:
'my-Portal'
,
description
:
'ระบบจัดการเอกสารและเมนูกลางสำหรับแอปพลิเคชันต่างๆ'
,
description
:
'ระบบจัดการเอกสารและเมนูกลางสำหรับแอปพลิเคชันต่างๆ'
,
icon
:
'./assets/images/logoallHR/portal.webp'
,
icon
:
'./assets/images/logoallHR/portal.webp'
,
path
:
'/portal-manage/my-portal'
,
isActive
:
true
,
isActive
:
true
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
}
}
];
];
}
}
...
...
src/app/portal-manage/permission-management/permission-employeelist/permission-menumodule/permission-menumodule.component.ts
View file @
4e9b6454
...
@@ -93,7 +93,7 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -93,7 +93,7 @@ export class PermissionMenumoduleComponent implements OnInit {
isActive
:
a
.
isActive
isActive
:
a
.
isActive
}));
}));
const
payload
=
{
const
payload
=
{
employeeId
:
this
.
employeeId
,
employeeId
:
this
.
employeeId
,
modules
:
modules
modules
:
modules
};
};
...
@@ -129,10 +129,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -129,10 +129,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'myHR-Plus'
,
displayName
:
'myHR-Plus'
,
description
:
'ระบบจัดการทรัพยากรบุคคลขั้นสูง'
,
description
:
'ระบบจัดการทรัพยากรบุคคลขั้นสูง'
,
icon
:
'./assets/images/logoallHR/myhr-plus.jpg'
,
icon
:
'./assets/images/logoallHR/myhr-plus.jpg'
,
path
:
'/portal-manage/myhr-plus'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'myhr-lite'
,
id
:
'myhr-lite'
,
...
@@ -140,10 +138,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -140,10 +138,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'myHR-Lite'
,
displayName
:
'myHR-Lite'
,
description
:
'ระบบจัดการทรัพยากรบุคคลพื้นฐาน'
,
description
:
'ระบบจัดการทรัพยากรบุคคลพื้นฐาน'
,
icon
:
'./assets/images/logoallHR/myHR-Lite-logo-new.png'
,
icon
:
'./assets/images/logoallHR/myHR-Lite-logo-new.png'
,
path
:
'/portal-manage/myhr-lite'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'zeeme'
,
id
:
'zeeme'
,
...
@@ -151,10 +147,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -151,10 +147,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'Zeeme Plus'
,
displayName
:
'Zeeme Plus'
,
description
:
'ระบบจัดการเวลาและลงเวลา'
,
description
:
'ระบบจัดการเวลาและลงเวลา'
,
icon
:
'./assets/images/logoallHR/zeemePlus.png'
,
icon
:
'./assets/images/logoallHR/zeemePlus.png'
,
path
:
'/portal-manage/zeeme'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'myface'
,
id
:
'myface'
,
...
@@ -162,10 +156,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -162,10 +156,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'myFace'
,
displayName
:
'myFace'
,
description
:
'ระบบจัดการใบหน้าและความปลอดภัย'
,
description
:
'ระบบจัดการใบหน้าและความปลอดภัย'
,
icon
:
'./assets/images/logoallHR/logo_myface.png'
,
icon
:
'./assets/images/logoallHR/logo_myface.png'
,
path
:
'/portal-manage/myface'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'mylearn'
,
id
:
'mylearn'
,
...
@@ -173,10 +165,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -173,10 +165,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'myLearn'
,
displayName
:
'myLearn'
,
description
:
'ระบบจัดการการเรียนรู้และฝึกอบรม'
,
description
:
'ระบบจัดการการเรียนรู้และฝึกอบรม'
,
icon
:
'./assets/images/logoallHR/mylearn-logo.png'
,
icon
:
'./assets/images/logoallHR/mylearn-logo.png'
,
path
:
'/portal-manage/mylearn'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'myjob'
,
id
:
'myjob'
,
...
@@ -184,10 +174,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -184,10 +174,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'myJob'
,
displayName
:
'myJob'
,
description
:
'ระบบจัดการงานและโครงการ'
,
description
:
'ระบบจัดการงานและโครงการ'
,
icon
:
'./assets/images/logoallHR/logo_myjob.png'
,
icon
:
'./assets/images/logoallHR/logo_myjob.png'
,
path
:
'/portal-manage/myjob'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'myskill-x'
,
id
:
'myskill-x'
,
...
@@ -195,10 +183,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -195,10 +183,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'mySkill-X'
,
displayName
:
'mySkill-X'
,
description
:
'ระบบจัดการทักษะและความสามารถ'
,
description
:
'ระบบจัดการทักษะและความสามารถ'
,
icon
:
'./assets/images/logoallHR/mySkill-x.png'
,
icon
:
'./assets/images/logoallHR/mySkill-x.png'
,
path
:
'/portal-manage/myskill-x'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'meetingBooking'
,
id
:
'meetingBooking'
,
...
@@ -206,10 +192,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -206,10 +192,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'Meeting Booking'
,
displayName
:
'Meeting Booking'
,
description
:
'ระบบจองห้องประชุม'
,
description
:
'ระบบจองห้องประชุม'
,
icon
:
'./assets/images/logoallHR/booking.png'
,
icon
:
'./assets/images/logoallHR/booking.png'
,
path
:
'/portal-manage/meeting-booking'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'permissionManagement'
,
id
:
'permissionManagement'
,
...
@@ -217,10 +201,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -217,10 +201,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'Permission Management'
,
displayName
:
'Permission Management'
,
description
:
'ระบบจัดการสิทธิ์และบทบาท'
,
description
:
'ระบบจัดการสิทธิ์และบทบาท'
,
icon
:
'./assets/images/logoallHR/permission.png'
,
icon
:
'./assets/images/logoallHR/permission.png'
,
path
:
'/portal-manage/permission-management'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'dashboardManagement'
,
id
:
'dashboardManagement'
,
...
@@ -228,10 +210,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -228,10 +210,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'Dashboard Management'
,
displayName
:
'Dashboard Management'
,
description
:
'ระบบจัดการแดชบอร์ด และคลังวิดเจ็ต'
,
description
:
'ระบบจัดการแดชบอร์ด และคลังวิดเจ็ต'
,
icon
:
'./assets/images/logoallHR/widget.webp'
,
icon
:
'./assets/images/logoallHR/widget.webp'
,
path
:
'/portal-manage/dashboard-management'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
},
},
{
{
id
:
'my-portal'
,
id
:
'my-portal'
,
...
@@ -239,10 +219,8 @@ export class PermissionMenumoduleComponent implements OnInit {
...
@@ -239,10 +219,8 @@ export class PermissionMenumoduleComponent implements OnInit {
displayName
:
'my-Portal'
,
displayName
:
'my-Portal'
,
description
:
'ระบบจัดการเอกสารและเมนูกลางสำหรับแอปพลิเคชันต่างๆ'
,
description
:
'ระบบจัดการเอกสารและเมนูกลางสำหรับแอปพลิเคชันต่างๆ'
,
icon
:
'./assets/images/logoallHR/portal.webp'
,
icon
:
'./assets/images/logoallHR/portal.webp'
,
path
:
'/portal-manage/my-portal'
,
isActive
:
false
,
isActive
:
false
,
category
:
'applications'
,
category
:
'applications'
,
permissions
:
{
view
:
true
,
create
:
true
,
edit
:
true
,
delete
:
true
,
export
:
true
,
import
:
true
}
}
}
];
];
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment