1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Починка adm7

This commit is contained in:
MoonTestUse1
2025-01-01 21:17:01 +06:00
parent 1194c2c1bd
commit 3295f57070
2 changed files with 19 additions and 17 deletions

View File

@@ -1,3 +1,4 @@
```vue
<template>
<div class="space-y-6">
<div class="flex justify-between items-center">
@@ -44,13 +45,13 @@
</template>
<script setup lang="ts">
import { ref, onMounted } from 'vue';
import { onMounted } from 'vue';
import { useRequests } from '@/composables/useRequests';
import { useStatistics } from '@/composables/useStatistics';
import { getRequestTypeLabel, getStatusLabel } from '@/utils/labels';
const { requests, fetchRequests } = useRequests();
const { statistics, statisticsCards, fetchStatistics } = useStatistics();
const { statisticsCards, fetchStatistics } = useStatistics();
const formatDate = (date: string) => {
return new Date(date).toLocaleString('ru-RU');
@@ -60,4 +61,5 @@ onMounted(() => {
fetchStatistics();
fetchRequests();
});
</script>
</script>
```