fix: years in monalisa type 2

This commit is contained in:
kur0nek-o
2024-04-23 23:28:05 +07:00
parent 428292372e
commit aa16111cc0
3 changed files with 17 additions and 6 deletions

View File

@ -268,7 +268,7 @@
<script setup lang="ts">
import Filters from '@/components/Form/Filters.vue'
import Type2 from '@/components/Form/FiltersType/Type2.vue'
import { onMounted, ref } from 'vue'
import { onMounted, ref, watch } from 'vue'
import { DxDataGrid } from 'devextreme-vue'
import { getMonthName } from '@/utils/texts'
import {
@ -323,6 +323,7 @@ const reportMeta = ref({
currentYear: new Date().getFullYear(),
lastYear: new Date().getFullYear() - 1
})
const filters: any = ref()
const grouping = ref<any[]>([
{
@ -566,7 +567,6 @@ const onDataSubSelectionChanged = ({ selectedRowsData }: any) => {
dataSubSelected.value = data
}
const filters = ref()
onMounted(() => {
if (import.meta.env.DEV) {
data.value = [