Update MonalisaGR_GangguanPerJenisGangguan.vue, MonalisaGR_GangguanBelumSelesai.vue, and MonalisaGR_JumlahDDRPTRCTGangguan.vue
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user