applied all filters to the page

This commit is contained in:
kur0nek-o
2023-11-08 14:20:51 +07:00
parent 090712f45d
commit 66b7a004c0
49 changed files with 465 additions and 1 deletions

View File

@ -36,6 +36,8 @@
</template>
<script setup lang="ts">
import { onMounted } from 'vue'
import { useFiltersStore } from '@/stores/filters'
import { DxDataGrid } from 'devextreme-vue'
import { DxColumn, DxColumnFixing, DxExport, DxLoadPanel, DxPaging, DxScrolling, DxSearchPanel, DxSelection } from 'devextreme-vue/data-grid'
import { jsPDF } from 'jspdf'
@ -78,4 +80,12 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
console.log(data)
}
onMounted(() => {
const filters = useFiltersStore()
filters.setConfig({
type: 'type-2',
reportButton: true
})
})
</script>