Роли, переделывание отчета, изменение на главной странице
This commit is contained in:
@@ -7,7 +7,7 @@ import {computed} from "vue";
|
||||
import {format} from "date-fns";
|
||||
import {ru} from "date-fns/locale";
|
||||
import {useNow} from "@vueuse/core";
|
||||
import {TbArticle, TbChartTreemap} from "vue-icons-plus/tb";
|
||||
import {TbArticle, TbChartTreemap, TbDoorExit} from "vue-icons-plus/tb";
|
||||
import {useReportStore} from "../Stores/report.js";
|
||||
|
||||
const authStore = useAuthStore()
|
||||
@@ -37,7 +37,7 @@ const currentDate = computed(() => {
|
||||
|
||||
<StartButton title="Заполнить сводную"
|
||||
description="Заполняется регулярно"
|
||||
href="/dashboard"
|
||||
href="/report"
|
||||
:icon="TbArticle"
|
||||
/>
|
||||
<StartButton title="Статистика моего отделения"
|
||||
@@ -45,9 +45,10 @@ const currentDate = computed(() => {
|
||||
:href="`/statistic?sent_at=${reportStore.timestampCurrentRange}&groupId=1`"
|
||||
:icon="TbChartTreemap"
|
||||
/>
|
||||
<StartButton title="Заполнить сводную"
|
||||
description="Заполняется регулярно"
|
||||
<StartButton title="Выйти из системы"
|
||||
description="Завершение работы с текущей учетной записью"
|
||||
href="/dashboard"
|
||||
:icon="TbDoorExit"
|
||||
/>
|
||||
</NFlex>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user