feat: add ready status of request data

This commit is contained in:
Methapon2001 2025-01-22 14:03:14 +07:00
parent 16e9393315
commit 363779a2bc
7 changed files with 18 additions and 6 deletions

View file

@ -141,6 +141,12 @@ watch([() => pageState.inputSearch, () => pageState.statusFilter], () =>
label: 'requestList.status.Pending',
color: 'orange',
},
{
icon: 'mdi:tag-check-outline',
count: stats[RequestDataStatus.Pending],
label: 'requestList.status.Ready',
color: 'light-yellow',
},
{
icon: 'mdi-timer-sand',
count: stats[RequestDataStatus.InProgress],

View file

@ -173,6 +173,7 @@ function getEmployeeName(
:hsla-color="
{
[RequestDataStatus.Pending]: '--orange-5-hsl',
[RequestDataStatus.Ready]: '--yellow-6-hsl',
[RequestDataStatus.InProgress]: '--blue-6-hsl',
[RequestDataStatus.Completed]: '--green-8-hsl',
[RequestDataStatus.Canceled]: '--red-5-hsl',