Update MonalisaGR_GangguanPerJenisGangguan.vue, MonalisaGR_GangguanBelumSelesai.vue, and MonalisaGR_JumlahDDRPTRCTGangguan.vue

This commit is contained in:
Dede Fuji Abdul
2024-03-01 09:37:08 +07:00
parent 3efd257c70
commit 5068ba649d
8 changed files with 113 additions and 103 deletions

View File

@ -23,10 +23,12 @@
css-class="custom-table-column" />
<DxColumn :width="170" alignment="center" data-field="jumlah" caption="Jumlah" css-class="custom-table-column" />
<DxColumn :width="120" alignment="center" data-field="persen" caption="%" css-class="custom-table-column"
cell-template="percent" />
data-type="number" cell-template="percent" />
<template #percent="data">
{{ data.text }}%
<template #percent="{ data }">
<p class="cursor-pointer">
{{ data.text }}%
</p>
</template>
</DxDataGrid>
</div>
@ -54,9 +56,9 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
const tahunSekarang = ref(new Date().getFullYear())
const bulanSekarang = ref(new Date().getMonth())
const tahunLalu = ref(tahunSekarang.value - 1)
const currentYear = ref(new Date().getFullYear())
const currentMonth = ref(new Date().getMonth())
const lastYear = ref(currentYear.value - 1)
const position = { of: '#data' }
const showIndicator = ref(true)
const shading = ref(true)