Fix data source in RKeluhan_ALL.vue and add id field in api.graphql.ts

This commit is contained in:
Dede Fuji Abdul
2024-03-15 19:19:48 +07:00
parent 27da05087c
commit e08bbb9318
4 changed files with 1007 additions and 67 deletions

View File

@ -429,7 +429,7 @@
<div class="p-4 bg-white rounded-xl lg:mr-4">
<DxDataGrid
class="max-h-[calc(100vh-140px)]"
:data-source="data"
:data-source="dataSub"
:show-column-lines="true"
:show-row-lines="false"
:show-borders="true"
@ -470,9 +470,7 @@
css-class="custom-table-column"
:width="50"
alignment="center"
:calculateCellValue="
(item: any) => dummyData.gangguan.rekap.detailGangguan.findIndex((i) => i == item) + 1
"
:calculateCellValue="(item: any) => dataSub.findIndex((i) => i == item) + 1"
data-type="number"
caption="No"
cell-template="formatNumber"