implemented filters to modul gangguan
This commit is contained in:
		| @@ -22,6 +22,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' | ||||
| @@ -64,4 +66,12 @@ const onSelectionChanged = ({ selectedRowsData }: any) => { | ||||
|     console.log(data) | ||||
| } | ||||
|  | ||||
| onMounted(() => { | ||||
|     const filters = useFiltersStore() | ||||
|  | ||||
|     filters.setConfig({ | ||||
|         type: 'type-1', | ||||
|         reportButton: true | ||||
|     }) | ||||
| }) | ||||
| </script> | ||||
		Reference in New Issue
	
	Block a user