Merge branch 'dev-bagus' of https://github.com/defuj/eis into dev-defuj

This commit is contained in:
Dede Fuji Abdul 2024-04-01 21:35:08 +07:00
commit 0928a1ceb2
26 changed files with 223 additions and 98 deletions

View File

@ -28,7 +28,7 @@
> >
<DxGrouping :auto-expand-all="false" :context-menu-enabled="true" /> <DxGrouping :auto-expand-all="false" :context-menu-enabled="true" />
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -36,7 +36,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -593,7 +593,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -601,7 +601,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -1045,6 +1045,8 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -1064,11 +1066,7 @@ import {
DxGroupItem, DxGroupItem,
DxGrouping DxGrouping
} from 'devextreme-vue/data-grid' } from 'devextreme-vue/data-grid'
import { onMounted, ref, watch } from 'vue' import { onMounted, ref } from 'vue'
import { exportDataGrid as exportToExcel } from 'devextreme/excel_exporter'
import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import { requestGraphQl, queries } from '@/utils/api/api.graphql' import { requestGraphQl, queries } from '@/utils/api/api.graphql'
import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers' import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers'
import DetailDialog from '@/components/Dialogs/DetailDialog.vue' import DetailDialog from '@/components/Dialogs/DetailDialog.vue'
@ -1082,6 +1080,7 @@ import {
exportDetailToXLSX exportDetailToXLSX
} from '@/report/Gangguan/Rekap/RGangguan_ALL' } from '@/report/Gangguan/Rekap/RGangguan_ALL'
import { getDataRowGroup } from '@/utils/helper' import { getDataRowGroup } from '@/utils/helper'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -1326,6 +1325,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
const dataGridRef = ref<DxDataGrid | null>(null) const dataGridRef = ref<DxDataGrid | null>(null)
@ -1341,7 +1341,7 @@ const showDetail = () => {
if (agreeToShowDialog.value) { if (agreeToShowDialog.value) {
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }
} }

View File

@ -30,7 +30,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -38,7 +38,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
@ -174,7 +174,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -182,7 +182,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -481,12 +481,14 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import Filters from '@/components/Form/Filters.vue' import Filters from '@/components/Form/Filters.vue'
import Type1 from '@/components/Form/FiltersType/Type1.vue' import Type1 from '@/components/Form/FiltersType/Type1.vue'
import { onMounted, ref, watch } from 'vue' import { onMounted, ref } from 'vue'
import { DxDataGrid } from 'devextreme-vue' import { DxDataGrid } from 'devextreme-vue'
import { import {
DxColumn, DxColumn,
@ -515,6 +517,7 @@ import {
exportDetailToXLSX, exportDetailToXLSX,
exportDetailToPDF exportDetailToPDF
} from '@/report/Gangguan/Rekap/RGangguan_AlihPosko' } from '@/report/Gangguan/Rekap/RGangguan_AlihPosko'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -566,6 +569,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -578,7 +582,7 @@ const showDetail = () => {
clearSelection() clearSelection()
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }

View File

@ -8,6 +8,7 @@
> >
<Type1 @update:filters="(value) => (filters = value)" /> <Type1 @update:filters="(value) => (filters = value)" />
</Filters> </Filters>
<div id="data"> <div id="data">
<DxDataGrid <DxDataGrid
ref="dataGridRef" ref="dataGridRef"
@ -29,7 +30,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -37,7 +38,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
@ -169,7 +170,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -177,7 +178,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -467,12 +468,14 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import Filters from '@/components/Form/Filters.vue' import Filters from '@/components/Form/Filters.vue'
import Type1 from '@/components/Form/FiltersType/Type1.vue' import Type1 from '@/components/Form/FiltersType/Type1.vue'
import { onMounted, ref, watch } from 'vue' import { onMounted, ref } from 'vue'
import { DxDataGrid } from 'devextreme-vue' import { DxDataGrid } from 'devextreme-vue'
import { import {
DxColumn, DxColumn,
@ -500,6 +503,7 @@ import {
exportToXLSX, exportToXLSX,
exportDetailToXLSX exportDetailToXLSX
} from '@/report/Gangguan/Rekap/RGangguan_BerdasarMedia' } from '@/report/Gangguan/Rekap/RGangguan_BerdasarMedia'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -560,6 +564,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -573,7 +578,7 @@ const showDetail = () => {
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
if (date.value != '') { if (date.value != '') {
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }
} }

View File

@ -29,7 +29,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -37,7 +37,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
@ -207,7 +207,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -215,7 +215,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -414,6 +414,8 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -421,7 +423,7 @@ import DetailDialog from '@/components/Dialogs/DetailDialog.vue'
import InputText from '@/components/InputText.vue' import InputText from '@/components/InputText.vue'
import Filters from '@/components/Form/Filters.vue' import Filters from '@/components/Form/Filters.vue'
import Type1 from '@/components/Form/FiltersType/Type1.vue' import Type1 from '@/components/Form/FiltersType/Type1.vue'
import { onMounted, ref, watch } from 'vue' import { onMounted, ref } from 'vue'
import { DxDataGrid } from 'devextreme-vue' import { DxDataGrid } from 'devextreme-vue'
import { import {
DxColumn, DxColumn,
@ -445,6 +447,7 @@ import {
exportDetailToPDF, exportDetailToPDF,
exportDetailToXLSX exportDetailToXLSX
} from '@/report/Gangguan/Rekap/RGangguan_CTTM' } from '@/report/Gangguan/Rekap/RGangguan_CTTM'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -544,6 +547,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -556,7 +560,7 @@ const showDetail = () => {
clearSelection() clearSelection()
dataSubSelected.value = null dataSubSelected.value = null
if (monthSelected.value != null) { if (monthSelected.value != null) {
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }
} }

View File

@ -29,7 +29,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -37,7 +37,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
@ -455,7 +455,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -463,7 +463,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -753,6 +753,8 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -786,6 +788,7 @@ import {
exportDetailToPDF, exportDetailToPDF,
exportDetailToXLSX exportDetailToXLSX
} from '@/report/Gangguan/Rekap/RGangguan_DMAPKT' } from '@/report/Gangguan/Rekap/RGangguan_DMAPKT'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -839,6 +842,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -851,7 +855,7 @@ const showDetail = () => {
clearSelection() clearSelection()
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }

View File

@ -30,7 +30,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -38,7 +38,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -426,6 +426,8 @@
</template> </template>
</DxDataGrid> </DxDataGrid>
</div> </div>
<BufferDialog v-if="loadingData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -453,6 +455,7 @@ import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers'
import { exportToPDF, exportToXLSX } from '@/report/Gangguan/Rekap/RGangguan_JenisGangguan' import { exportToPDF, exportToXLSX } from '@/report/Gangguan/Rekap/RGangguan_JenisGangguan'
import { apolloClient } from '@/utils/api/api.graphql' import { apolloClient } from '@/utils/api/api.graphql'
import { provideApolloClient } from '@vue/apollo-composable' import { provideApolloClient } from '@vue/apollo-composable'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)

View File

@ -33,7 +33,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -41,7 +41,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -495,7 +495,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -503,7 +503,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -797,12 +797,14 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import Filters from '@/components/Form/Filters.vue' import Filters from '@/components/Form/Filters.vue'
import Type1 from '@/components/Form/FiltersType/Type1.vue' import Type1 from '@/components/Form/FiltersType/Type1.vue'
import { onMounted, ref, watch } from 'vue' import { onMounted, ref } from 'vue'
import { formatWaktu } from '@/components/Form/FiltersType/reference' import { formatWaktu } from '@/components/Form/FiltersType/reference'
import { DxDataGrid } from 'devextreme-vue' import { DxDataGrid } from 'devextreme-vue'
import { import {
@ -831,6 +833,7 @@ import {
exportDetailToPDF, exportDetailToPDF,
exportDetailToXLSX exportDetailToXLSX
} from '@/report/Gangguan/Rekap/RGangguan_JenisGangguanSE' } from '@/report/Gangguan/Rekap/RGangguan_JenisGangguanSE'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -956,6 +959,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -969,7 +973,7 @@ const showDetail = () => {
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
if (agreeToShowDialog.value) { if (agreeToShowDialog.value) {
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }
} }

View File

@ -30,7 +30,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -38,7 +38,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
@ -345,7 +345,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -353,7 +353,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -1099,12 +1099,14 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import Filters from '@/components/Form/Filters.vue' import Filters from '@/components/Form/Filters.vue'
import Type18 from '@/components/Form/FiltersType/Type18.vue' import Type18 from '@/components/Form/FiltersType/Type18.vue'
import { onMounted, ref, watch } from 'vue' import { onMounted, ref } from 'vue'
import { DxDataGrid } from 'devextreme-vue' import { DxDataGrid } from 'devextreme-vue'
import { import {
DxColumn, DxColumn,
@ -1135,6 +1137,8 @@ import {
} from '@/report/Gangguan/Rekap/RGangguan_KTI' } from '@/report/Gangguan/Rekap/RGangguan_KTI'
import { getMonthNumber } from '@/utils/texts' import { getMonthNumber } from '@/utils/texts'
import { getDataRowGroup } from '@/utils/helper' import { getDataRowGroup } from '@/utils/helper'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
const position = { of: '#data' } const position = { of: '#data' }
@ -1219,6 +1223,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -1232,7 +1237,7 @@ const showDetail = () => {
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
if (monthSelected.value != null) { if (monthSelected.value != null) {
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }
} }

View File

@ -33,7 +33,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -41,7 +41,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -582,7 +582,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -590,7 +590,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -880,6 +880,8 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -915,6 +917,7 @@ import {
exportDetailToPDF, exportDetailToPDF,
exportDetailToXLSX exportDetailToXLSX
} from '@/report/Gangguan/Rekap/RGangguan_PerPosko' } from '@/report/Gangguan/Rekap/RGangguan_PerPosko'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -978,6 +981,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -991,7 +995,7 @@ const showDetail = () => {
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
if (agreeToShowDialog.value) { if (agreeToShowDialog.value) {
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }
} }

View File

@ -30,7 +30,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -38,7 +38,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -592,7 +592,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -600,7 +600,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -890,13 +890,15 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import Filters from '@/components/Form/Filters.vue' import Filters from '@/components/Form/Filters.vue'
import Type9 from '@/components/Form/FiltersType/Type9.vue' import Type9 from '@/components/Form/FiltersType/Type9.vue'
import { formatWaktu } from '@/components/Form/FiltersType/reference' import { formatWaktu } from '@/components/Form/FiltersType/reference'
import { onMounted, ref, watch } from 'vue' import { onMounted, ref } from 'vue'
import { DxDataGrid } from 'devextreme-vue' import { DxDataGrid } from 'devextreme-vue'
import { import {
DxColumn, DxColumn,
@ -923,6 +925,7 @@ import {
exportToXLSX, exportToXLSX,
exportDetailToXLSX exportDetailToXLSX
} from '@/report/Gangguan/Rekap/RGangguan_PerRegu' } from '@/report/Gangguan/Rekap/RGangguan_PerRegu'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -989,6 +992,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -1002,7 +1006,7 @@ const showDetail = () => {
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
if (agreeToShowDialog.value) { if (agreeToShowDialog.value) {
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }
} }

View File

@ -30,7 +30,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -38,7 +38,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
@ -340,7 +340,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -348,7 +348,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -642,6 +642,8 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -673,6 +675,7 @@ import {
exportToXLSX, exportToXLSX,
exportDetailToXLSX exportDetailToXLSX
} from '@/report/Gangguan/Rekap/RGangguan_PerTanggal' } from '@/report/Gangguan/Rekap/RGangguan_PerTanggal'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -740,6 +743,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -753,7 +757,7 @@ const showDetail = () => {
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
if (agreeToShowDialog.value) { if (agreeToShowDialog.value) {
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }
} }

View File

@ -30,7 +30,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -38,7 +38,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
@ -309,7 +309,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -317,7 +317,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -643,6 +643,8 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -676,6 +678,7 @@ import {
exportDetailToPDF, exportDetailToPDF,
exportDetailToXLSX exportDetailToXLSX
} from '@/report/Gangguan/Rekap/RGangguan_RatingPerPosko' } from '@/report/Gangguan/Rekap/RGangguan_RatingPerPosko'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -741,6 +744,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -754,7 +758,7 @@ const showDetail = () => {
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
if (agreeToShowDialog.value) { if (agreeToShowDialog.value) {
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }
} }

View File

@ -8,6 +8,7 @@
> >
<Type1 @update:filters="(value) => (filters = value)" /> <Type1 @update:filters="(value) => (filters = value)" />
</Filters> </Filters>
<div id="data"> <div id="data">
<DxDataGrid <DxDataGrid
ref="dataGridRef" ref="dataGridRef"
@ -27,7 +28,7 @@
<DxSelection mode="single" /> <DxSelection mode="single" />
<DxPaging :enabled="false" /> <DxPaging :enabled="false" />
<DxScrolling column-rendering-mode="virtual" mode="virtual" /> <DxScrolling column-rendering-mode="virtual" mode="virtual" />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -35,7 +36,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingData" v-model:visible="loadingData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
@ -299,7 +300,7 @@
:show-info="true" :show-info="true"
:show-navigation-buttons="true" :show-navigation-buttons="true"
/> />
<DxLoadPanel <!-- <DxLoadPanel
shading-color="rgba(0,0,0,0.4)" shading-color="rgba(0,0,0,0.4)"
:position="position" :position="position"
:show-indicator="showIndicator" :show-indicator="showIndicator"
@ -307,7 +308,7 @@
:shading="shading" :shading="shading"
v-model:visible="loadingSubData" v-model:visible="loadingSubData"
:enabled="true" :enabled="true"
/> /> -->
<DxSearchPanel :visible="true" :highlight-case-sensitive="true" /> <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
<DxExport <DxExport
:enabled="true" :enabled="true"
@ -633,6 +634,8 @@
</div> </div>
</div> </div>
</DetailDialog> </DetailDialog>
<BufferDialog v-if="loadingData || loadingSubData" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -665,6 +668,7 @@ import {
exportToXLSX, exportToXLSX,
exportDetailToXLSX exportDetailToXLSX
} from '@/report/Gangguan/Rekap/RGangguan_RatingPerRegu' } from '@/report/Gangguan/Rekap/RGangguan_RatingPerRegu'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
const client = apolloClient() const client = apolloClient()
provideApolloClient(client) provideApolloClient(client)
@ -734,6 +738,7 @@ const getDetail = async () => {
}) })
.finally(() => { .finally(() => {
loadingSubData.value = false loadingSubData.value = false
dialogDetail.value = true
}) })
} }
@ -747,7 +752,7 @@ const showDetail = () => {
dataSub.value = [] dataSub.value = []
dataSubSelected.value = null dataSubSelected.value = null
if (agreeToShowDialog.value) { if (agreeToShowDialog.value) {
dialogDetail.value = true // dialogDetail.value = true
getDetail() getDetail()
} }
} }

View File

@ -687,7 +687,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -719,7 +722,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -440,7 +440,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -472,7 +475,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -444,7 +444,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -476,7 +479,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -455,7 +455,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -487,7 +490,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -602,7 +602,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -634,7 +637,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -538,7 +538,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)

View File

@ -655,7 +655,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -687,7 +690,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -521,7 +521,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -553,7 +556,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -635,7 +635,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -667,7 +670,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -706,7 +706,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -738,7 +741,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -700,7 +700,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -732,7 +735,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -451,7 +451,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 8, column: 1 } topLeftCell: { row: 8, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -483,7 +486,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(

View File

@ -440,7 +440,10 @@ const exportToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 10, column: 1 } topLeftCell: { row: 10, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`) saveAs(new Blob([buffer], { type: 'application/octet-stream' }), `Laporan ${reportName}.xlsx`)
@ -472,7 +475,10 @@ const exportDetailToXLSX = (reportMeta: any, e: any) => {
component: e.component, component: e.component,
worksheet, worksheet,
autoFilterEnabled: true, autoFilterEnabled: true,
topLeftCell: { row: 6, column: 1 } topLeftCell: { row: 6, column: 1 },
loadPanel: {
enabled: false
}
}).then(() => { }).then(() => {
workbook.xlsx.writeBuffer().then((buffer: any) => { workbook.xlsx.writeBuffer().then((buffer: any) => {
saveAs( saveAs(