@finema/finework-layer 0.2.106 → 0.2.108
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,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.108](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.107...0.2.108) (2026-01-19)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* asset route ([944ec5f](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/944ec5f2ab35943e9116e0902557159c4f96bcfe))
|
|
8
|
+
|
|
9
|
+
## [0.2.107](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.106...0.2.107) (2026-01-08)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* date time form now ([2ed66f0](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/2ed66f094a26136f7b7f3fcf40a37f4e42301df7))
|
|
14
|
+
|
|
3
15
|
## [0.2.106](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.105...0.2.106) (2026-01-08)
|
|
4
16
|
|
|
5
17
|
### Bug Fixes
|
|
@@ -24,7 +24,7 @@ const getValue = computed(() => {
|
|
|
24
24
|
? locales.th
|
|
25
25
|
: locales.enUS
|
|
26
26
|
|
|
27
|
-
const targetDate = new Date(
|
|
27
|
+
const targetDate = new Date(props.value)
|
|
28
28
|
const daysDiff = differenceInDays(new Date(), targetDate)
|
|
29
29
|
|
|
30
30
|
if (daysDiff <= 6) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<Card
|
|
2
|
+
<Card
|
|
3
|
+
v-if="managementApps.length > 0 || financeApps.length > 0 || peopleApps.length > 0 || legalApps.length > 0"
|
|
4
|
+
>
|
|
3
5
|
<div
|
|
4
|
-
v-if="managementApps.length > 0 || financeApps.length > 0 || peopleApps.length > 0 || legalApps.length > 0"
|
|
5
6
|
class="overflow-auto bg-white"
|
|
6
7
|
:class="[isNavbar ? 'max-h-[calc(100vh-130px)]' : 'h-full']"
|
|
7
8
|
>
|
|
@@ -355,7 +356,7 @@ const peopleApps = computed(() => [
|
|
|
355
356
|
logo: '/admin/assets.png',
|
|
356
357
|
label: 'Assets',
|
|
357
358
|
description: 'ระบบจัดการสินทรัพย์',
|
|
358
|
-
to: routes.asset.
|
|
359
|
+
to: routes.asset.dashboard.to,
|
|
359
360
|
status: StatusPortal.ACTIVE,
|
|
360
361
|
},
|
|
361
362
|
]
|
package/app/constants/routes.ts
CHANGED
|
@@ -131,6 +131,12 @@ export const routes = {
|
|
|
131
131
|
},
|
|
132
132
|
},
|
|
133
133
|
asset: {
|
|
134
|
+
dashboard: {
|
|
135
|
+
label: 'ภาพรวมสินทรัพย์',
|
|
136
|
+
to: '/asset/dashboard',
|
|
137
|
+
icon: 'ph:chart-bar',
|
|
138
|
+
permissions: ['asset:USER', 'asset:ADMIN', 'asset:SUPER'],
|
|
139
|
+
},
|
|
134
140
|
item: {
|
|
135
141
|
items: {
|
|
136
142
|
label: 'ข้อมูลสินทรัพย์',
|