Исправил переходы в штаб и статистику
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
|||||||
import AppLayout from '../../Layouts/AppLayout.vue'
|
import AppLayout from '../../Layouts/AppLayout.vue'
|
||||||
import SectionCard from '../../Components/SectionCard.vue'
|
import SectionCard from '../../Components/SectionCard.vue'
|
||||||
import DatePickerQuery from '../../Components/DatePickerQuery.vue'
|
import DatePickerQuery from '../../Components/DatePickerQuery.vue'
|
||||||
import { Link } from '@inertiajs/vue3'
|
import {Link, usePage} from '@inertiajs/vue3'
|
||||||
import VueApexCharts from 'vue3-apexcharts'
|
import VueApexCharts from 'vue3-apexcharts'
|
||||||
import {
|
import {
|
||||||
TbBed, TbUsers, TbScissors, TbSkull,
|
TbBed, TbUsers, TbScissors, TbSkull,
|
||||||
@@ -525,7 +525,7 @@ onUnmounted(() => {
|
|||||||
{{ isConnected ? 'WebSocket подключён' : 'WebSocket отключён' }}
|
{{ isConnected ? 'WebSocket подключён' : 'WebSocket отключён' }}
|
||||||
</NTooltip>
|
</NTooltip>
|
||||||
<NDivider vertical />
|
<NDivider vertical />
|
||||||
<NButton secondary :tag="Link" href="/statistic">Таблица</NButton>
|
<NButton secondary :tag="Link" :href="`/statistic?startAt=${usePage().props.date[0]}&endAt=${usePage().props.date[1]}`">Таблица</NButton>
|
||||||
</NSpace>
|
</NSpace>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ const buildReportHref = (departmentId, startAt, endAt) => {
|
|||||||
<NSpace align="center">
|
<NSpace align="center">
|
||||||
<DatePickerQuery :is-head-or-admin="isHeadOrAdmin" :is-show-current-date-switch="true" :date="date" :is-one-day="isOneDay" />
|
<DatePickerQuery :is-head-or-admin="isHeadOrAdmin" :is-show-current-date-switch="true" :date="date" :is-one-day="isOneDay" />
|
||||||
<NDivider vertical />
|
<NDivider vertical />
|
||||||
<Link href="/statistic/headquarters">
|
<Link :href="`/statistic/headquarters?startAt=${props.date[0]}&endAt=${props.date[1]}`">
|
||||||
<NButton type="primary" secondary>
|
<NButton type="primary" secondary>
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<TbBuildingSkyscraper />
|
<TbBuildingSkyscraper />
|
||||||
|
|||||||
Reference in New Issue
Block a user