@finema/finework-layer 1.0.40 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.41](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.40...1.0.41) (2026-04-24)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* evaluation and lg ([365f7fe](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/365f7fe00ed9c8fd48575d4d8bce96ef9a616be8))
|
|
8
|
+
|
|
3
9
|
## [1.0.40](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.39...1.0.40) (2026-04-21)
|
|
4
10
|
|
|
5
11
|
### Bug Fixes
|
|
@@ -421,15 +421,15 @@ const financeApps = computed(() => [
|
|
|
421
421
|
},
|
|
422
422
|
]
|
|
423
423
|
: []),
|
|
424
|
-
...(auth.hasPermission(UserModule.
|
|
424
|
+
...(auth.hasPermission(UserModule.LG, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
425
425
|
? [
|
|
426
426
|
{
|
|
427
427
|
name: 'Guarantee',
|
|
428
428
|
logo: '/admin/guarantee.png',
|
|
429
429
|
label: 'งบค้ำประกัน',
|
|
430
430
|
description: 'การเบิกเงินค้ำซองและค้ำสัญญา',
|
|
431
|
-
to:
|
|
432
|
-
status: StatusPortal.
|
|
431
|
+
to: routes.lg.overview.to,
|
|
432
|
+
status: StatusPortal.ACTIVE,
|
|
433
433
|
},
|
|
434
434
|
]
|
|
435
435
|
: []),
|
|
@@ -509,15 +509,15 @@ const peopleApps = computed(() => [
|
|
|
509
509
|
},
|
|
510
510
|
]
|
|
511
511
|
: []),
|
|
512
|
-
...(auth.hasPermission(UserModule.
|
|
512
|
+
...(auth.hasPermission(UserModule.EVALUATION, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
513
513
|
? [
|
|
514
514
|
{
|
|
515
515
|
name: 'Evaluation',
|
|
516
516
|
logo: '/admin/evaluation.png',
|
|
517
517
|
label: 'Evaluation',
|
|
518
518
|
description: 'ระบบจัดการการประเมิน',
|
|
519
|
-
to:
|
|
520
|
-
status: StatusPortal.
|
|
519
|
+
to: routes.evaluation.general.generals.to,
|
|
520
|
+
status: StatusPortal.ACTIVE,
|
|
521
521
|
},
|
|
522
522
|
]
|
|
523
523
|
: []),
|
|
@@ -97,7 +97,7 @@ export enum UserModule {
|
|
|
97
97
|
EMPLOYEE = 'employee',
|
|
98
98
|
ASSET = 'asset',
|
|
99
99
|
RECRUIT = 'recruit',
|
|
100
|
-
|
|
100
|
+
LG = 'lg',
|
|
101
101
|
EFACTORING = 'efactoring',
|
|
102
102
|
RESOURCE = 'resource',
|
|
103
103
|
}
|
|
@@ -118,7 +118,7 @@ export interface IUserAccessLevel {
|
|
|
118
118
|
employee: Permission
|
|
119
119
|
asset: Permission
|
|
120
120
|
recruit: Permission
|
|
121
|
-
|
|
121
|
+
lg: Permission
|
|
122
122
|
efactoring: Permission
|
|
123
123
|
resource: Permission
|
|
124
124
|
}
|
package/app/constants/routes.ts
CHANGED
|
@@ -193,5 +193,21 @@ export const routes = {
|
|
|
193
193
|
permissions: ['resource:USER', 'resource:ADMIN', 'resource:SUPER'],
|
|
194
194
|
},
|
|
195
195
|
},
|
|
196
|
+
lg: {
|
|
197
|
+
overview: {
|
|
198
|
+
label: 'ภาพรวม',
|
|
199
|
+
to: '/lg/overview',
|
|
200
|
+
icon: 'ph:stack',
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
evaluation: {
|
|
204
|
+
general: {
|
|
205
|
+
generals: {
|
|
206
|
+
label: 'การประเมินทั่วไป',
|
|
207
|
+
to: '/evaluation/generals',
|
|
208
|
+
icon: 'bi:clipboard-check',
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
},
|
|
196
212
|
|
|
197
213
|
} as const
|