refactor: add stats canceled
This commit is contained in:
parent
f394b09dd3
commit
05acfe9116
2 changed files with 7 additions and 6 deletions
|
|
@ -151,12 +151,12 @@ watch([() => pageState.inputSearch, () => pageState.statusFilter], () =>
|
||||||
label: 'requestList.status.Completed',
|
label: 'requestList.status.Completed',
|
||||||
color: 'light-green',
|
color: 'light-green',
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// icon: 'mdi-close-circle-outline',
|
icon: 'mdi-close-circle-outline',
|
||||||
// count: 0,
|
count: stats[RequestDataStatus.Canceled],
|
||||||
// label: 'requestList.status.Canceled',
|
label: 'requestList.status.Canceled',
|
||||||
// color: 'red',
|
color: 'red',
|
||||||
// },
|
},
|
||||||
]"
|
]"
|
||||||
:dark="$q.dark.isActive"
|
:dark="$q.dark.isActive"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ export const useRequestList = defineStore('request-list', () => {
|
||||||
[RequestDataStatus.Pending]: 0,
|
[RequestDataStatus.Pending]: 0,
|
||||||
[RequestDataStatus.InProgress]: 0,
|
[RequestDataStatus.InProgress]: 0,
|
||||||
[RequestDataStatus.Completed]: 0,
|
[RequestDataStatus.Completed]: 0,
|
||||||
|
[RequestDataStatus.Canceled]: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
type TypeFile =
|
type TypeFile =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue