Refactor code to fix variable names and improve readability
This commit is contained in:
		| @@ -508,7 +508,7 @@ | ||||
| <script setup lang="ts"> | ||||
| import Filters from '@/components/Form/Filters.vue' | ||||
| import Type2 from '@/components/Form/FiltersType/Type2.vue' | ||||
| import { onMounted, ref, watch } from 'vue' | ||||
| import { onMounted, ref } from 'vue' | ||||
| import { DxDataGrid } from 'devextreme-vue' | ||||
| import { | ||||
|   DxColumn, | ||||
| @@ -516,7 +516,6 @@ import { | ||||
|   DxExport, | ||||
|   DxGroupItem, | ||||
|   DxGrouping, | ||||
|   DxLoadPanel, | ||||
|   DxPager, | ||||
|   DxPaging, | ||||
|   DxScrolling, | ||||
| @@ -587,7 +586,7 @@ const filterData = async (params: any) => { | ||||
|   lastYear.value = tahun.id - 1 | ||||
|  | ||||
|   const query = { | ||||
|     namaRegional: regional.name == 'Semua Regional' ? '' : regional.nama_regional, | ||||
|     namaRegional: regional.name == 'Semua Regional' ? '' : regional.name, | ||||
|     idUlp: ulp ? ulp.id : 0, | ||||
|     idUid: uid ? uid.id : 0, | ||||
|     idUp3: up3 ? up3.id : 0, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user